diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-11 11:27:59 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-11 11:27:59 +0200 |
commit | 223046b079e54b0c811b5203bc40ad81f34198b9 (patch) | |
tree | d86208963b5a764c02526316a8b89c7359467214 /apps/theming/css | |
parent | 0cc780ec0a94e6ea2103ee667b111cc38fe81f12 (diff) | |
download | nextcloud-server-223046b079e54b0c811b5203bc40ad81f34198b9.tar.gz nextcloud-server-223046b079e54b0c811b5203bc40ad81f34198b9.zip |
Create color-primary-light variable
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/css')
-rw-r--r-- | apps/theming/css/theming.scss | 3 |
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); } |