Add utility-first CSS layer and expand component library
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user