Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-09-11 12:27:59 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-09-11 12:27:59 +0300
commit223046b079e54b0c811b5203bc40ad81f34198b9 (patch)
treed86208963b5a764c02526316a8b89c7359467214 /apps/theming/css
parent0cc780ec0a94e6ea2103ee667b111cc38fe81f12 (diff)
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.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);
}