mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
22 lines
801 B
Text
22 lines
801 B
Text
/**
|
|
* Applies theme-specific styles.
|
|
* @param {Rules} @darkRules - Styles to apply when `.theme-dark` is present
|
|
* @param {Rules} @lightRules - Styles to apply when `.theme-light` is present
|
|
*/
|
|
.appTheme(@darkRules, @lightRules) {
|
|
// Dark theme selectors
|
|
.themed.theme-dark .application.daggerheart.sheet.dh-style,
|
|
.themed.theme-dark.application.daggerheart.sheet.dh-style,
|
|
body.theme-dark .application.daggerheart,
|
|
body.theme-dark.application.daggerheart {
|
|
@darkRules();
|
|
}
|
|
|
|
// Light theme selectors
|
|
.themed.theme-light .application.daggerheart.sheet.dh-style,
|
|
.themed.theme-light.application.daggerheart.sheet.dh-style,
|
|
body.theme-light .application.daggerheart,
|
|
body.theme-light.application.daggerheart {
|
|
@lightRules();
|
|
}
|
|
}
|