mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 00:13:39 +02:00
FIX: bug, themed class only is added to sheet when have a theme what ovveride the world theme
This commit is contained in:
parent
3d197a4b0d
commit
eab27ae972
1 changed files with 12 additions and 8 deletions
|
|
@ -4,15 +4,19 @@
|
||||||
* @param {Rules} @lightRules - Styles to apply when `.theme-light` is present
|
* @param {Rules} @lightRules - Styles to apply when `.theme-light` is present
|
||||||
*/
|
*/
|
||||||
.appTheme(@darkRules, @lightRules) {
|
.appTheme(@darkRules, @lightRules) {
|
||||||
.themed {
|
// Dark theme selectors
|
||||||
&.theme-dark .application.sheet.dh-style,
|
.themed.theme-dark .application.sheet.dh-style,
|
||||||
&.theme-dark.application.sheet.dh-style {
|
.themed.theme-dark.application.sheet.dh-style,
|
||||||
|
body.theme-dark .application,
|
||||||
|
body.theme-dark.application {
|
||||||
@darkRules();
|
@darkRules();
|
||||||
}
|
}
|
||||||
|
|
||||||
&.theme-light .application.sheet.dh-style,
|
// Light theme selectors
|
||||||
&.theme-light.application.sheet.dh-style {
|
.themed.theme-light .application.sheet.dh-style,
|
||||||
|
.themed.theme-light.application.sheet.dh-style,
|
||||||
|
body.theme-light .application,
|
||||||
|
body.theme-light.application {
|
||||||
@lightRules();
|
@lightRules();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue