Skip to content

Instantly share code, notes, and snippets.

@opattison
Last active March 30, 2016 02:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save opattison/76113e2ed1289700f5d2ec864038e5c3 to your computer and use it in GitHub Desktop.
Save opattison/76113e2ed1289700f5d2ec864038e5c3 to your computer and use it in GitHub Desktop.
Custom git override styles for Atom tree view and tabs
// include in user `styles.less` “your stylesheet”
@color-status-modified: hsl(22, 50%, 44%);
@color-status-added: hsl(144, 50%, 35%);
@color-status-ignored: hsl(200, 3%, 55%);
// Custom git override styles for Atom tree view
.tree-view {
.status-modified,
.list-tree li.list-nested-item.status-modified > .list-item {
color: @color-status-modified!important;
}
.status-added,
.list-tree li.list-nested-item.status-added > .list-item {
color: @color-status-added!important;
}
.status-ignored,
.list-tree li.list-nested-item.status-ignored > .list-item {
color: @color-status-ignored!important;
}
}
// Custom git override styles for Atom tabs
.tab-bar {
.status-modified {
color: @color-status-modified;
}
.status-added {
color: @color-status-added;
}
.status-ignored {
color: @color-status-ignored;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment