From 7011c6da62fadfb9baf48018fd35b81b89ecd075 Mon Sep 17 00:00:00 2001 From: simurai Date: Fri, 3 Mar 2017 23:50:18 +0900 Subject: [PATCH] Tweak selection color --- styles/ui-variables-custom.less | 6 +++--- styles/ui-variables.less | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/styles/ui-variables-custom.less b/styles/ui-variables-custom.less index a3c0b36..be60bfe 100644 --- a/styles/ui-variables-custom.less +++ b/styles/ui-variables-custom.less @@ -19,7 +19,7 @@ // Main colors ----------------- @ui-fg: hsl(@ui-hue, @ui-saturation, @ui-lightness - 72%); @ui-bg: hsl(@ui-hue, @ui-saturation, @ui-lightness); // normalized @syntax-background-color -@ui-border: darken(@base-background-color, 16%); +@ui-border: darken(@level-3-color, 6%); @@ -43,7 +43,7 @@ // Background (Custom) ----------------- @level-1-color: lighten(@base-background-color, 4%); @level-2-color: @base-background-color; -@level-3-color: darken(@base-background-color, 8%); +@level-3-color: darken(@base-background-color, 6%); // Accent (Custom) ----------------- @@ -88,7 +88,7 @@ @tab-text-color-editor: contrast(@ui-syntax-color, lighten(@ui-syntax-color, 70%), @text-color-highlight ); @tab-background-color-editor: @ui-syntax-color; -@tree-view-background-selected-color: darken(@level-3-color, 5%); +@tree-view-background-selected-color: @background-color-selected; @tooltip-background-color: @accent-bg-color; @tooltip-text-color: @accent-bg-text-color; diff --git a/styles/ui-variables.less b/styles/ui-variables.less index 3332900..b22e04b 100644 --- a/styles/ui-variables.less +++ b/styles/ui-variables.less @@ -12,9 +12,9 @@ // Text ----------------- @text-color: @ui-fg; -@text-color-subtle: lighten(@text-color, 32%); -@text-color-highlight: darken(@text-color, 10%); -@text-color-selected: darken(@text-color-highlight, 10%); +@text-color-subtle: lighten(@text-color, 30%); +@text-color-highlight: darken(@text-color, 12%); +@text-color-selected: darken(@text-color-highlight, 12%); @text-color-info: hsl(208, 100%, 54%); @text-color-success: hsl(132, 60%, 44%); @@ -28,8 +28,8 @@ @background-color-warning: hsl( 40, 60%, 48%); @background-color-error: hsl( 5, 72%, 56%); -@background-color-highlight: darken(@base-background-color, 4%); -@background-color-selected: darken(@base-background-color, 6%); +@background-color-highlight: darken(@level-3-color, 2%); +@background-color-selected: darken(@level-3-color, 6%); @app-background-color: @level-3-color;