diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-03-14 08:51:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 08:51:21 +0100 |
commit | 804a15115d9d06b7dbc01496ae066cabba82d6e5 (patch) | |
tree | fb5474deb85c913c8edead1dd0d9608be2be667b | |
parent | ac10ff01cf87047aab8eaf06a43f088bb7d31910 (diff) | |
parent | e2bc47d6f5599607366c398efc149b5a82eefa42 (diff) | |
download | nextcloud-server-804a15115d9d06b7dbc01496ae066cabba82d6e5.tar.gz nextcloud-server-804a15115d9d06b7dbc01496ae066cabba82d6e5.zip |
Merge pull request #14670 from nextcloud/bugfix/noid/theming-css-vars
Use SCSS variables since CSS vars are not loaded on public pages
-rw-r--r-- | apps/theming/css/theming.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss index fdcc9c83588..7db64924f34 100644 --- a/apps/theming/css/theming.scss +++ b/apps/theming/css/theming.scss @@ -69,7 +69,7 @@ $invert: luma($color-primary) > 0.6; label, p, #alternative-logins legend { - color: var(--color-primary-text); + color: $color-primary-text; } input[type='checkbox'].checkbox--white + label:before { border-color: nc-darken($color-primary-element, 40%) !important; @@ -86,7 +86,7 @@ $invert: luma($color-primary) > 0.6; } /* Always give primary button a border for light primary colors */ .primary { - border-color: var(--color-border) !important; + border-color: $color-border !important; } } @else { #appmenu:not(.inverted) svg { @@ -193,7 +193,7 @@ input.primary, #body-login { a, label, p { - color: var(--color-primary-text); + color: $color-primary-text; } } |