aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/apps.scss
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-11-29 11:27:57 +0100
committerJoas Schilling <coding@schilljs.com>2023-11-29 16:38:41 +0100
commit9c0ba1bab97ecae25aa59388e8d9937f8ca06bbb (patch)
tree2c9f37e6343b69d98e727befe6388ed578880cf6 /core/css/apps.scss
parentb213fc7c74e938358b2257e87ee5754b0d71ad4a (diff)
downloadnextcloud-server-9c0ba1bab97ecae25aa59388e8d9937f8ca06bbb.tar.gz
nextcloud-server-9c0ba1bab97ecae25aa59388e8d9937f8ca06bbb.zip
fix(theming): Fix color inverted icons based on theming and dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/css/apps.scss')
-rw-r--r--core/css/apps.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index eb654d2a113..f688ab05139 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -237,6 +237,10 @@ kbd {
> a {
background-color: var(--color-primary-element);
color: var(--color-primary-element-text);
+
+ &:first-child > img {
+ filter: var(--primary-invert-if-dark);
+ }
}
}
@@ -281,6 +285,9 @@ kbd {
> a {
border-radius: var(--border-radius-pill);
background-color: var(--color-primary-element-light);
+ &:first-child > img {
+ filter: var(--primary-invert-if-dark);
+ }
}
}