Skip to content

Instantly share code, notes, and snippets.

@opattison
Last active March 30, 2016 02:53
Show Gist options
  • Select an option

  • Save opattison/76113e2ed1289700f5d2ec864038e5c3 to your computer and use it in GitHub Desktop.

Select an option

Save opattison/76113e2ed1289700f5d2ec864038e5c3 to your computer and use it in GitHub Desktop.

Revisions

  1. opattison revised this gist Mar 30, 2016. 1 changed file with 7 additions and 3 deletions.
    10 changes: 7 additions & 3 deletions atom-git-color-override.less
    Original file line number Diff line number Diff line change
    @@ -1,18 +1,22 @@
    // 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: hsl(22, 50%, 44%)!important;
    color: @color-status-modified!important;
    }
    .status-added,
    .list-tree li.list-nested-item.status-added > .list-item {
    color: hsl(144, 50%, 35%)!important;
    color: @color-status-added!important;
    }
    .status-ignored,
    .list-tree li.list-nested-item.status-ignored > .list-item {
    color: hsl(200, 3%, 55%)!important;
    color: @color-status-ignored!important;
    }
    }

  2. opattison renamed this gist Mar 30, 2016. 1 changed file with 17 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    // Custom git override styles for Atom tree view
    // include in user `styles.less` “your stylesheet”

    // Custom git override styles for Atom tree view
    .tree-view {
    .status-modified,
    .list-tree li.list-nested-item.status-modified > .list-item {
    @@ -13,4 +14,19 @@
    .list-tree li.list-nested-item.status-ignored > .list-item {
    color: hsl(200, 3%, 55%)!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;
    }
    }
  3. opattison created this gist Mar 30, 2016.
    16 changes: 16 additions & 0 deletions atom-tree-view-git-color-override.less
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    // Custom git override styles for Atom tree view
    // include in user `styles.less` “your stylesheet”
    .tree-view {
    .status-modified,
    .list-tree li.list-nested-item.status-modified > .list-item {
    color: hsl(22, 50%, 44%)!important;
    }
    .status-added,
    .list-tree li.list-nested-item.status-added > .list-item {
    color: hsl(144, 50%, 35%)!important;
    }
    .status-ignored,
    .list-tree li.list-nested-item.status-ignored > .list-item {
    color: hsl(200, 3%, 55%)!important;
    }
    }