Created
October 16, 2016 16:06
-
-
Save subesokun/04909f8ff45fbc28faad016559adc267 to your computer and use it in GitHub Desktop.
Atom tree-view-git-status branch styling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tree-view-git-status.git-branch-production { | |
color: red; | |
text-shadow: -1px 0px 8px rgba(255, 12, 12, 1); | |
} | |
.tree-view-git-status.git-branch-master .branch-label { | |
color: gold; | |
text-shadow: -1px 0px 8px rgba(255, 215, 0, 1); | |
} |
you can update the code to normalize the branch name to something that works for css. for example transform /
-> -
https://github.com/subesokun/atom-tree-view-git-status/blob/b6f9c3ae576c8d3016126cdeb0a195572cf35c8d/lib/treeviewui.coffee#L250
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mh right, "/" might cause some issues with the CSS selectors. Maybe some special handling needs to be implemented to strip away those characters.