asi-calculator/styles/_variables.css

32 lines
742 B
CSS
Raw Permalink Normal View History

2024-03-29 12:36:05 +01:00
:root {
2024-03-31 05:03:37 +02:00
--max-width: 40rem;
2024-03-29 22:54:07 +01:00
--border-radius: 0.3rem;
2024-03-29 12:36:05 +01:00
2024-03-29 22:54:07 +01:00
--foreground-rgb: 20, 20, 20;
--foreground-rgb-highlight: 0, 0, 0;
2024-03-30 23:10:36 +01:00
--background-rgb: 255, 255, 255;
--background-gradient: radial-gradient(
circle at 30% 0%,
rgb(216, 225, 242) 0%,
rgb(176, 187, 240) 30%,
rgb(255, 255, 255) 100%
);
2024-04-01 04:38:59 +02:00
--text-light: rgba(var(--foreground-rgb), 0.7);
--text-dimmed: rgba(var(--foreground-rgb), 0.5);
2024-03-29 12:36:05 +01:00
}
@media (prefers-color-scheme: dark) {
:root {
2024-03-29 22:54:07 +01:00
--foreground-rgb: 220, 220, 220;
--foreground-rgb-highlight: 255, 255, 255;
2024-03-30 23:10:36 +01:00
--background-rgb: 0, 0, 0;
--background-gradient: radial-gradient(
circle at 30% 0%,
rgb(27, 40, 62) 0%,
rgb(15, 18, 33) 30%,
rgb(0, 0, 0) 100%
);
2024-03-29 12:36:05 +01:00
}
}