diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-04-15 13:54:53 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-04-21 09:31:07 +0200 |
commit | 69d1d1a84e5e8937046d30714f11036b680cc04a (patch) | |
tree | 76666f2b2aef59e110d963fdeae04107e6ead828 /core | |
parent | fa18a77fa24ad01944d79232fb637076282dedc2 (diff) | |
download | nextcloud-server-69d1d1a84e5e8937046d30714f11036b680cc04a.tar.gz nextcloud-server-69d1d1a84e5e8937046d30714f11036b680cc04a.zip |
Write body theme selector straight in the template
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 1 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index b683ffae0ef..cf061303498 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -166,6 +166,7 @@ kbd { &, > a { background-color: var(--color-primary-light); + color: var(--color-primary-text); } } diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index f5ac783b340..00e16414535 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -40,7 +40,7 @@ $getUserAvatar = static function (int $size) use ($_): string { <?php emit_script_loading_tags($_); ?> <?php print_unescaped($_['headers']); ?> </head> - <body id="<?php p($_['bodyid']);?>"> + <body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) { p("data-theme-$themeId "); }?>> <?php include 'layout.noscript.warning.php'; ?> <?php foreach ($_['initialStates'] as $app => $initialState) { ?> |