Initial Frost v0.1 framework

This commit is contained in:
2026-10-29 21:42:51 +01:00
commit f5cd37254c
9 changed files with 537 additions and 0 deletions
+106
View File
@@ -0,0 +1,106 @@
: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-success: #147a4b;
--frost-color-warning: #9a5b00;
--frost-color-danger: #b42318;
--frost-color-info: #1769aa;
--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-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-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;
}
@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-success: #65d39b;
--frost-color-warning: #f3bd63;
--frost-color-danger: #ff9388;
--frost-color-info: #7fc4ff;
--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-success: #65d39b;
--frost-color-warning: #f3bd63;
--frost-color-danger: #ff9388;
--frost-color-info: #7fc4ff;
}