diff options
author | fnuesse <felix.nuesse@t-online.de> | 2018-12-07 18:33:05 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-02-01 16:21:23 +0100 |
commit | 150d15ba3963fa35d0923a49b908168ea1dda64c (patch) | |
tree | 66df24bbc16b4080e42a25019f8dfcec4acd2e54 /core/css | |
parent | df01d12d91f3ca3489f5f628bcd81bee27db3195 (diff) | |
download | nextcloud-server-150d15ba3963fa35d0923a49b908168ea1dda64c.tar.gz nextcloud-server-150d15ba3963fa35d0923a49b908168ea1dda64c.zip |
Extract variable for yellow color in icons
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/icons.scss | 4 | ||||
-rw-r--r-- | core/css/variables.scss | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/css/icons.scss b/core/css/icons.scss index 99b1dc9c215..d0915f357d4 100644 --- a/core/css/icons.scss +++ b/core/css/icons.scss @@ -282,13 +282,13 @@ img, object, video, button, textarea, input, select, div[contenteditable='true'] &:focus { @include icon-color('star', 'actions', $color-black, 1, true); } - @include icon-color('star-dark', 'actions', 'FC0', 1, true); + @include icon-color('star-dark', 'actions', $color-yellow, 1, true); } .icon-star { &:hover, &:focus { - @include icon-color('star-dark', 'actions', 'FC0', 1, true); + @include icon-color('star-dark', 'actions', $color-yellow, 1, true); } } diff --git a/core/css/variables.scss b/core/css/variables.scss index 404fa8743f2..d3592032e57 100644 --- a/core/css/variables.scss +++ b/core/css/variables.scss @@ -53,6 +53,7 @@ $color-success: #46ba61; // used for svg $color-white: #fff; $color-black: #000; +$color-yellow: #FC0; // rgb(118, 118, 118) / #767676 // min. color contrast for normal text on white background according to WCAG AA |