Add feedback, layout, button, and interaction utilities

This commit is contained in:
2026-11-01 21:25:01 +01:00
parent 1944cb8f5a
commit 69107b7b84
8 changed files with 163 additions and 2 deletions
+11
View File
@@ -18,6 +18,10 @@
--frost-color-warning: #9a5b00;
--frost-color-danger: #b42318;
--frost-color-info: #1769aa;
--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;
@@ -27,6 +31,8 @@
--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;
@@ -63,6 +69,8 @@
--frost-focus-offset: 3px;
--frost-z-overlay: 1000;
--frost-z-modal: 1001;
--frost-z-popover: 1010;
--frost-z-toast: 1020;
}
@media (prefers-color-scheme: dark) {
@@ -85,6 +93,9 @@
--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);