From 62044a579597586aa654d88ac10847a199e42f1e Mon Sep 17 00:00:00 2001 From: Wim Looman Date: Fri, 16 Oct 2020 11:56:41 +0200 Subject: [PATCH] Use specific colors rather than lighten/darken lighten/darken only appear to apply when called from color properties, not for arbitrary variables. --- templates/style/_themes.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/style/_themes.scss b/templates/style/_themes.scss index 5b53c67ed..f70c8446c 100644 --- a/templates/style/_themes.scss +++ b/templates/style/_themes.scss @@ -2,11 +2,11 @@ html { --color-background-code: #f5f5f5; --color-background: #fff; - --color-border-light: lighten(#ddd, 5%); + --color-border-light: #eaeaea; --color-border: #ddd; --color-doc-link-background: #333; --color-doc-link-hover: #3061f3; - --color-error-hover: darken(#d93d3d, 10%); + --color-error-hover: #be2525; --color-error: #d93d3d; --color-macro: #068000; --color-menu-border: #cdcdcd; @@ -16,8 +16,8 @@ html { --color-struct: #df3600; --color-type: #e57300; --color-url: #4d76ae; - --color-warn-background: lighten(#e57300, 45%); - --color-warn-hover: darken(#e57300, 10%); + --color-warn-background: #ffe5cc; + --color-warn-hover: #b25900; --color-warn: #e57300; }