2021-11-26 22:04:45 +09:00
|
|
|
:root {
|
2021-12-24 06:29:46 +09:00
|
|
|
--s: .6rem;
|
|
|
|
--unit: 1rem;
|
|
|
|
--m: 1.3rem;
|
|
|
|
--xl: 1.62rem;
|
|
|
|
--xxl: 3rem;
|
2021-11-26 22:04:45 +09:00
|
|
|
}
|
|
|
|
|
2021-12-03 10:18:25 +09:00
|
|
|
@media (prefers-color-scheme: dark) {
|
2021-11-26 22:04:45 +09:00
|
|
|
:root {
|
2022-02-08 23:12:59 +09:00
|
|
|
--foreground: {{ oomox.getColourForegroundDark() | default('#eff0f1') | raw }};
|
|
|
|
--background-hard: {{ oomox.getColourBackgroundHardDark() | default('#0E0E0F') | raw }};
|
|
|
|
--background-card: {{ oomox.getColourBackgroundCardDark() | default('#0E0E0F') | raw }};
|
|
|
|
--border: {{ oomox.getColourBorderDark() | default('#26262C') | raw }};
|
2021-11-28 03:10:26 +09:00
|
|
|
--accent: {{ oomox.getColourAccentDark() | default('#5ddbcf') | raw }};
|
2022-02-08 23:12:59 +09:00
|
|
|
--shadow: 0 5px 20px -10px rgba(255,255,255,0.1)!important;
|
2021-11-26 22:04:45 +09:00
|
|
|
--shadow-inset-accent: inset 0 0 0 2px var(--accent);
|
2022-02-08 23:12:59 +09:00
|
|
|
--background-checkerboard: repeating-conic-gradient(#ffffff66 0 90deg,#ffffff33 0 180deg) 0 0/40px 40px round;
|
|
|
|
--gradient: linear-gradient(5deg,var(--border) -33%,transparent 66%)!important;
|
|
|
|
--gradient-backwards: linear-gradient(-5deg,var(--border) -33%,transparent 66%)!important;
|
2021-11-26 22:04:45 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-03 10:18:25 +09:00
|
|
|
@media (prefers-color-scheme: light) {
|
2021-11-26 22:04:45 +09:00
|
|
|
:root {
|
2021-11-28 03:10:26 +09:00
|
|
|
--foreground: {{ oomox.getColourForegroundLight() | default('#09090d') | raw }};
|
|
|
|
--background-hard: {{ oomox.getColourBackgroundHardLight() | default('#ebebeb') | raw }};
|
|
|
|
--background-card: {{ oomox.getColourBackgroundCardLight() | default('#f0f0f0') | raw }};
|
2022-02-08 23:12:59 +09:00
|
|
|
--border: {{ oomox.getColourBorderLight() | default('#C2C2C2') | raw }};
|
2021-11-28 03:10:26 +09:00
|
|
|
--accent: {{ oomox.getColourAccentLight() | default('#a22430') | raw }};
|
2022-02-08 23:12:59 +09:00
|
|
|
--shadow: 0 25px 42px -10px rgba(0,0,0,0.1)!important;
|
2021-11-26 22:04:45 +09:00
|
|
|
--shadow-inset-accent: inset 0 0 0 2px var(--accent);
|
2022-02-08 23:12:59 +09:00
|
|
|
--background-checkerboard: repeating-conic-gradient(#ffffff66 0 90deg,#ffffff33 0 180deg) 0 0/40px 40px round;
|
|
|
|
--gradient: linear-gradient(10deg,var(--background-hard) 0,transparent 60%)!important;
|
|
|
|
--gradient-backwards: linear-gradient(290deg,var(--background-hard) 0,var(--background-card) 100%)!important;
|
2021-11-26 22:04:45 +09:00
|
|
|
}
|
|
|
|
}
|