2021-11-26 13:04:45 +00:00
|
|
|
:root {
|
|
|
|
--smaller: .6rem;
|
|
|
|
--default: 1rem;
|
|
|
|
--small: 1.3rem;
|
|
|
|
--medium: 1.62rem;
|
|
|
|
--big: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(prefers-color-scheme:dark) {
|
|
|
|
:root {
|
2021-11-26 14:44:35 +00:00
|
|
|
--foreground: {{ oomox.getColourForeground() | default('#f0f6f6') | raw }} !important;
|
|
|
|
--background-hard: {{ oomox.getColourBackgroundHard() | default('#141216') | raw }};
|
|
|
|
--background-card: {{ oomox.getColourBackgroundCard() | default('#131217') | raw }};
|
|
|
|
--border: {{ oomox.getColourBorder() | default('#201f25') | raw }};
|
|
|
|
--accent: {{ oomox.getColourAccent() | default('#5ddbcf') | raw }};
|
|
|
|
--shadow: 0 0 12px 0 {{ oomox.getColourShadow() | default('#01010166') | raw }};
|
2021-11-26 13:04:45 +00:00
|
|
|
|
|
|
|
--shadow-inset-accent: inset 0 0 0 2px var(--accent);
|
|
|
|
--background-checkerboard: repeating-conic-gradient(#ffffff66 0 90deg,#ffffff33 0 180deg) 0 0/40px 40px round;
|
|
|
|
--gradient: linear-gradient(10deg,var(--border) 0,transparent 90%) !important;
|
|
|
|
--gradient-backwards: linear-gradient(290deg,var(--border) 0,var(--background-card) 100%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(prefers-color-scheme:light) {
|
|
|
|
:root {
|
2021-11-26 14:44:35 +00:00
|
|
|
--foreground: {{ oomox.getColourForeground() | default('#09090d') | raw }};
|
|
|
|
--background-hard: {{ oomox.getColourBackgroundHard() | default('#ebebeb') | raw }};
|
|
|
|
--background-card: {{ oomox.getColourBackgroundCard() | default('#f0f0f0') | raw }};
|
|
|
|
--border: {{ oomox.getColourBorder() | default('#d5d5d5') | raw }};
|
|
|
|
--accent: {{ oomox.getColourAccent() | default('#a22430') | raw }};
|
|
|
|
--shadow: 0 0 12px 0 {{ oomox.getColourShadow() | default('#24243416') | raw }};
|
2021-11-26 13:04:45 +00:00
|
|
|
|
|
|
|
--shadow-inset-accent: inset 0 0 0 2px var(--accent);
|
|
|
|
--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;
|
|
|
|
}
|
|
|
|
}
|