Add utility-first CSS layer and expand component library

This commit is contained in:
2026-11-19 22:53:02 +01:00
parent 69107b7b84
commit d87d22cf0e
17 changed files with 834 additions and 96 deletions
+8
View File
@@ -18,6 +18,11 @@
--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;
@@ -54,6 +59,7 @@
--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;
@@ -71,6 +77,8 @@
--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) {