mediawiki-skins-Citizen/resources/skins.citizen.styles/common/rootvariables.less

126 lines
4.8 KiB
Plaintext
Raw Normal View History

/*
* Citizen - CSS variables
* https://starcitizen.tools
*/
@import '../../variables.less';
2021-01-12 23:23:58 +00:00
/**
* Base theme
*/
:root {
/* == Colors == */
/* Background Colors */
--background-color-dp-00: @background-color-dp-00;
--background-color-dp-01: @background-color-dp-01;
--background-color-dp-02: @background-color-dp-02;
--background-color-dp-03: @background-color-dp-03;
--background-color-dp-04: @background-color-dp-04;
--background-color-dp-06: @background-color-dp-06;
--background-color-dp-08: @background-color-dp-08;
--background-color-dp-12: @background-color-dp-12;
--background-color-dp-16: @background-color-dp-16;
--background-color-dp-24: @background-color-dp-24;
--background-color-framed: @background-color-framed;
--background-color-framed--hover: @background-color-framed--hover;
--background-color-framed--active: @background-color-framed--active;
2021-01-15 00:09:15 +00:00
--background-color-input: @background-color-input;
--background-color-icon: @background-color-icon;
--background-color-icon--hover: @background-color-icon--hover;
--background-color-icon--active: @background-color-icon--active;
--background-color-quiet--hover: @background-color-quiet--hover;
--background-color-quiet--active: @background-color-quiet--active;
--background-color-primary--hover: @background-color-primary--hover;
--background-color-primary--active: @background-color-primary--active;
--background-color-destructive: @background-color-destructive;
2021-01-14 20:27:06 +00:00
--background-color-warning: @background-color-warning;
--background-color-success: @background-color-success;
/* Foreground Colors */
--color-base: @color-base;
--color-base--emphasized: @color-base--emphasized;
--color-base--subtle: @color-base--subtle;
--color-primary: @color-primary;
--color-primary--hover: @color-primary--hover;
--color-primary--active: @color-primary--active;
2021-01-14 17:53:29 +00:00
--color-destructive: @color-destructive;
--color-destructive--hover: @color-destructive--hover;
--color-destructive--active: @color-destructive--active;
2021-01-14 20:27:06 +00:00
--color-warning: @color-warning;
--color-success: @color-success;
2021-01-14 17:20:15 +00:00
/* Opacity */
2021-01-14 20:27:06 +00:00
--opacity-base--disabled: @opacity-base--disabled;
2021-01-14 17:20:15 +00:00
--opacity-icon-base: @opacity-icon-base;
--opacity-icon-base--hover: @opacity-icon-base--hover;
--opacity-icon-base--active: @opacity-icon-base--active;
/* Size */
--size-icon: @size-icon;
--height-header: @height-header;
/* Paddings */
--padding-page: @padding-page;
/* Border Colors */
--border-color-base: @border-color-base;
--border-color-base--lighter: @border-color-base--lighter;
--border-color-base--darker: @border-color-base--darker;
2021-01-14 20:27:06 +00:00
--border-color-input: @border-color-input;
--border-color-input--hover: @border-color-input--hover;
}
2021-01-12 23:23:58 +00:00
/**
* Dark theme
*/
:root.skin-citizen-dark {
/* == Colors == */
/* Background Colors */
--background-color-dp-00: @dark-background-color-dp-00;
--background-color-dp-01: @dark-background-color-dp-01;
--background-color-dp-02: @dark-background-color-dp-02;
--background-color-dp-03: @dark-background-color-dp-03;
--background-color-dp-04: @dark-background-color-dp-04;
--background-color-dp-06: @dark-background-color-dp-06;
--background-color-dp-08: @dark-background-color-dp-08;
--background-color-dp-12: @dark-background-color-dp-12;
--background-color-dp-16: @dark-background-color-dp-16;
--background-color-dp-24: @dark-background-color-dp-24;
--background-color-framed: @dark-background-color-framed;
--background-color-framed--hover: @dark-background-color-framed--hover;
--background-color-framed--active: @dark-background-color-framed--active;
2021-01-15 00:09:15 +00:00
--background-color-input: @dark-background-color-input;
--background-color-icon: @dark-background-color-icon;
--background-color-icon--hover: @dark-background-color-icon--hover;
--background-color-icon--active: @dark-background-color-icon--active;
--background-color-quiet--hover: @dark-background-color-quiet--hover;
--background-color-quiet--active: @dark-background-color-quiet--active;
--background-color-primary--hover: @dark-background-color-primary--hover;
--background-color-primary--active: @dark-background-color-primary--active;
--background-color-destructive: @dark-background-color-destructive;
2021-01-14 20:27:06 +00:00
--background-color-warning: @dark-background-color-warning;
--background-color-success: @dark-background-color-success;
/* Foreground Colors */
--color-base: @dark-color-base;
--color-base--emphasized: @dark-color-base--emphasized;
--color-base--subtle: @dark-color-base--subtle;
2021-01-14 17:20:15 +00:00
/* Opacity */
--opacity-icon-base--active: @dark-opacity-icon-base--active;
/* Border Colors */
--border-color-base: @dark-border-color-base;
--border-color-base--lighter: @dark-border-color-base--lighter;
--border-color-base--darker: @dark-border-color-base--darker;
2021-01-14 20:27:06 +00:00
--border-color-input: @dark-border-color-input;
--border-color-input--hover: @dark-border-color-input--hover;
}