summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-29 16:15:52 +0200
committerJulius Härtl <jus@bitgrid.net>2018-07-19 08:16:58 +0200
commit09f591f56f2defcba63022fbfd34f4ddfd191f0a (patch)
tree01a4ab9b8a2a8ac62468c3c969d354325a460006 /apps/accessibility/css
parentccd70a4099f96071ad6a5655bcae81fd3bf4a38a (diff)
downloadnextcloud-server-09f591f56f2defcba63022fbfd34f4ddfd191f0a.tar.gz
nextcloud-server-09f591f56f2defcba63022fbfd34f4ddfd191f0a.zip
Dark theme fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/accessibility/css')
-rw-r--r--apps/accessibility/css/themedark.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/accessibility/css/themedark.scss b/apps/accessibility/css/themedark.scss
index 9ff59df2b50..685a226f102 100644
--- a/apps/accessibility/css/themedark.scss
+++ b/apps/accessibility/css/themedark.scss
@@ -17,6 +17,10 @@ $color-box-shadow: rgba(darken($color-main-background, 70%), 0.5);
$color-border: lighten($color-main-background, 7%);
$color-border-dark: lighten($color-main-background, 14%);
+// invert svg icons colors
+$color-white: #000;
+$color-black: #fff;
+
#app-navigation > ul > li > a:first-child,
#app-navigation > ul > li > ul > li > a:first-child,
#expanddiv a {
@@ -43,3 +47,10 @@ $color-border-dark: lighten($color-main-background, 14%);
#header .menu {
border: 1px solid var(--color-border);
}
+
+// since svg icons are inverted, revert to white for the header
+#header-right > * {
+ [class^='icon-'], [class*=' icon-'] {
+ filter: invert(100%);
+ }
+} \ No newline at end of file