mediawiki-skins-Citizen/resources/skins.citizen.styles/common/theme.less
alistair3149 7dc0d14c70
feat: simplify background color variables in core styles
--background-color-dp-XX is soft depreciated, please use --color-surface-X instead
2021-07-25 19:16:05 -04:00

24 lines
521 B
Plaintext

@import '../../variables.less';
/**
* Base theme
*/
:root {
--color-surface-0: @color-surface-0;
--color-surface-1: @color-surface-1;
--color-surface-2: @color-surface-2;
--color-surface-3: @color-surface-3;
--color-surface-4: @color-surface-4;
}
/**
* Dark theme
*/
:root.skin-citizen-dark {
--color-surface-0: @color-surface-0-dark;
--color-surface-1: @color-surface-1-dark;
--color-surface-2: @color-surface-2-dark;
--color-surface-3: @color-surface-3-dark;
--color-surface-4: @color-surface-4-dark;
}