aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorfnuesse <felix.nuesse@t-online.de>2018-12-07 18:33:05 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-02-01 00:59:05 +0100
commit4b32e1c6ab26409b7b4e6fb4e37d032af28298c9 (patch)
tree5f84eb4d4df093f23106eec0c2f6e5439a6c2c25 /core
parentad407f64bd64834f425de7cfb0db781ec634a44f (diff)
downloadnextcloud-server-4b32e1c6ab26409b7b4e6fb4e37d032af28298c9.tar.gz
nextcloud-server-4b32e1c6ab26409b7b4e6fb4e37d032af28298c9.zip
Extract variable for yellow color in icons
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'core')
-rw-r--r--core/css/icons.scss4
-rw-r--r--core/css/variables.scss1
2 files changed, 3 insertions, 2 deletions
diff --git a/core/css/icons.scss b/core/css/icons.scss
index d761c3a974f..222b505b3a6 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