From c97e2be9d5a44198a296988ce0bcc39c199ef572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 28 Dec 2023 17:27:22 +0100 Subject: [PATCH 1/2] color simplification and darkbrewery snippet color fix --- .../homebrew/editor/snippetbar/snippetbar.less | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippetbar.less b/client/homebrew/editor/snippetbar/snippetbar.less index 8dc6a8b9d..5d9532fc4 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.less +++ b/client/homebrew/editor/snippetbar/snippetbar.less @@ -4,6 +4,8 @@ position : relative; height : @menuHeight; background-color : #ddd; + color : black; + .editors{ position : absolute; display : flex; @@ -34,7 +36,7 @@ font-size : 0.75em; color : grey; &.active{ - color : black; + color : inherit; } } &.redo{ @@ -42,29 +44,23 @@ font-size : 0.75em; color : grey; &.active{ - color : black; + color : inherit; } } &.foldAll{ .tooltipLeft('Fold All'); font-size : 0.75em; - color : grey; - &.active{ - color : black; - } + color : inherit; } &.unfoldAll{ .tooltipLeft('Unfold All'); font-size : 0.75em; - color : grey; - &.active{ - color : black; - } + color : inherit; } &.editorTheme{ .tooltipLeft('Editor Themes'); font-size : 0.75em; - color : black; + color : inherit; &.active{ color : white; background-color: black; From 76d17baf7eb0ff1ed42a388d04b91f1749527ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 28 Dec 2023 17:31:06 +0100 Subject: [PATCH 2/2] divider color to currentColor keyword --- client/homebrew/editor/snippetbar/snippetbar.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippetbar.less b/client/homebrew/editor/snippetbar/snippetbar.less index 5d9532fc4..7d00229b4 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.less +++ b/client/homebrew/editor/snippetbar/snippetbar.less @@ -67,7 +67,7 @@ } } &.divider { - background: linear-gradient(#000, #000) no-repeat center/1px 100%; + background: linear-gradient(currentColor, currentColor) no-repeat center/1px 100%; width: 5px; &:hover{ background-color: inherit; @@ -110,7 +110,7 @@ .tooltipLeft("Edit Brew Properties"); } .snippetGroup{ - border-right : 1px solid black; + border-right : 1px solid currentColor; &:hover{ &>.dropdown{ visibility : visible;