aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-09-11 11:27:59 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-09-11 11:27:59 +0200
commit223046b079e54b0c811b5203bc40ad81f34198b9 (patch)
treed86208963b5a764c02526316a8b89c7359467214 /core
parent0cc780ec0a94e6ea2103ee667b111cc38fe81f12 (diff)
downloadnextcloud-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 'core')
-rw-r--r--core/css/css-variables.scss1
-rw-r--r--core/css/variables.scss1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/css/css-variables.scss b/core/css/css-variables.scss
index 9db5337468e..e369874dec7 100644
--- a/core/css/css-variables.scss
+++ b/core/css/css-variables.scss
@@ -11,6 +11,7 @@
--color-background-darker: $color-background-darker;
--color-primary: $color-primary;
+ --color-primary-light: $color-primary-light;
--color-primary-text: $color-primary-text;
--color-primary-text-dark: $color-primary-text-dark;
--color-primary-element: $color-primary-element;
diff --git a/core/css/variables.scss b/core/css/variables.scss
index 8a13121ba7d..114cbd83370 100644
--- a/core/css/variables.scss
+++ b/core/css/variables.scss
@@ -40,6 +40,7 @@ $color-background-dark: nc-darken($color-main-background, 7%) !default;
$color-background-darker: nc-darken($color-main-background, 14%) !default;
$color-primary: #0082c9 !default;
+$color-primary-light: mix($color-primary, $color-main-background, 10%) !default;
$color-primary-text: #ffffff !default;
// do not use nc-darken/lighten in case of overriding because
// primary-text is independent of color-main-text