mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-08 06:56:12 +01:00
Merged with main
This commit is contained in:
commit
f0e9dd75d9
17 changed files with 542 additions and 507 deletions
18
styles/less/utils/mixin.less
Normal file
18
styles/less/utils/mixin.less
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* 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) {
|
||||
.themed {
|
||||
&.theme-dark .application.sheet.dh-style,
|
||||
&.theme-dark.application.sheet.dh-style {
|
||||
@darkRules();
|
||||
}
|
||||
|
||||
&.theme-light .application.sheet.dh-style,
|
||||
&.theme-light.application.sheet.dh-style {
|
||||
@lightRules();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue