summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authormarco <marcoambrosini@pm.me>2021-08-24 18:18:11 +0200
committermarco <marcoambrosini@pm.me>2021-09-30 09:41:43 +0200
commitf6e62b19d1a6cd0e04b1478d339bbca6a4cd6155 (patch)
tree62e8b50f381dc895ae873cf6002d6fb4f7f59acf /apps/theming
parent231b5edc7b2955a028e63c28a2cd6ce89c782437 (diff)
downloadnextcloud-server-f6e62b19d1a6cd0e04b1478d339bbca6a4cd6155.tar.gz
nextcloud-server-f6e62b19d1a6cd0e04b1478d339bbca6a4cd6155.zip
Add new variables for buttons
Signed-off-by: marco <marcoambrosini@pm.me>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/css/theming.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index 2b9d12d2cd4..5117ff753c2 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -260,6 +260,9 @@ input.primary,
/** Handle primary buttons for bright colors */
@if (luma($color-primary) > 0.8) {
+ :root {
+ --color-primary-light-text: var(--color-primary-text);
+ }
select,
button, .button,
input:not([type='range']),
@@ -278,7 +281,6 @@ input.primary,
}
}
}
-
}
@if ($color-primary == #ffffff) {