@neynar/ui 0.1.1
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/LICENSE +21 -0
- package/README.md +195 -0
- package/dist/components/ui/accordion.d.ts +229 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +247 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert.d.ts +187 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +94 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/avatar.d.ts +244 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +163 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +281 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +129 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/calendar.d.ts +169 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +365 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/carousel.d.ts +369 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +442 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +88 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/collapsible.d.ts +182 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/combobox.d.ts +270 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/command.d.ts +355 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/container.d.ts +102 -0
- package/dist/components/ui/container.d.ts.map +1 -0
- package/dist/components/ui/context-menu.d.ts +339 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/date-picker.d.ts +145 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +322 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/drawer.d.ts +154 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +349 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/empty-state.d.ts +133 -0
- package/dist/components/ui/empty-state.d.ts.map +1 -0
- package/dist/components/ui/hover-card.d.ts +109 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +89 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +93 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/menubar.d.ts +306 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +318 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/pagination.d.ts +343 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +178 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/progress.d.ts +64 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/radio-group.d.ts +144 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/resizable.d.ts +164 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +82 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +316 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +80 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +346 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sidebar.d.ts +1561 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/skeleton.d.ts +66 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/slider.d.ts +95 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/sonner.d.ts +101 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/stack.d.ts +192 -0
- package/dist/components/ui/stack.d.ts.map +1 -0
- package/dist/components/ui/stories/accordion.stories.d.ts +71 -0
- package/dist/components/ui/stories/accordion.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/alert-dialog.stories.d.ts +39 -0
- package/dist/components/ui/stories/alert-dialog.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/alert.stories.d.ts +48 -0
- package/dist/components/ui/stories/alert.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/aspect-ratio.stories.d.ts +53 -0
- package/dist/components/ui/stories/aspect-ratio.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/avatar.stories.d.ts +49 -0
- package/dist/components/ui/stories/avatar.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/badge.stories.d.ts +64 -0
- package/dist/components/ui/stories/badge.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/breadcrumb.stories.d.ts +27 -0
- package/dist/components/ui/stories/breadcrumb.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/button.stories.d.ts +92 -0
- package/dist/components/ui/stories/button.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/calendar.stories.d.ts +94 -0
- package/dist/components/ui/stories/calendar.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/card.stories.d.ts +29 -0
- package/dist/components/ui/stories/card.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/carousel.stories.d.ts +42 -0
- package/dist/components/ui/stories/carousel.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/chart.stories.d.ts +51 -0
- package/dist/components/ui/stories/chart.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/checkbox.stories.d.ts +72 -0
- package/dist/components/ui/stories/checkbox.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/cn.stories.d.ts +19 -0
- package/dist/components/ui/stories/cn.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/collapsible.stories.d.ts +51 -0
- package/dist/components/ui/stories/collapsible.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/colors.stories.d.ts +31 -0
- package/dist/components/ui/stories/colors.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/combobox.stories.d.ts +89 -0
- package/dist/components/ui/stories/combobox.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/command.stories.d.ts +69 -0
- package/dist/components/ui/stories/command.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/container.stories.d.ts +42 -0
- package/dist/components/ui/stories/container.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/context-menu.stories.d.ts +32 -0
- package/dist/components/ui/stories/context-menu.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/date-picker.stories.d.ts +67 -0
- package/dist/components/ui/stories/date-picker.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/dialog.stories.d.ts +48 -0
- package/dist/components/ui/stories/dialog.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/drawer.stories.d.ts +33 -0
- package/dist/components/ui/stories/drawer.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/dropdown-menu.stories.d.ts +31 -0
- package/dist/components/ui/stories/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/empty-state.stories.d.ts +74 -0
- package/dist/components/ui/stories/empty-state.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/hover-card.stories.d.ts +35 -0
- package/dist/components/ui/stories/hover-card.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/input.stories.d.ts +69 -0
- package/dist/components/ui/stories/input.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/label.stories.d.ts +47 -0
- package/dist/components/ui/stories/label.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/menubar.stories.d.ts +39 -0
- package/dist/components/ui/stories/menubar.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/navigation-menu.stories.d.ts +44 -0
- package/dist/components/ui/stories/navigation-menu.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/pagination.stories.d.ts +33 -0
- package/dist/components/ui/stories/pagination.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/popover.stories.d.ts +36 -0
- package/dist/components/ui/stories/popover.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/progress.stories.d.ts +38 -0
- package/dist/components/ui/stories/progress.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/radio-group.stories.d.ts +76 -0
- package/dist/components/ui/stories/radio-group.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/resizable.stories.d.ts +49 -0
- package/dist/components/ui/stories/resizable.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/scroll-area.stories.d.ts +35 -0
- package/dist/components/ui/stories/scroll-area.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/select.stories.d.ts +51 -0
- package/dist/components/ui/stories/select.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/separator.stories.d.ts +58 -0
- package/dist/components/ui/stories/separator.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/sheet.stories.d.ts +43 -0
- package/dist/components/ui/stories/sheet.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/sidebar.stories.d.ts +60 -0
- package/dist/components/ui/stories/sidebar.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/skeleton.stories.d.ts +42 -0
- package/dist/components/ui/stories/skeleton.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/slider.stories.d.ts +99 -0
- package/dist/components/ui/stories/slider.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/sonner.stories.d.ts +9 -0
- package/dist/components/ui/stories/sonner.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/stack.stories.d.ts +39 -0
- package/dist/components/ui/stories/stack.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/switch.stories.d.ts +71 -0
- package/dist/components/ui/stories/switch.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/table.stories.d.ts +40 -0
- package/dist/components/ui/stories/table.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/tabs.stories.d.ts +62 -0
- package/dist/components/ui/stories/tabs.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/text-field.stories.d.ts +78 -0
- package/dist/components/ui/stories/text-field.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/textarea.stories.d.ts +57 -0
- package/dist/components/ui/stories/textarea.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/theme-toggle.stories.d.ts +71 -0
- package/dist/components/ui/stories/theme-toggle.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/theme.stories.d.ts +51 -0
- package/dist/components/ui/stories/theme.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/toggle-group.stories.d.ts +71 -0
- package/dist/components/ui/stories/toggle-group.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/toggle.stories.d.ts +78 -0
- package/dist/components/ui/stories/toggle.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/tooltip.stories.d.ts +37 -0
- package/dist/components/ui/stories/tooltip.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/typography.stories.d.ts +137 -0
- package/dist/components/ui/stories/typography.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/use-mobile.stories.d.ts +20 -0
- package/dist/components/ui/stories/use-mobile.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/use-theme.stories.d.ts +23 -0
- package/dist/components/ui/stories/use-theme.stories.d.ts.map +1 -0
- package/dist/components/ui/switch.d.ts +84 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/table.d.ts +321 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +260 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/text-field.d.ts +157 -0
- package/dist/components/ui/text-field.d.ts.map +1 -0
- package/dist/components/ui/textarea.d.ts +84 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/theme-toggle.d.ts +105 -0
- package/dist/components/ui/theme-toggle.d.ts.map +1 -0
- package/dist/components/ui/theme.d.ts +110 -0
- package/dist/components/ui/theme.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +133 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle.d.ts +84 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +202 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/typography.d.ts +287 -0
- package/dist/components/ui/typography.d.ts.map +1 -0
- package/dist/hooks/use-mobile.d.ts +74 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +142 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27498 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.d.ts +43 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/docs/llm/colors.md +273 -0
- package/docs/llm/components/buttons.md +68 -0
- package/docs/llm/components/cards.md +53 -0
- package/docs/llm/components/display.md +134 -0
- package/docs/llm/components/feedback.md +96 -0
- package/docs/llm/components/forms.md +90 -0
- package/docs/llm/components/layout.md +59 -0
- package/docs/llm/components/menus.md +70 -0
- package/docs/llm/components/navigation.md +80 -0
- package/docs/llm/components/overlays.md +83 -0
- package/docs/llm/components/tables.md +73 -0
- package/docs/llm/components/typography.md +199 -0
- package/docs/llm/components/utilities.md +114 -0
- package/docs/llm/guide.md +165 -0
- package/llms.txt +122 -0
- package/package.json +104 -0
- package/src/components/ui/accordion.tsx +285 -0
- package/src/components/ui/alert-dialog.tsx +387 -0
- package/src/components/ui/alert.tsx +243 -0
- package/src/components/ui/aspect-ratio.tsx +99 -0
- package/src/components/ui/avatar.tsx +288 -0
- package/src/components/ui/badge.tsx +205 -0
- package/src/components/ui/breadcrumb.tsx +378 -0
- package/src/components/ui/button.tsx +195 -0
- package/src/components/ui/calendar.tsx +371 -0
- package/src/components/ui/card.tsx +447 -0
- package/src/components/ui/carousel.tsx +624 -0
- package/src/components/ui/chart.tsx +802 -0
- package/src/components/ui/checkbox.tsx +113 -0
- package/src/components/ui/collapsible.tsx +207 -0
- package/src/components/ui/combobox.tsx +373 -0
- package/src/components/ui/command.tsx +518 -0
- package/src/components/ui/container.tsx +114 -0
- package/src/components/ui/context-menu.tsx +563 -0
- package/src/components/ui/date-picker.tsx +213 -0
- package/src/components/ui/dialog.tsx +447 -0
- package/src/components/ui/drawer.tsx +273 -0
- package/src/components/ui/dropdown-menu.tsx +578 -0
- package/src/components/ui/empty-state.tsx +145 -0
- package/src/components/ui/hover-card.tsx +144 -0
- package/src/components/ui/input.tsx +106 -0
- package/src/components/ui/label.tsx +110 -0
- package/src/components/ui/menubar.tsx +553 -0
- package/src/components/ui/navigation-menu.tsx +471 -0
- package/src/components/ui/pagination.tsx +456 -0
- package/src/components/ui/popover.tsx +216 -0
- package/src/components/ui/progress.tsx +88 -0
- package/src/components/ui/radio-group.tsx +183 -0
- package/src/components/ui/resizable.tsx +209 -0
- package/src/components/ui/scroll-area.tsx +132 -0
- package/src/components/ui/select.tsx +485 -0
- package/src/components/ui/separator.tsx +101 -0
- package/src/components/ui/sheet.tsx +495 -0
- package/src/components/ui/sidebar.tsx +2211 -0
- package/src/components/ui/skeleton.tsx +76 -0
- package/src/components/ui/slider.tsx +147 -0
- package/src/components/ui/sonner.tsx +120 -0
- package/src/components/ui/stack.tsx +180 -0
- package/src/components/ui/stories/accordion.stories.tsx +429 -0
- package/src/components/ui/stories/alert-dialog.stories.tsx +519 -0
- package/src/components/ui/stories/alert.stories.tsx +228 -0
- package/src/components/ui/stories/aspect-ratio.stories.tsx +200 -0
- package/src/components/ui/stories/avatar.stories.tsx +317 -0
- package/src/components/ui/stories/badge.stories.tsx +260 -0
- package/src/components/ui/stories/breadcrumb.stories.tsx +482 -0
- package/src/components/ui/stories/button.stories.tsx +266 -0
- package/src/components/ui/stories/calendar.stories.tsx +375 -0
- package/src/components/ui/stories/card.stories.tsx +308 -0
- package/src/components/ui/stories/carousel.stories.tsx +328 -0
- package/src/components/ui/stories/chart.stories.tsx +430 -0
- package/src/components/ui/stories/checkbox.stories.tsx +297 -0
- package/src/components/ui/stories/cn.stories.tsx +433 -0
- package/src/components/ui/stories/collapsible.stories.tsx +256 -0
- package/src/components/ui/stories/colors.stories.tsx +502 -0
- package/src/components/ui/stories/combobox.stories.tsx +301 -0
- package/src/components/ui/stories/command.stories.tsx +632 -0
- package/src/components/ui/stories/container.stories.tsx +250 -0
- package/src/components/ui/stories/context-menu.stories.tsx +446 -0
- package/src/components/ui/stories/date-picker.stories.tsx +378 -0
- package/src/components/ui/stories/dialog.stories.tsx +535 -0
- package/src/components/ui/stories/drawer.stories.tsx +364 -0
- package/src/components/ui/stories/dropdown-menu.stories.tsx +374 -0
- package/src/components/ui/stories/empty-state.stories.tsx +244 -0
- package/src/components/ui/stories/hover-card.stories.tsx +355 -0
- package/src/components/ui/stories/input.stories.tsx +289 -0
- package/src/components/ui/stories/label.stories.tsx +294 -0
- package/src/components/ui/stories/menubar.stories.tsx +764 -0
- package/src/components/ui/stories/navigation-menu.stories.tsx +539 -0
- package/src/components/ui/stories/pagination.stories.tsx +604 -0
- package/src/components/ui/stories/popover.stories.tsx +392 -0
- package/src/components/ui/stories/progress.stories.tsx +218 -0
- package/src/components/ui/stories/radio-group.stories.tsx +400 -0
- package/src/components/ui/stories/resizable.stories.tsx +417 -0
- package/src/components/ui/stories/scroll-area.stories.tsx +180 -0
- package/src/components/ui/stories/select.stories.tsx +389 -0
- package/src/components/ui/stories/separator.stories.tsx +192 -0
- package/src/components/ui/stories/sheet.stories.tsx +468 -0
- package/src/components/ui/stories/sidebar.stories.tsx +731 -0
- package/src/components/ui/stories/skeleton.stories.tsx +216 -0
- package/src/components/ui/stories/slider.stories.tsx +321 -0
- package/src/components/ui/stories/sonner.stories.tsx +373 -0
- package/src/components/ui/stories/stack.stories.tsx +222 -0
- package/src/components/ui/stories/switch.stories.tsx +202 -0
- package/src/components/ui/stories/table.stories.tsx +541 -0
- package/src/components/ui/stories/tabs.stories.tsx +544 -0
- package/src/components/ui/stories/text-field.stories.tsx +280 -0
- package/src/components/ui/stories/textarea.stories.tsx +245 -0
- package/src/components/ui/stories/theme-toggle.stories.tsx +275 -0
- package/src/components/ui/stories/theme.stories.tsx +412 -0
- package/src/components/ui/stories/toggle-group.stories.tsx +337 -0
- package/src/components/ui/stories/toggle.stories.tsx +325 -0
- package/src/components/ui/stories/tooltip.stories.tsx +444 -0
- package/src/components/ui/stories/typography.stories.tsx +1586 -0
- package/src/components/ui/stories/use-mobile.stories.tsx +420 -0
- package/src/components/ui/stories/use-theme.stories.tsx +531 -0
- package/src/components/ui/switch.tsx +106 -0
- package/src/components/ui/table.tsx +424 -0
- package/src/components/ui/tabs.tsx +316 -0
- package/src/components/ui/text-field.tsx +206 -0
- package/src/components/ui/textarea.tsx +98 -0
- package/src/components/ui/theme-toggle.tsx +185 -0
- package/src/components/ui/theme.tsx +148 -0
- package/src/components/ui/toggle-group.tsx +196 -0
- package/src/components/ui/toggle.tsx +115 -0
- package/src/components/ui/tooltip.tsx +253 -0
- package/src/components/ui/typography.tsx +468 -0
- package/src/hooks/use-mobile.ts +91 -0
- package/src/hooks/use-theme.ts +319 -0
- package/src/index.ts +77 -0
- package/src/lib/utils.ts +57 -0
- package/src/styles/globals.css +160 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
|
|
4
|
+
@source "../**/*.{js,jsx,ts,tsx}";
|
|
5
|
+
|
|
6
|
+
@custom-variant dark (&:is(.dark *));
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
--radius: 0.625rem;
|
|
10
|
+
/* Map Figma colors to shadcn semantic tokens */
|
|
11
|
+
--background: oklch(from #ffffff l c h); /* Surface/Body */
|
|
12
|
+
--foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
13
|
+
--card: oklch(from #ffffff l c h); /* Surface/Body */
|
|
14
|
+
--card-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
15
|
+
--popover: oklch(from #ffffff l c h); /* Surface/Body */
|
|
16
|
+
--popover-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
17
|
+
--primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
18
|
+
--primary-foreground: oklch(from #ffffff l c h); /* Text/UI/White (fixed) */
|
|
19
|
+
--secondary: oklch(from #eeeeee l c h); /* Surface/Base */
|
|
20
|
+
--secondary-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
21
|
+
--muted: oklch(from #eeeeee l c h); /* Surface/Base */
|
|
22
|
+
--muted-foreground: oklch(from #777777 l c h); /* Text/UI/Default */
|
|
23
|
+
--accent: oklch(from #f0ebfa l c h); /* Elevation/Info/Neutral */
|
|
24
|
+
--accent-foreground: oklch(from #7360a1 l c h); /* Text/UI/Muted Info */
|
|
25
|
+
--destructive: oklch(from #ad1b20 l c h); /* Tables/Method/DEL (text) */
|
|
26
|
+
--destructive-foreground: oklch(
|
|
27
|
+
from #ffffff l c h
|
|
28
|
+
); /* Text/UI/White (fixed) */
|
|
29
|
+
--success: oklch(from #16a34a l c h); /* Success/Green */
|
|
30
|
+
--success-foreground: oklch(from #ffffff l c h); /* White text on success */
|
|
31
|
+
--warning: oklch(from #f59e0b l c h); /* Warning/Orange */
|
|
32
|
+
--warning-foreground: oklch(from #ffffff l c h); /* White text on warning */
|
|
33
|
+
--border: oklch(from #dddddd l c h); /* Borders/Muted */
|
|
34
|
+
--input: oklch(from #ffffff l c h); /* Surface/Field */
|
|
35
|
+
--ring: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
36
|
+
--chart-1: oklch(from #829ae0 l c h); /* Charts/Blue 1 */
|
|
37
|
+
--chart-2: oklch(from #1a75ff l c h); /* Charts/Blue 2 */
|
|
38
|
+
--chart-3: oklch(from #c6acde l c h); /* Charts/Purple 1 */
|
|
39
|
+
--chart-4: oklch(from #9c27b0 l c h); /* Charts/Purple 2 */
|
|
40
|
+
--chart-5: oklch(from #7dc6da l c h); /* Charts/Violet */
|
|
41
|
+
--sidebar: oklch(from #ffffff l c h); /* Surface/Body */
|
|
42
|
+
--sidebar-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
43
|
+
--sidebar-primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
44
|
+
--sidebar-primary-foreground: oklch(
|
|
45
|
+
from #ffffff l c h
|
|
46
|
+
); /* Text/UI/White (fixed) */
|
|
47
|
+
--sidebar-accent: oklch(from #eeeeee l c h); /* Surface/Base */
|
|
48
|
+
--sidebar-accent-foreground: oklch(
|
|
49
|
+
from #000000 l c h
|
|
50
|
+
); /* Text/Content/Headers */
|
|
51
|
+
--sidebar-border: oklch(from #dddddd l c h); /* Borders/Muted */
|
|
52
|
+
--sidebar-ring: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.dark {
|
|
56
|
+
/* Dark mode using actual Figma-defined dark mode colors */
|
|
57
|
+
--background: oklch(from #161517 l c h); /* Surface/Body Dark */
|
|
58
|
+
--foreground: oklch(from #ffffff l c h); /* Text/UI/Active Dark */
|
|
59
|
+
--card: oklch(from #222222 l c h); /* Surface/Feature Neutral Dark */
|
|
60
|
+
--card-foreground: oklch(from #ffffff l c h); /* Text/UI/Active Dark */
|
|
61
|
+
--popover: oklch(from #222222 l c h); /* Surface/Body Dark */
|
|
62
|
+
--popover-foreground: oklch(from #ffffff l c h); /* Text/UI/Active Dark */
|
|
63
|
+
--primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
64
|
+
--primary-foreground: oklch(from #ffffff l c h); /* Text/UI/White (fixed) */
|
|
65
|
+
--secondary: oklch(from #161517 l c h); /* Surface/Base Dark */
|
|
66
|
+
--secondary-foreground: oklch(
|
|
67
|
+
from #ffffff l c h
|
|
68
|
+
); /* Text/UI/Black > White Dark */
|
|
69
|
+
--muted: oklch(from #333333 l c h); /* Surface/Feature/Neutral Dark */
|
|
70
|
+
--muted-foreground: oklch(from #bbbbbb l c h); /* Text/UI/Default Dark */
|
|
71
|
+
--accent: oklch(from #25212b l c h); /* Elevation/Info/Neutral Dark */
|
|
72
|
+
--accent-foreground: oklch(from #7360a1 l c h); /* Text/UI/Muted Info */
|
|
73
|
+
--destructive: oklch(from #ad1b20 l c h); /* Tables/Method/DEL (text) */
|
|
74
|
+
--destructive-foreground: oklch(
|
|
75
|
+
from #ffffff l c h
|
|
76
|
+
); /* Text/UI/White (fixed) */
|
|
77
|
+
--success: oklch(from #22c55e l c h); /* Success/Green Dark */
|
|
78
|
+
--success-foreground: oklch(from #ffffff l c h); /* White text on success */
|
|
79
|
+
--warning: oklch(from #fbbf24 l c h); /* Warning/Orange Dark */
|
|
80
|
+
--warning-foreground: oklch(from #000000 l c h); /* Black text on warning */
|
|
81
|
+
--border: oklch(from #444444 l c h); /* Borders/Muted Dark */
|
|
82
|
+
--input: oklch(from #222222 l c h); /* Surface/Field Dark */
|
|
83
|
+
--ring: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
84
|
+
--chart-1: oklch(from #829ae0 l c h); /* Charts/Blue 1 */
|
|
85
|
+
--chart-2: oklch(from #1a75ff l c h); /* Charts/Blue 2 */
|
|
86
|
+
--chart-3: oklch(from #c6acde l c h); /* Charts/Purple 1 */
|
|
87
|
+
--chart-4: oklch(from #9c27b0 l c h); /* Charts/Purple 2 */
|
|
88
|
+
--chart-5: oklch(from #7dc6da l c h); /* Charts/Violet */
|
|
89
|
+
--sidebar: oklch(from #222222 l c h); /* Surface/Body Dark */
|
|
90
|
+
--sidebar-foreground: oklch(from #ffffff l c h); /* Text/UI/White (fixed) */
|
|
91
|
+
--sidebar-primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
92
|
+
--sidebar-primary-foreground: oklch(
|
|
93
|
+
from #ffffff l c h
|
|
94
|
+
); /* Text/UI/White (fixed) */
|
|
95
|
+
--sidebar-accent: oklch(from #161517 l c h); /* Surface/Base Dark */
|
|
96
|
+
--sidebar-accent-foreground: oklch(
|
|
97
|
+
from #ffffff l c h
|
|
98
|
+
); /* Text/UI/Black > White Dark */
|
|
99
|
+
--sidebar-border: oklch(from #444444 l c h); /* Borders/Muted Dark */
|
|
100
|
+
--sidebar-ring: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@theme inline {
|
|
104
|
+
--color-background: var(--background);
|
|
105
|
+
--color-foreground: var(--foreground);
|
|
106
|
+
--color-card: var(--card);
|
|
107
|
+
--color-card-foreground: var(--card-foreground);
|
|
108
|
+
--color-popover: var(--popover);
|
|
109
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
110
|
+
--color-primary: var(--primary);
|
|
111
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
112
|
+
--color-secondary: var(--secondary);
|
|
113
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
114
|
+
--color-muted: var(--muted);
|
|
115
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
116
|
+
--color-accent: var(--accent);
|
|
117
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
118
|
+
--color-destructive: var(--destructive);
|
|
119
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
120
|
+
--color-success: var(--success);
|
|
121
|
+
--color-success-foreground: var(--success-foreground);
|
|
122
|
+
--color-warning: var(--warning);
|
|
123
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
124
|
+
--color-border: var(--border);
|
|
125
|
+
--color-input: var(--input);
|
|
126
|
+
--color-ring: var(--ring);
|
|
127
|
+
--color-chart-1: var(--chart-1);
|
|
128
|
+
--color-chart-2: var(--chart-2);
|
|
129
|
+
--color-chart-3: var(--chart-3);
|
|
130
|
+
--color-chart-4: var(--chart-4);
|
|
131
|
+
--color-chart-5: var(--chart-5);
|
|
132
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
133
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
134
|
+
--radius-lg: var(--radius);
|
|
135
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
136
|
+
--color-sidebar: var(--sidebar);
|
|
137
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
138
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
139
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
140
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
141
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
142
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
143
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
144
|
+
|
|
145
|
+
/* Override Tailwind's default fontSize scale to match design system */
|
|
146
|
+
--text-xs: 0.75rem; /* 12px - Details */
|
|
147
|
+
--text-sm: 0.875rem; /* 14px - Body */
|
|
148
|
+
--text-base: 1.0625rem; /* 17px - Sub Headings, Fields, Code, Table */
|
|
149
|
+
--text-lg: 1.25rem; /* 20px - Headings */
|
|
150
|
+
--text-microcopy: 0.625rem; /* 10px - Microcopy (custom) */
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@layer base {
|
|
154
|
+
* {
|
|
155
|
+
@apply border-border outline-ring/50;
|
|
156
|
+
}
|
|
157
|
+
body {
|
|
158
|
+
@apply bg-background text-foreground;
|
|
159
|
+
}
|
|
160
|
+
}
|