Comments (13)
👍 I'm using a solarized dark color scheme, and I can only see the portion of my git-radar
prompt that's within the parentheses.
from git-radar.
I use the built in colours that are set by your terminal, so in theory it's due to your terminal having the same colour set for the background as the black colour.
hmm, I should probably change the git:(
part to something other than the "bold black" colour and the branch name to reset instead of "bold white" (which in my molokai colour scheme is light grey.
from git-radar.
Am I right in assuming you use: https://github.com/tomislav/osx-terminal.app-colors-solarized? I just installed it and found that it's put the darker colours (content tones, dark black, etc) in to the "bright" colour slots. I'll try to do up some colour changes that support it but most have the colours become lighter in the "bright" slots so it might not marry up quite right.
from git-radar.
@michaeldfallen yes, I use Solarized Dark from the official iTerm package.
from git-radar.
@michaeldfallen Actually, I'm using https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized It's unclear if there's a difference (other than one of them appearing to use base 64 encoding (I think?) to encode colors vs specifying RGB).
from git-radar.
I'll add an alternative color scheme controlled by args. Might take a while to get it looking nice though.
from git-radar.
Would it be easier to have configurable colors via, say, ~/.git-radarrc
(or similar)? Then you could specify semantic colors, eg:
export GIT_RADAR_BRANCH_NAME_COLOR="\[033[36m\]" # cyan
export GIT_RADAR_UNTRACKED_COLOR="\e[97m" #white
# etc
from git-radar.
+1 on configurable colors, particularly for folks who are various types of color blind.
from git-radar.
@jedsmith the colours are your terminals colours. So if you are colour blind it should pick up the colours you've chosen for your terminal, which I would assume are colourblind safe? Are there terminal themes that are colourblind safe? http://ciembor.github.io/4bit/ is quite useful for creating a theme so could help.
from git-radar.
@jackmaney yeah you're right, having each part that can be coloured as a configurable value, either through args / env / rc file is probably the best way to go 👍
from git-radar.
You're using green and red for staged/unstaged changes, which isn't colorblind friendly at all. I've defined these colors in my .gitconfig
to be cyan and red, respectively. Is there a reason you're not pulling these preferences from a user's .gitconfig
?
from git-radar.
@Droogans No, I'm using the colour that your terminal claims is green
. If you're colourblind you need to redefine the colours you can't see to something else that you can see. It'll still be considered green
and git-radar will still use it, but you'll be able to see it.
So while you have set those colours in .gitconfig
you need to set them in your terminal so that any process that asks for green
will get the colour you can see.
from git-radar.
I believe that #39 has solved this for you.
from git-radar.
Related Issues (20)
- is_cwd_a_dot_git_directory:1: = not found HOT 7
- Promote new Maintainers HOT 4
- Calling Formula.sha1 is deprecated! HOT 4
- Calling Formula.sha1 is deprecated! HOT 2
- Not upstream indicator taking up too much space HOT 12
- problem with fish HOT 2
- Weird issue with Makefile HOT 2
- Running git-radar --bash is slow HOT 3
- Fish - LS is completely bugged HOT 2
- command overlaps prompt with stash HOT 1
- odd sed error on branches named with multiple / characters HOT 7
- have to pull twice to update a work branch HOT 22
- Made a new lightweight stable version of git-radar HOT 2
- weird characters show up with git-radar on mac os x HOT 8
- fatal error messages with git-radar on local untracked branches HOT 11
- Unhandled git error when a tracked upstream branch is removed HOT 2
- 0.6 upgrade issue HOT 3
- feature req: color prompt red when folder not writable HOT 1
- Reduce the number of binaries needed to be added to the path HOT 3
- cd .git/ produces fatal: /usr/lib/git-core/git-stash cannot be used without a working tree HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-radar.