134 lines
4.4 KiB
CSS
134 lines
4.4 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
|
|
--frost-color-bg: #f6f7f8;
|
|
--frost-color-surface: #ffffff;
|
|
--frost-color-surface-soft: #eef1f3;
|
|
--frost-color-surface-hover: #e6eaed;
|
|
--frost-color-text: #172027;
|
|
--frost-color-text-muted: #5f6b73;
|
|
--frost-color-border: #d8dfe3;
|
|
--frost-color-border-strong: #b7c1c8;
|
|
--frost-color-accent: #2563eb;
|
|
--frost-color-accent-hover: #1d4ed8;
|
|
--frost-color-on-accent: #ffffff;
|
|
--frost-color-selection: var(--frost-color-accent);
|
|
--frost-color-overlay: rgb(0 0 0 / 0.6);
|
|
--frost-color-success: #147a4b;
|
|
--frost-color-warning: #9a5b00;
|
|
--frost-color-danger: #b42318;
|
|
--frost-color-info: #1769aa;
|
|
--frost-color-link: var(--frost-color-accent);
|
|
--frost-color-link-hover: var(--frost-color-accent-hover);
|
|
--frost-color-code-bg: var(--frost-color-surface-soft);
|
|
--frost-color-code-text: var(--frost-color-text);
|
|
--frost-color-disabled: var(--frost-color-text-muted);
|
|
--frost-color-on-danger: #ffffff;
|
|
--frost-color-on-success: #ffffff;
|
|
--frost-color-on-warning: #172027;
|
|
--frost-color-backdrop: var(--frost-color-overlay);
|
|
|
|
--frost-space-1: 0.25rem;
|
|
--frost-space-2: 0.5rem;
|
|
--frost-space-3: 0.75rem;
|
|
--frost-space-4: 1rem;
|
|
--frost-space-5: 1.25rem;
|
|
--frost-space-6: 1.5rem;
|
|
--frost-space-8: 2rem;
|
|
--frost-space-10: 2.5rem;
|
|
--frost-space-12: 3rem;
|
|
--frost-space-16: 4rem;
|
|
|
|
--frost-radius-sm: 0.375rem;
|
|
--frost-radius-md: 0.625rem;
|
|
--frost-radius-lg: 1rem;
|
|
--frost-radius-xl: 1.5rem;
|
|
--frost-radius-pill: 999px;
|
|
|
|
--frost-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
|
|
--frost-shadow-md: 0 4px 14px rgb(15 23 42 / 0.10);
|
|
--frost-shadow-lg: 0 16px 45px rgb(15 23 42 / 0.14);
|
|
|
|
--frost-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
--frost-font-heading: var(--frost-font-body);
|
|
--frost-font-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
|
|
--frost-font-display: var(--frost-font-heading);
|
|
--frost-line-height-body: 1.55;
|
|
--frost-line-height-heading: 1.15;
|
|
--frost-font-size-sm: 0.875rem;
|
|
--frost-font-size-base: 1rem;
|
|
--frost-font-size-lg: 1.125rem;
|
|
--frost-font-size-xl: clamp(1.5rem, 3vw, 2.25rem);
|
|
--frost-font-size-2xl: clamp(2rem, 5vw, 3.5rem);
|
|
|
|
--frost-duration-fast: 150ms;
|
|
--frost-duration-base: 200ms;
|
|
--frost-duration-slow: 300ms;
|
|
--frost-ease-standard: ease;
|
|
--frost-ease-out: ease-out;
|
|
|
|
--frost-container-max: 72rem;
|
|
--frost-container-gutter: clamp(1rem, 4vw, 2rem);
|
|
--frost-sidebar-width: 16rem;
|
|
--frost-focus-color: var(--frost-color-accent);
|
|
--frost-focus-width: 3px;
|
|
--frost-focus-offset: 3px;
|
|
--frost-z-overlay: 1000;
|
|
--frost-z-modal: 1001;
|
|
--frost-z-popover: 1010;
|
|
--frost-z-toast: 1020;
|
|
--frost-breakpoint-md: 48rem;
|
|
--frost-breakpoint-lg: 64rem;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-theme="light"]) {
|
|
color-scheme: dark;
|
|
--frost-color-bg: #11161a;
|
|
--frost-color-surface: #192126;
|
|
--frost-color-surface-soft: #222c32;
|
|
--frost-color-surface-hover: #2b373e;
|
|
--frost-color-text: #edf2f4;
|
|
--frost-color-text-muted: #aab7bd;
|
|
--frost-color-border: #35434b;
|
|
--frost-color-border-strong: #52626b;
|
|
--frost-color-accent: #79a9ff;
|
|
--frost-color-accent-hover: #a0c2ff;
|
|
--frost-color-on-accent: #0d1a32;
|
|
--frost-color-selection: var(--frost-color-accent);
|
|
--frost-color-overlay: rgb(0 0 0 / 0.72);
|
|
--frost-color-success: #65d39b;
|
|
--frost-color-warning: #f3bd63;
|
|
--frost-color-danger: #ff9388;
|
|
--frost-color-info: #7fc4ff;
|
|
--frost-color-on-danger: #2a0907;
|
|
--frost-color-on-success: #062818;
|
|
--frost-color-on-warning: #2a1a04;
|
|
--frost-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.25);
|
|
--frost-shadow-md: 0 4px 14px rgb(0 0 0 / 0.28);
|
|
--frost-shadow-lg: 0 16px 45px rgb(0 0 0 / 0.38);
|
|
}
|
|
}
|
|
|
|
:root[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
--frost-color-bg: #11161a;
|
|
--frost-color-surface: #192126;
|
|
--frost-color-surface-soft: #222c32;
|
|
--frost-color-surface-hover: #2b373e;
|
|
--frost-color-text: #edf2f4;
|
|
--frost-color-text-muted: #aab7bd;
|
|
--frost-color-border: #35434b;
|
|
--frost-color-border-strong: #52626b;
|
|
--frost-color-accent: #79a9ff;
|
|
--frost-color-accent-hover: #a0c2ff;
|
|
--frost-color-on-accent: #0d1a32;
|
|
--frost-color-selection: var(--frost-color-accent);
|
|
--frost-color-overlay: rgb(0 0 0 / 0.72);
|
|
--frost-color-success: #65d39b;
|
|
--frost-color-warning: #f3bd63;
|
|
--frost-color-danger: #ff9388;
|
|
--frost-color-info: #7fc4ff;
|
|
}
|
|
|