aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/icons.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-08-16 14:43:35 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-08-16 14:43:35 +0200
commit601664bc84e91b752ab6e6251510b559a5a676fc (patch)
tree9548660a11f4056fff55afa0b41d906317d20071 /core/src/icons.js
parent3e2ab35af5aa14ed77fba66b63b9d858a5607394 (diff)
downloadnextcloud-server-601664bc84e91b752ab6e6251510b559a5a676fc.tar.gz
nextcloud-server-601664bc84e91b752ab6e6251510b559a5a676fc.zip
Allow to manually specify a theme to apply to a section of an app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/icons.js')
-rw-r--r--core/src/icons.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/icons.js b/core/src/icons.js
index 6ea8070c912..33ca22cae77 100644
--- a/core/src/icons.js
+++ b/core/src/icons.js
@@ -322,12 +322,12 @@ css += generateVariablesAliases(true)
css += '}}'
// DARK THEME
-css += 'body[data-themes*=light] {'
+css += '[data-themes*=light] {'
css += generateVariablesAliases()
css += '}'
// DARK THEME
-css += 'body[data-themes*=dark] {'
+css += '[data-themes*=dark] {'
css += generateVariablesAliases(true)
css += '}'