aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/icons.scss
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2022-04-01 15:19:15 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-21 09:31:06 +0200
commita1aaaaa0c86c002a0a406464724b8a0236fe8406 (patch)
treed578929dbff3330c6c00f3068453cd5b943d8a52 /core/css/icons.scss
parent738fcba51a4947213b8b240ebbecc948308340cb (diff)
downloadnextcloud-server-a1aaaaa0c86c002a0a406464724b8a0236fe8406.tar.gz
nextcloud-server-a1aaaaa0c86c002a0a406464724b8a0236fe8406.zip
Update and fix theming images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/icons.scss')
-rw-r--r--core/css/icons.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/css/icons.scss b/core/css/icons.scss
index 1468c480046..e4da7c7c4d3 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -64,6 +64,14 @@
transform-origin: center;
border: 2px solid var(--color-loading-light);
border-top-color: var(--color-loading-dark);
+ // revert if background is too bright
+ filter: var(--background-invert-if-bright);
+
+ .primary &,
+ .primary + & {
+ // revert if primary is too bright
+ filter: var(--primary-invert-if-bright);
+ }
}
}