AllAi/apps/web/app/globals.css
2025-11-14 21:54:04 +03:00

65 lines
1.5 KiB
CSS

:root {
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
--color-background: #f5f7ff;
--color-foreground: #0f172a;
--color-muted: rgba(15, 23, 42, 0.55);
--surface-base: #ffffff;
--surface-panel: rgba(255, 255, 255, 0.82);
--surface-subtle: rgba(15, 23, 42, 0.04);
--surface-contrast: #0a0e1d;
--surface-border: rgba(15, 23, 42, 0.12);
--accent-primary: linear-gradient(135deg, #527aff 0%, #8858ff 100%);
color-scheme: light;
}
:root[data-theme="dark"] {
--color-background: #05070f;
--color-foreground: #e7ecff;
--color-muted: rgba(226, 232, 255, 0.62);
--surface-base: rgba(9, 13, 25, 0.92);
--surface-panel: rgba(10, 14, 28, 0.86);
--surface-subtle: rgba(24, 32, 64, 0.38);
--surface-contrast: #090d20;
--surface-border: rgba(104, 138, 255, 0.22);
--accent-primary: linear-gradient(135deg, #527aff 0%, #8858ff 100%);
color-scheme: dark;
}
:root[data-theme="light"] {
color-scheme: light;
}
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: var(--color-background);
color: var(--color-foreground);
font-family: var(--font-sans);
}
a {
color: inherit;
text-decoration: none;
}
button {
font: inherit;
}