summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2019-09-17 15:54:35 +0200
committerGitHub <noreply@github.com>2019-09-17 15:54:35 +0200
commit89880fb2c4cb4f7bf5dd51a6983ddebcab01ead9 (patch)
tree4bbe6d1f9b9aac89516a7fbc31f77a7552577630 /apps
parent8cc41974a43ce893fee58b44ac8c213461eaa898 (diff)
parent223046b079e54b0c811b5203bc40ad81f34198b9 (diff)
downloadnextcloud-server-89880fb2c4cb4f7bf5dd51a6983ddebcab01ead9.tar.gz
nextcloud-server-89880fb2c4cb4f7bf5dd51a6983ddebcab01ead9.zip
Merge pull request #17098 from nextcloud/fix/css/variables-color-primary-light
Create color-primary-light variable
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/css/theming.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index 4d63674e35e..f21f00f438a 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -31,6 +31,9 @@ $invert: luma($color-primary) > 0.6;
}
@if ($invert) {
+ // too bright, use dark text to mix the primary
+ $color-primary-light: mix($color-primary, $color-main-text, 10%);
+
#appmenu:not(.inverted) svg {
filter: invert(1);
}