From 7cb6fff6807160dcf532a81106a7e5c4936e212c Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Wed, 8 Feb 2017 12:46:45 +0800 Subject: [PATCH] status mods of dirs no longer affect files --- styles/git.less | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/styles/git.less b/styles/git.less index 76437fa..5e3a749 100644 --- a/styles/git.less +++ b/styles/git.less @@ -4,9 +4,39 @@ // Used to color git status -.status { color: @text-color; } -.status-added { color: @text-color-success; } // green -.status-ignored { color: @text-color-subtle; } // faded -.status-modified { color: @text-color-warning; } // orange -.status-removed { color: @text-color-error; } // red -.status-renamed { color: @text-color-info; } // blue +.status { + > .header > .name, + > .name { + color: @text-color; + } +} +.status-added { + > .header > .name, + > .name { + color: @text-color-success; // green + } +} +.status-ignored { + > .header > .name, + > .name { + color: @text-color-subtle; // faded + } +} +.status-modified { + > .header > .name, + > .name { + color: @text-color-warning; // orange + } +} +.status-removed { + > .header > .name, + > .name { + color: @text-color-error; // red + } +} +.status-renamed { + > .header > .name, + > .name { + color: @text-color-info; // blue + } +}