@codefast/ui 0.5.0-canary.9 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/README.md +24 -16
- package/dist/components/accordion.d.ts.map +1 -1
- package/dist/components/accordion.js +1 -3
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/alert-dialog.d.ts.map +1 -1
- package/dist/components/alert-dialog.js +1 -3
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.d.ts.map +1 -1
- package/dist/components/alert.js +1 -3
- package/dist/components/alert.js.map +1 -1
- package/dist/components/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio.js +1 -3
- package/dist/components/aspect-ratio.js.map +1 -1
- package/dist/components/attachment.d.ts.map +1 -1
- package/dist/components/attachment.js +1 -3
- package/dist/components/attachment.js.map +1 -1
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +1 -3
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +1 -3
- package/dist/components/badge.js.map +1 -1
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb.js +1 -3
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/bubble.d.ts.map +1 -1
- package/dist/components/bubble.js +1 -3
- package/dist/components/bubble.js.map +1 -1
- package/dist/components/button-group.d.ts.map +1 -1
- package/dist/components/button-group.js +1 -3
- package/dist/components/button-group.js.map +1 -1
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +1 -3
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +4 -12
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +1 -3
- package/dist/components/card.js.map +1 -1
- package/dist/components/carousel.d.ts.map +1 -1
- package/dist/components/carousel.js +5 -15
- package/dist/components/carousel.js.map +1 -1
- package/dist/components/chart.d.ts.map +1 -1
- package/dist/components/chart.js +5 -15
- package/dist/components/chart.js.map +1 -1
- package/dist/components/checkbox-cards.d.ts.map +1 -1
- package/dist/components/checkbox-cards.js +1 -3
- package/dist/components/checkbox-cards.js.map +1 -1
- package/dist/components/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group.js +1 -3
- package/dist/components/checkbox-group.js.map +1 -1
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +1 -3
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible.js +1 -3
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/command.d.ts.map +1 -1
- package/dist/components/command.js +1 -3
- package/dist/components/command.js.map +1 -1
- package/dist/components/context-menu.d.ts.map +1 -1
- package/dist/components/context-menu.js +1 -3
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +1 -3
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/direction.d.ts.map +1 -1
- package/dist/components/direction.js +1 -3
- package/dist/components/direction.js.map +1 -1
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/drawer.js +1 -3
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +1 -3
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/empty.d.ts.map +1 -1
- package/dist/components/empty.js +1 -3
- package/dist/components/empty.js.map +1 -1
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +1 -3
- package/dist/components/field.js.map +1 -1
- package/dist/components/form.d.ts.map +1 -1
- package/dist/components/form.js +5 -15
- package/dist/components/form.js.map +1 -1
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +1 -3
- package/dist/components/hover-card.js.map +1 -1
- package/dist/components/input-group.d.ts.map +1 -1
- package/dist/components/input-group.js +1 -3
- package/dist/components/input-group.js.map +1 -1
- package/dist/components/input-number.d.ts.map +1 -1
- package/dist/components/input-number.js +1 -3
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-otp.d.ts.map +1 -1
- package/dist/components/input-otp.js +1 -3
- package/dist/components/input-otp.js.map +1 -1
- package/dist/components/input-password.d.ts.map +1 -1
- package/dist/components/input-password.js +1 -3
- package/dist/components/input-password.js.map +1 -1
- package/dist/components/input-search.d.ts.map +1 -1
- package/dist/components/input-search.js +1 -3
- package/dist/components/input-search.js.map +1 -1
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +1 -3
- package/dist/components/input.js.map +1 -1
- package/dist/components/item.d.ts.map +1 -1
- package/dist/components/item.js +1 -3
- package/dist/components/item.js.map +1 -1
- package/dist/components/kbd.d.ts.map +1 -1
- package/dist/components/kbd.js +1 -3
- package/dist/components/kbd.js.map +1 -1
- package/dist/components/label.d.ts.map +1 -1
- package/dist/components/label.js +1 -3
- package/dist/components/label.js.map +1 -1
- package/dist/components/marker.d.ts.map +1 -1
- package/dist/components/marker.js +1 -3
- package/dist/components/marker.js.map +1 -1
- package/dist/components/menubar.d.ts.map +1 -1
- package/dist/components/menubar.js +1 -3
- package/dist/components/menubar.js.map +1 -1
- package/dist/components/message-scroller.d.ts.map +1 -1
- package/dist/components/message-scroller.js +1 -3
- package/dist/components/message-scroller.js.map +1 -1
- package/dist/components/message.d.ts.map +1 -1
- package/dist/components/message.js +1 -3
- package/dist/components/message.js.map +1 -1
- package/dist/components/native-select.d.ts.map +1 -1
- package/dist/components/native-select.js +1 -3
- package/dist/components/native-select.js.map +1 -1
- package/dist/components/navigation-menu.d.ts.map +1 -1
- package/dist/components/navigation-menu.js +1 -3
- package/dist/components/navigation-menu.js.map +1 -1
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +1 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +1 -3
- package/dist/components/popover.js.map +1 -1
- package/dist/components/progress-circle.d.ts.map +1 -1
- package/dist/components/progress-circle.js +3 -7
- package/dist/components/progress-circle.js.map +1 -1
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +1 -3
- package/dist/components/progress.js.map +1 -1
- package/dist/components/radio-cards.d.ts.map +1 -1
- package/dist/components/radio-cards.js +1 -3
- package/dist/components/radio-cards.js.map +1 -1
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +1 -3
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/radio.d.ts.map +1 -1
- package/dist/components/radio.js +1 -3
- package/dist/components/radio.js.map +1 -1
- package/dist/components/resizable.d.ts.map +1 -1
- package/dist/components/resizable.js +1 -3
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area.js +2 -6
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +1 -3
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.d.ts.map +1 -1
- package/dist/components/separator.js +1 -3
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +1 -3
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sidebar.d.ts +3 -0
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +9 -20
- package/dist/components/sidebar.js.map +1 -1
- package/dist/components/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton.js +1 -3
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +1 -3
- package/dist/components/slider.js.map +1 -1
- package/dist/components/sonner.d.ts.map +1 -1
- package/dist/components/sonner.js +1 -3
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/spinner.d.ts.map +1 -1
- package/dist/components/spinner.js +2 -6
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +1 -3
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +1 -3
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +1 -3
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +1 -3
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/toggle-group.d.ts.map +1 -1
- package/dist/components/toggle-group.js +3 -9
- package/dist/components/toggle-group.js.map +1 -1
- package/dist/components/toggle.d.ts.map +1 -1
- package/dist/components/toggle.js +1 -3
- package/dist/components/toggle.js.map +1 -1
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +1 -3
- package/dist/components/tooltip.js.map +1 -1
- package/dist/hooks/use-animated-value.d.ts +1 -1
- package/dist/hooks/use-animated-value.js +1 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +1 -1
- package/dist/hooks/use-copy-to-clipboard.js +1 -1
- package/dist/hooks/use-is-mobile.d.ts +1 -1
- package/dist/hooks/use-is-mobile.js +1 -1
- package/dist/hooks/use-media-query.js +1 -1
- package/dist/hooks/use-message-scroller-commands.d.ts +4 -0
- package/dist/hooks/use-message-scroller-commands.d.ts.map +1 -1
- package/dist/hooks/use-message-scroller-commands.js +4 -3
- package/dist/hooks/use-message-scroller-commands.js.map +1 -1
- package/dist/hooks/use-message-scroller-controller.d.ts +4 -0
- package/dist/hooks/use-message-scroller-controller.d.ts.map +1 -1
- package/dist/hooks/use-message-scroller-controller.js +4 -3
- package/dist/hooks/use-message-scroller-controller.js.map +1 -1
- package/dist/hooks/use-message-scroller-refs.d.ts +7 -0
- package/dist/hooks/use-message-scroller-refs.d.ts.map +1 -1
- package/dist/hooks/use-message-scroller-refs.js +3 -2
- package/dist/hooks/use-message-scroller-refs.js.map +1 -1
- package/dist/hooks/use-pagination.d.ts +1 -1
- package/dist/hooks/use-pagination.js +1 -1
- package/dist/lib/message-scroller/types.d.ts +66 -0
- package/dist/lib/message-scroller/types.d.ts.map +1 -1
- package/dist/lib/message-scroller/types.js +23 -14
- package/dist/lib/message-scroller/types.js.map +1 -1
- package/dist/lib/use-render.d.ts +1 -1
- package/dist/lib/use-render.js +1 -1
- package/dist/primitives/checkbox-group.d.ts.map +1 -1
- package/dist/primitives/checkbox-group.js +3 -9
- package/dist/primitives/checkbox-group.js.map +1 -1
- package/dist/primitives/input-number.d.ts.map +1 -1
- package/dist/primitives/input-number.js +5 -15
- package/dist/primitives/input-number.js.map +1 -1
- package/dist/primitives/input.d.ts.map +1 -1
- package/dist/primitives/input.js +3 -9
- package/dist/primitives/input.js.map +1 -1
- package/dist/primitives/progress-circle.d.ts.map +1 -1
- package/dist/primitives/progress-circle.js +7 -21
- package/dist/primitives/progress-circle.js.map +1 -1
- package/dist/variants/alert.d.ts.map +1 -1
- package/dist/variants/alert.js +2 -6
- package/dist/variants/alert.js.map +1 -1
- package/dist/variants/attachment.d.ts.map +1 -1
- package/dist/variants/attachment.js +3 -9
- package/dist/variants/attachment.js.map +1 -1
- package/dist/variants/badge.d.ts.map +1 -1
- package/dist/variants/badge.js +2 -6
- package/dist/variants/badge.js.map +1 -1
- package/dist/variants/bubble.d.ts.map +1 -1
- package/dist/variants/bubble.js +3 -9
- package/dist/variants/bubble.js.map +1 -1
- package/dist/variants/button-group.d.ts.map +1 -1
- package/dist/variants/button-group.js +2 -6
- package/dist/variants/button-group.js.map +1 -1
- package/dist/variants/button.d.ts.map +1 -1
- package/dist/variants/button.js +2 -6
- package/dist/variants/button.js.map +1 -1
- package/dist/variants/empty.d.ts.map +1 -1
- package/dist/variants/empty.js +2 -6
- package/dist/variants/empty.js.map +1 -1
- package/dist/variants/field.d.ts.map +1 -1
- package/dist/variants/field.js +2 -6
- package/dist/variants/field.js.map +1 -1
- package/dist/variants/input-group.d.ts.map +1 -1
- package/dist/variants/input-group.js +4 -12
- package/dist/variants/input-group.js.map +1 -1
- package/dist/variants/item.d.ts.map +1 -1
- package/dist/variants/item.js +3 -9
- package/dist/variants/item.js.map +1 -1
- package/dist/variants/marker.d.ts.map +1 -1
- package/dist/variants/marker.js +2 -6
- package/dist/variants/marker.js.map +1 -1
- package/dist/variants/navigation-menu.d.ts.map +1 -1
- package/dist/variants/navigation-menu.js +2 -6
- package/dist/variants/navigation-menu.js.map +1 -1
- package/dist/variants/progress-circle.d.ts.map +1 -1
- package/dist/variants/progress-circle.js +2 -6
- package/dist/variants/progress-circle.js.map +1 -1
- package/dist/variants/scroll-area.d.ts.map +1 -1
- package/dist/variants/scroll-area.js +2 -6
- package/dist/variants/scroll-area.js.map +1 -1
- package/dist/variants/separator.d.ts.map +1 -1
- package/dist/variants/separator.js +2 -6
- package/dist/variants/separator.js.map +1 -1
- package/dist/variants/sheet.d.ts.map +1 -1
- package/dist/variants/sheet.js +2 -6
- package/dist/variants/sheet.js.map +1 -1
- package/dist/variants/sidebar.d.ts.map +1 -1
- package/dist/variants/sidebar.js +2 -6
- package/dist/variants/sidebar.js.map +1 -1
- package/dist/variants/tabs.d.ts.map +1 -1
- package/dist/variants/tabs.js +2 -6
- package/dist/variants/tabs.js.map +1 -1
- package/dist/variants/toggle.d.ts.map +1 -1
- package/dist/variants/toggle.js +2 -6
- package/dist/variants/toggle.js.map +1 -1
- package/package.json +11 -10
- package/src/components/accordion.tsx +5 -15
- package/src/components/alert-dialog.tsx +12 -36
- package/src/components/alert.tsx +5 -15
- package/src/components/aspect-ratio.tsx +2 -6
- package/src/components/attachment.tsx +10 -30
- package/src/components/avatar.tsx +7 -21
- package/src/components/badge.tsx +2 -6
- package/src/components/breadcrumb.tsx +8 -24
- package/src/components/bubble.tsx +5 -15
- package/src/components/button-group.tsx +4 -12
- package/src/components/button.tsx +2 -6
- package/src/components/calendar.tsx +6 -18
- package/src/components/card.tsx +8 -24
- package/src/components/carousel.tsx +7 -21
- package/src/components/chart.tsx +11 -33
- package/src/components/checkbox-cards.tsx +3 -9
- package/src/components/checkbox-group.tsx +3 -9
- package/src/components/checkbox.tsx +2 -6
- package/src/components/collapsible.tsx +4 -12
- package/src/components/command.tsx +11 -33
- package/src/components/context-menu.tsx +16 -48
- package/src/components/dialog.tsx +10 -30
- package/src/components/direction.tsx +2 -6
- package/src/components/drawer.tsx +9 -27
- package/src/components/dropdown-menu.tsx +16 -48
- package/src/components/empty.tsx +7 -21
- package/src/components/field.tsx +11 -33
- package/src/components/form.tsx +10 -30
- package/src/components/hover-card.tsx +5 -15
- package/src/components/input-group.tsx +7 -21
- package/src/components/input-number.tsx +6 -18
- package/src/components/input-otp.tsx +5 -15
- package/src/components/input-password.tsx +2 -6
- package/src/components/input-search.tsx +2 -6
- package/src/components/input.tsx +2 -6
- package/src/components/item.tsx +11 -33
- package/src/components/kbd.tsx +2 -6
- package/src/components/label.tsx +2 -6
- package/src/components/marker.tsx +4 -12
- package/src/components/menubar.tsx +17 -51
- package/src/components/message-scroller.tsx +7 -21
- package/src/components/message.tsx +7 -21
- package/src/components/native-select.tsx +4 -12
- package/src/components/navigation-menu.tsx +9 -27
- package/src/components/pagination.tsx +8 -24
- package/src/components/popover.tsx +9 -27
- package/src/components/progress-circle.tsx +4 -10
- package/src/components/progress.tsx +2 -6
- package/src/components/radio-cards.tsx +3 -9
- package/src/components/radio-group.tsx +3 -9
- package/src/components/radio.tsx +2 -6
- package/src/components/resizable.tsx +4 -12
- package/src/components/scroll-area.tsx +4 -12
- package/src/components/select.tsx +11 -33
- package/src/components/separator.tsx +3 -9
- package/src/components/sheet.tsx +10 -30
- package/src/components/sidebar.tsx +28 -77
- package/src/components/skeleton.tsx +2 -6
- package/src/components/slider.tsx +2 -6
- package/src/components/sonner.tsx +2 -6
- package/src/components/spinner.tsx +2 -6
- package/src/components/switch.tsx +2 -6
- package/src/components/table.tsx +9 -27
- package/src/components/tabs.tsx +5 -15
- package/src/components/textarea.tsx +2 -6
- package/src/components/toggle-group.tsx +4 -12
- package/src/components/toggle.tsx +2 -6
- package/src/components/tooltip.tsx +6 -18
- package/src/css/foundation/base.css +3 -9
- package/src/css/foundation/motion.css +2 -6
- package/src/css/foundation/tokens.css +6 -18
- package/src/css/foundation/variants.css +3 -9
- package/src/css/themes/amber.css +4 -12
- package/src/css/themes/blue.css +4 -12
- package/src/css/themes/cyan.css +4 -12
- package/src/css/themes/emerald.css +4 -12
- package/src/css/themes/fuchsia.css +4 -12
- package/src/css/themes/gray.css +4 -12
- package/src/css/themes/green.css +4 -12
- package/src/css/themes/indigo.css +4 -12
- package/src/css/themes/lime.css +4 -12
- package/src/css/themes/neutral.css +4 -12
- package/src/css/themes/orange.css +4 -12
- package/src/css/themes/pink.css +4 -12
- package/src/css/themes/purple.css +4 -12
- package/src/css/themes/red.css +4 -12
- package/src/css/themes/rose.css +4 -12
- package/src/css/themes/sky.css +4 -12
- package/src/css/themes/slate.css +4 -12
- package/src/css/themes/stone.css +4 -12
- package/src/css/themes/teal.css +4 -12
- package/src/css/themes/violet.css +4 -12
- package/src/css/themes/yellow.css +4 -12
- package/src/css/themes/zinc.css +4 -12
- package/src/hooks/use-animated-value.ts +1 -1
- package/src/hooks/use-copy-to-clipboard.ts +1 -1
- package/src/hooks/use-is-mobile.ts +1 -1
- package/src/hooks/use-media-query.ts +1 -1
- package/src/hooks/use-message-scroller-commands.ts +4 -3
- package/src/hooks/use-message-scroller-controller.ts +4 -3
- package/src/hooks/use-message-scroller-refs.ts +7 -5
- package/src/hooks/use-pagination.ts +1 -1
- package/src/lib/message-scroller/types.ts +66 -39
- package/src/lib/use-render.ts +1 -1
- package/src/primitives/checkbox-group.tsx +5 -15
- package/src/primitives/input-number.tsx +8 -24
- package/src/primitives/input.tsx +3 -9
- package/src/primitives/progress-circle.tsx +9 -27
- package/src/variants/alert.ts +2 -6
- package/src/variants/attachment.ts +3 -9
- package/src/variants/badge.ts +2 -6
- package/src/variants/bubble.ts +3 -9
- package/src/variants/button-group.ts +2 -6
- package/src/variants/button.ts +2 -6
- package/src/variants/empty.ts +2 -6
- package/src/variants/field.ts +2 -6
- package/src/variants/input-group.ts +4 -12
- package/src/variants/item.ts +3 -9
- package/src/variants/marker.ts +2 -6
- package/src/variants/navigation-menu.ts +2 -6
- package/src/variants/progress-circle.ts +2 -6
- package/src/variants/scroll-area.ts +2 -6
- package/src/variants/separator.ts +2 -6
- package/src/variants/sheet.ts +2 -6
- package/src/variants/sidebar.ts +2 -6
- package/src/variants/tabs.ts +2 -6
- package/src/variants/toggle.ts +2 -6
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-neutral-50 */
|
|
15
13
|
--foreground: oklch(0.145 0 0); /* --color-neutral-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-neutral-50 */
|
|
35
33
|
--card-foreground: oklch(0.145 0 0); /* --color-neutral-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.922 0 0); /* --color-neutral-200 */
|
|
42
38
|
--input: oklch(0.922 0 0); /* --color-neutral-200 */
|
|
43
39
|
--ring: oklch(0.708 0 0); /* --color-neutral-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-neutral-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.145 0 0); /* --color-neutral-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.922 0 0); /* --color-neutral-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.708 0 0); /* --color-neutral-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: var(--color-blue-300); /* --color-blue-300 */
|
|
63
55
|
--chart-2: var(--color-blue-500); /* --color-blue-500 */
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.75 0.183 55.934); /* --color-orange-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.75 0.183 55.934); /* --color-orange-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.837 0.128 66.29); /* --color-orange-300 */
|
|
63
55
|
--chart-2: oklch(0.705 0.213 47.604); /* --color-orange-500 */
|
package/src/css/themes/pink.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.73 0.18 350); /* --color-pink-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.73 0.18 350); /* --color-pink-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.82 0.11 346); /* --color-pink-300 */
|
|
63
55
|
--chart-2: oklch(0.73 0.18 350); /* --color-pink-400 */
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.72 0.18 306); /* --color-purple-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.72 0.18 306); /* --color-purple-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.83 0.11 306); /* --color-purple-300 */
|
|
63
55
|
--chart-2: oklch(0.72 0.18 306); /* --color-purple-400 */
|
package/src/css/themes/red.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.704 0.191 22.216); /* --color-red-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.704 0.191 22.216); /* --color-red-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.808 0.114 19.571); /* --color-red-300 */
|
|
63
55
|
--chart-2: oklch(0.637 0.237 25.331); /* --color-red-500 */
|
package/src/css/themes/rose.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.712 0.194 13.428); /* --color-rose-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.712 0.194 13.428); /* --color-rose-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.81 0.117 11.638); /* --color-rose-300 */
|
|
63
55
|
--chart-2: oklch(0.645 0.246 16.439); /* --color-rose-500 */
|
package/src/css/themes/sky.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.75 0.14 233); /* --color-sky-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.75 0.14 233); /* --color-sky-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.83 0.1 230); /* --color-sky-300 */
|
|
63
55
|
--chart-2: oklch(0.68 0.15 237); /* --color-sky-500 */
|
package/src/css/themes/slate.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(0.98 0 248); /* --color-slate-50 */
|
|
15
13
|
--foreground: oklch(0.13 0.04 265); /* --color-slate-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(0.98 0 248); /* --color-slate-50 */
|
|
35
33
|
--card-foreground: oklch(0.13 0.04 265); /* --color-slate-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.93 0.01 256); /* --color-slate-200 */
|
|
42
38
|
--input: oklch(0.93 0.01 256); /* --color-slate-200 */
|
|
43
39
|
--ring: oklch(0.71 0.04 257); /* --color-slate-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.98 0 248); /* --color-slate-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.13 0.04 265); /* --color-slate-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.93 0.01 256); /* --color-slate-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.71 0.04 257); /* --color-slate-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.646 0.222 41.116); /* --color-orange-600 */
|
|
63
55
|
--chart-2: oklch(0.6 0.118 184.704); /* --color-teal-600 */
|
package/src/css/themes/stone.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-white */
|
|
15
13
|
--foreground: oklch(0.147 0.004 49.25); /* --color-stone-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-white */
|
|
35
33
|
--card-foreground: oklch(0.147 0.004 49.25); /* --color-stone-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.923 0.003 48.717); /* --color-stone-200 */
|
|
42
38
|
--input: oklch(0.923 0.003 48.717); /* --color-stone-200 */
|
|
43
39
|
--ring: oklch(0.709 0.01 56.259); /* --color-stone-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0.001 106.423); /* --color-stone-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.147 0.004 49.25); /* --color-stone-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.923 0.003 48.717); /* --color-stone-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.709 0.01 56.259); /* --color-stone-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.646 0.222 41.116); /* --color-orange-600 */
|
|
63
55
|
--chart-2: oklch(0.6 0.118 184.704); /* --color-teal-600 */
|
package/src/css/themes/teal.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.78 0.13 182); /* --color-teal-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.78 0.13 182); /* --color-teal-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.85 0.13 181); /* --color-teal-300 */
|
|
63
55
|
--chart-2: oklch(0.78 0.13 182); /* --color-teal-400 */
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.702 0.183 293.541); /* --color-violet-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.702 0.183 293.541); /* --color-violet-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.811 0.111 293.571); /* --color-violet-300 */
|
|
63
55
|
--chart-2: oklch(0.606 0.25 292.717); /* --color-violet-500 */
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.852 0.199 91.936); /* --color-yellow-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.852 0.199 91.936); /* --color-yellow-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.905 0.182 98.111); /* --color-yellow-300 */
|
|
63
55
|
--chart-2: oklch(0.795 0.184 86.047); /* --color-yellow-500 */
|
package/src/css/themes/zinc.css
CHANGED
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* ------------------------------------------------------------------------- */
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
* Surfaces & semantic colors
|
|
12
|
-
* ---------------------------------------------------------------------- */
|
|
10
|
+
/* ── Surfaces & semantic colors ────────────────────────────────────────────────────────────────────────────────── */
|
|
13
11
|
|
|
14
12
|
--background: oklch(1 0 0); /* --color-zinc-50 */
|
|
15
13
|
--foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -34,17 +32,13 @@
|
|
|
34
32
|
--card: oklch(1 0 0); /* --color-zinc-50 */
|
|
35
33
|
--card-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
36
34
|
|
|
37
|
-
/*
|
|
38
|
-
* Form & focus
|
|
39
|
-
* ---------------------------------------------------------------------- */
|
|
35
|
+
/* ── Form & focus ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
40
36
|
|
|
41
37
|
--border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
42
38
|
--input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
43
39
|
--ring: oklch(0.705 0.015 286.067); /* --color-zinc-400 */
|
|
44
40
|
|
|
45
|
-
/*
|
|
46
|
-
* Sidebar
|
|
47
|
-
* ---------------------------------------------------------------------- */
|
|
41
|
+
/* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
48
42
|
|
|
49
43
|
--sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
|
|
50
44
|
--sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
|
|
@@ -55,9 +49,7 @@
|
|
|
55
49
|
--sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
|
|
56
50
|
--sidebar-ring: oklch(0.705 0.015 286.067); /* --color-zinc-400 */
|
|
57
51
|
|
|
58
|
-
/*
|
|
59
|
-
* Charts
|
|
60
|
-
* ---------------------------------------------------------------------- */
|
|
52
|
+
/* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
61
53
|
|
|
62
54
|
--chart-1: oklch(0.646 0.222 41.116); /* --color-orange-600 */
|
|
63
55
|
--chart-2: oklch(0.6 0.118 184.704); /* --color-teal-600 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, useRef, useState } from "react";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Produces a smoothly animated numeric value in response to changes.
|
|
5
5
|
*
|
|
6
6
|
* Applies a time-based easing (easeOutQuad) between the current and target values
|
|
7
7
|
* over the specified duration. When disabled, the value updates immediately.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Provides clipboard copy capability with a transient copied state.
|
|
5
5
|
*
|
|
6
6
|
* Internally uses the Clipboard API when available and sets a temporary
|
|
7
7
|
* `isCopied` flag for UI feedback. A custom callback may be invoked upon copy.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMediaQuery } from "#/hooks/use-media-query";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Determines whether the current viewport should be treated as mobile.
|
|
5
5
|
*
|
|
6
6
|
* Uses {@link useMediaQuery} to evaluate a max-width media query derived from the
|
|
7
7
|
* provided breakpoint. By default, widths below 768px are considered mobile.
|
|
@@ -58,7 +58,7 @@ export function useMediaQuery(query: string): boolean {
|
|
|
58
58
|
mediaQueryList.addEventListener("change", onChange);
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Removes the event listener on unmount or when the query changes.
|
|
62
62
|
*/
|
|
63
63
|
return (): void => {
|
|
64
64
|
mediaQueryList.removeEventListener("change", onChange);
|
|
@@ -12,10 +12,11 @@ import {
|
|
|
12
12
|
import { AUTOSCROLLING_CLEAR_DELAY, SCROLL_POSITION_EPSILON } from "#/lib/message-scroller/types";
|
|
13
13
|
import type { MessageScrollerScrollOptions } from "#/lib/message-scroller/types";
|
|
14
14
|
|
|
15
|
-
// Imperative scroll primitives, split from the controller so the move mechanics
|
|
16
|
-
// live apart from the policy that decides when to run them. Each command resolves
|
|
17
|
-
// a target scrollTop and returns false when the viewport is not mounted yet.
|
|
18
15
|
/**
|
|
16
|
+
* Imperative scroll primitives, split from the controller so the move mechanics
|
|
17
|
+
* live apart from the policy that decides when to run them. Each command resolves
|
|
18
|
+
* a target scrollTop and returns false when the viewport is not mounted yet.
|
|
19
|
+
*
|
|
19
20
|
* @since 0.5.0-canary.3
|
|
20
21
|
*/
|
|
21
22
|
function useMessageScrollerCommands({
|
|
@@ -48,10 +48,11 @@ function useElementRef(elementRef: RefObject<HTMLDivElement | null>, onMount: ()
|
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
// Orchestrator hook. Decides when to scroll and delegates the moves to
|
|
52
|
-
// useMessageScrollerCommands; state and visibility commits are coalesced on a
|
|
53
|
-
// requestAnimationFrame and torn down on cleanup for StrictMode safety.
|
|
54
51
|
/**
|
|
52
|
+
* Orchestrator hook. Decides when to scroll and delegates the moves to
|
|
53
|
+
* useMessageScrollerCommands; state and visibility commits are coalesced on a
|
|
54
|
+
* requestAnimationFrame and torn down on cleanup for StrictMode safety.
|
|
55
|
+
*
|
|
55
56
|
* @since 0.5.0-canary.3
|
|
56
57
|
*/
|
|
57
58
|
function useMessageScrollerController({
|