@tenerife.music/ui 1.0.8 → 1.0.12
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/dist/{tokens/colors.d.ts → colors-DPNI96bB.d.cts} +21 -19
- package/dist/colors-DPNI96bB.d.ts +289 -0
- package/dist/index.cjs +15605 -2
- package/dist/index.d.cts +3726 -0
- package/dist/index.d.ts +3726 -39
- package/dist/index.mjs +12883 -5567
- package/dist/preset.cjs +1264 -2
- package/dist/preset.d.cts +21 -0
- package/dist/preset.d.ts +3 -1
- package/dist/preset.mjs +1165 -95
- package/dist/styles.cjs +2 -2
- package/dist/styles.css +87 -1
- package/dist/styles.d.cts +2 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.mjs +1 -1
- package/dist/theme/index.cjs +2647 -2
- package/dist/theme/index.d.cts +528 -0
- package/dist/theme/index.d.ts +528 -8
- package/dist/theme/index.mjs +1610 -575
- package/dist/tokens/index.cjs +5678 -5
- package/dist/tokens/index.d.cts +5488 -0
- package/dist/tokens/index.d.ts +5488 -9
- package/dist/tokens/index.mjs +2076 -154
- package/package.json +3 -3
- package/dist/animation/index.d.ts +0 -8
- package/dist/animation/presets.d.ts +0 -301
- package/dist/animation/tas.d.ts +0 -24
- package/dist/animation/types.d.ts +0 -67
- package/dist/animation/useInView.d.ts +0 -36
- package/dist/animation/utils.d.ts +0 -6
- package/dist/brand-C5R2semX.js +0 -45
- package/dist/brand-DQb18Frh.cjs +0 -2
- package/dist/components/SectionBuilder.d.ts +0 -36
- package/dist/components/SectionBuilder.presets.d.ts +0 -228
- package/dist/components/SectionBuilder.types.d.ts +0 -326
- package/dist/components/admin/Dashboard.d.ts +0 -8
- package/dist/components/admin/UserManagement.d.ts +0 -8
- package/dist/components/auth/LoginForm.d.ts +0 -11
- package/dist/components/auth/ProfileCard.d.ts +0 -9
- package/dist/components/auth/RegisterForm.d.ts +0 -13
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +0 -22
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +0 -46
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +0 -83
- package/dist/components/cards/ArtistCard/index.d.ts +0 -8
- package/dist/components/cards/CardBase/CardBase.d.ts +0 -45
- package/dist/components/cards/CardBase/CardBase.types.d.ts +0 -70
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +0 -38
- package/dist/components/cards/CardBase/index.d.ts +0 -8
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +0 -18
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +0 -38
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +0 -21
- package/dist/components/cards/CategoryCard/index.d.ts +0 -7
- package/dist/components/cards/EventCard/EventCard.d.ts +0 -19
- package/dist/components/cards/EventCard/EventCard.types.d.ts +0 -47
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +0 -70
- package/dist/components/cards/EventCard/index.d.ts +0 -7
- package/dist/components/cards/PromoCard/PromoCard.d.ts +0 -20
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +0 -42
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +0 -35
- package/dist/components/cards/PromoCard/index.d.ts +0 -7
- package/dist/components/cards/TicketCard/TicketCard.d.ts +0 -19
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +0 -55
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +0 -71
- package/dist/components/cards/TicketCard/index.d.ts +0 -7
- package/dist/components/cards/VenueCard/VenueCard.d.ts +0 -21
- package/dist/components/cards/VenueCard/VenueCard.types.d.ts +0 -46
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +0 -60
- package/dist/components/cards/VenueCard/index.d.ts +0 -8
- package/dist/components/cards/index.d.ts +0 -19
- package/dist/components/checkbox/Checkbox.d.ts +0 -22
- package/dist/components/checkbox/Checkbox.types.d.ts +0 -68
- package/dist/components/checkbox/checkbox-variants.d.ts +0 -13
- package/dist/components/checkbox/index.d.ts +0 -3
- package/dist/components/containers/Card.d.ts +0 -75
- package/dist/components/containers/Section.d.ts +0 -31
- package/dist/components/containers/Surface.d.ts +0 -28
- package/dist/components/containers/index.d.ts +0 -9
- package/dist/components/controls/LanguageSelector.d.ts +0 -17
- package/dist/components/data/List.d.ts +0 -12
- package/dist/components/data/Table.d.ts +0 -14
- package/dist/components/data/Timeline.d.ts +0 -13
- package/dist/components/data/data-list/DataList.d.ts +0 -29
- package/dist/components/data/data-list/DataList.types.d.ts +0 -43
- package/dist/components/data/data-list/DataListItem.d.ts +0 -20
- package/dist/components/data/data-list/DataListLabel.d.ts +0 -19
- package/dist/components/data/data-list/DataListValue.d.ts +0 -18
- package/dist/components/data/data-list/index.d.ts +0 -10
- package/dist/components/data/empty-state/EmptyState.d.ts +0 -31
- package/dist/components/data/empty-state/EmptyState.types.d.ts +0 -51
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +0 -22
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +0 -17
- package/dist/components/data/empty-state/index.d.ts +0 -10
- package/dist/components/data/index.d.ts +0 -9
- package/dist/components/data/skeleton/Skeleton.d.ts +0 -24
- package/dist/components/data/skeleton/Skeleton.types.d.ts +0 -12
- package/dist/components/data/skeleton/index.d.ts +0 -6
- package/dist/components/data/table/Table.d.ts +0 -33
- package/dist/components/data/table/Table.types.d.ts +0 -264
- package/dist/components/data/table/TableBody.d.ts +0 -13
- package/dist/components/data/table/TableCell.d.ts +0 -13
- package/dist/components/data/table/TableEmpty.d.ts +0 -13
- package/dist/components/data/table/TableExpandableContent.d.ts +0 -14
- package/dist/components/data/table/TableHead.d.ts +0 -13
- package/dist/components/data/table/TableHeader.d.ts +0 -13
- package/dist/components/data/table/TableLoadingState.d.ts +0 -13
- package/dist/components/data/table/TableRow.d.ts +0 -13
- package/dist/components/data/table/TableSortIcon.d.ts +0 -14
- package/dist/components/data/table/index.d.ts +0 -17
- package/dist/components/drawer/Drawer.d.ts +0 -41
- package/dist/components/drawer/Drawer.types.d.ts +0 -75
- package/dist/components/drawer/drawer-variants.d.ts +0 -17
- package/dist/components/drawer/index.d.ts +0 -8
- package/dist/components/dropdown/Dropdown.d.ts +0 -38
- package/dist/components/dropdown/Dropdown.types.d.ts +0 -82
- package/dist/components/dropdown/dropdown-variants.d.ts +0 -33
- package/dist/components/feedback/ConsentBanner.d.ts +0 -8
- package/dist/components/feedback/Progress.d.ts +0 -8
- package/dist/components/feedback/Skeleton.d.ts +0 -6
- package/dist/components/filters/DateRangePicker.d.ts +0 -21
- package/dist/components/filters/FilterBar.d.ts +0 -55
- package/dist/components/filters/FilterSelect.d.ts +0 -23
- package/dist/components/filters/PriceRangeSlider.d.ts +0 -27
- package/dist/components/filters/SearchFilters.d.ts +0 -32
- package/dist/components/filters/SearchInput.d.ts +0 -16
- package/dist/components/filters/types.d.ts +0 -48
- package/dist/components/icon/Icon.d.ts +0 -32
- package/dist/components/icon/Icon.types.d.ts +0 -7
- package/dist/components/icon/index.d.ts +0 -4
- package/dist/components/icons/TrendingIcon.d.ts +0 -6
- package/dist/components/image/Image.d.ts +0 -48
- package/dist/components/input/Input.d.ts +0 -20
- package/dist/components/input/Input.types.d.ts +0 -38
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/input-variants.d.ts +0 -14
- package/dist/components/input/legacy/input.d.ts +0 -11
- package/dist/components/layout/Box.d.ts +0 -111
- package/dist/components/layout/Column.d.ts +0 -6
- package/dist/components/layout/Container.d.ts +0 -31
- package/dist/components/layout/Flex.d.ts +0 -50
- package/dist/components/layout/Footer.d.ts +0 -9
- package/dist/components/layout/Grid.d.ts +0 -60
- package/dist/components/layout/ModeHero.d.ts +0 -10
- package/dist/components/layout/Navbar.d.ts +0 -9
- package/dist/components/layout/Row.d.ts +0 -28
- package/dist/components/layout/Section.d.ts +0 -10
- package/dist/components/layout/Stack.d.ts +0 -38
- package/dist/components/layout/Surface.d.ts +0 -21
- package/dist/components/layout/index.d.ts +0 -22
- package/dist/components/layout/layout.types.d.ts +0 -107
- package/dist/components/menus/DropdownMenu.d.ts +0 -27
- package/dist/components/menus/NavigationMenu.d.ts +0 -12
- package/dist/components/menus/Tabs.d.ts +0 -7
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +0 -22
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +0 -47
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +0 -16
- package/dist/components/menus/context-menu/index.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +0 -15
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +0 -30
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +0 -17
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +0 -24
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +0 -33
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +0 -10
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +0 -14
- package/dist/components/menus/dropdown/index.d.ts +0 -18
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +0 -14
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +0 -20
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +0 -13
- package/dist/components/menus/hover-card/index.d.ts +0 -8
- package/dist/components/menus/index.d.ts +0 -9
- package/dist/components/menus/popover/PopoverArrow.d.ts +0 -17
- package/dist/components/menus/popover/PopoverContent.d.ts +0 -24
- package/dist/components/menus/popover/PopoverRoot.d.ts +0 -43
- package/dist/components/menus/popover/PopoverTrigger.d.ts +0 -17
- package/dist/components/menus/popover/index.d.ts +0 -9
- package/dist/components/modal/Modal.d.ts +0 -70
- package/dist/components/modal/modal-variants.d.ts +0 -26
- package/dist/components/modals/ConfirmDialog.d.ts +0 -27
- package/dist/components/modals/CustomDialog.d.ts +0 -10
- package/dist/components/modals/Modal.d.ts +0 -19
- package/dist/components/modals/ModalProvider.d.ts +0 -16
- package/dist/components/modals/SimpleModal.d.ts +0 -11
- package/dist/components/navigation/Breadcrumbs.d.ts +0 -12
- package/dist/components/navigation/Pagination.d.ts +0 -10
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +0 -52
- package/dist/components/navigation/breadcrumbs/index.d.ts +0 -5
- package/dist/components/navigation/index.d.ts +0 -10
- package/dist/components/navigation/pagination/Pagination.d.ts +0 -60
- package/dist/components/navigation/pagination/index.d.ts +0 -5
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +0 -43
- package/dist/components/navigation/segmented-control/index.d.ts +0 -5
- package/dist/components/navigation/stepper/Stepper.d.ts +0 -129
- package/dist/components/navigation/stepper/index.d.ts +0 -5
- package/dist/components/navigation/tabs/Tabs.d.ts +0 -73
- package/dist/components/navigation/tabs/index.d.ts +0 -5
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +0 -21
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +0 -23
- package/dist/components/notifications/NotificationCenter.Item.d.ts +0 -24
- package/dist/components/notifications/NotificationCenter.List.d.ts +0 -22
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +0 -32
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +0 -31
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +0 -15
- package/dist/components/notifications/NotificationCenter.d.ts +0 -27
- package/dist/components/notifications/NotificationCenter.types.d.ts +0 -89
- package/dist/components/notifications/index.d.ts +0 -23
- package/dist/components/notifications/useNotificationCenter.d.ts +0 -47
- package/dist/components/overlays/Backdrop.d.ts +0 -24
- package/dist/components/overlays/Dialog.d.ts +0 -66
- package/dist/components/overlays/Modal.d.ts +0 -60
- package/dist/components/overlays/OverlayPortal.d.ts +0 -22
- package/dist/components/overlays/Popover.d.ts +0 -30
- package/dist/components/overlays/Portal.d.ts +0 -29
- package/dist/components/overlays/Toast.d.ts +0 -36
- package/dist/components/overlays/ToastProvider.d.ts +0 -58
- package/dist/components/overlays/ToastViewport.d.ts +0 -27
- package/dist/components/overlays/Tooltip.d.ts +0 -28
- package/dist/components/overlays/index.d.ts +0 -13
- package/dist/components/overlays/utils/FocusLock.d.ts +0 -30
- package/dist/components/overlays/utils/ScrollLock.d.ts +0 -11
- package/dist/components/overlays/utils/positioning.d.ts +0 -68
- package/dist/components/primitives/Badge.d.ts +0 -9
- package/dist/components/primitives/Button.d.ts +0 -1
- package/dist/components/primitives/Card.d.ts +0 -1
- package/dist/components/primitives/Divider.d.ts +0 -7
- package/dist/components/primitives/Input.d.ts +0 -4
- package/dist/components/primitives/Label.d.ts +0 -1
- package/dist/components/primitives/Link.d.ts +0 -13
- package/dist/components/primitives/ThemeSwitch.d.ts +0 -9
- package/dist/components/radio/Radio.d.ts +0 -23
- package/dist/components/radio/Radio.types.d.ts +0 -63
- package/dist/components/radio/RadioGroup.d.ts +0 -20
- package/dist/components/radio/RadioGroup.types.d.ts +0 -61
- package/dist/components/radio/index.d.ts +0 -5
- package/dist/components/radio/radio-variants.d.ts +0 -13
- package/dist/components/search/SearchBar.d.ts +0 -10
- package/dist/components/sections/ArticlesSection.d.ts +0 -25
- package/dist/components/sections/CTASection.d.ts +0 -37
- package/dist/components/sections/FeatureSection.d.ts +0 -33
- package/dist/components/sections/HeroSection.d.ts +0 -27
- package/dist/components/sections/TrendingSection.d.ts +0 -28
- package/dist/components/select/Select.d.ts +0 -38
- package/dist/components/select/Select.types.d.ts +0 -107
- package/dist/components/select/index.d.ts +0 -5
- package/dist/components/select/legacy/select.d.ts +0 -11
- package/dist/components/select/select-variants.d.ts +0 -32
- package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -6
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -6
- package/dist/components/switch/Switch.d.ts +0 -24
- package/dist/components/switch/Switch.types.d.ts +0 -53
- package/dist/components/switch/index.d.ts +0 -3
- package/dist/components/switch/switch-variants.d.ts +0 -34
- package/dist/components/textarea/Textarea.d.ts +0 -21
- package/dist/components/textarea/Textarea.types.d.ts +0 -40
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/legacy/textarea.d.ts +0 -11
- package/dist/components/textarea/textarea-variants.d.ts +0 -14
- package/dist/components/toasts/Toast.d.ts +0 -12
- package/dist/components/toasts/ToastProvider.d.ts +0 -26
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/body.d.ts +0 -12
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/caption.d.ts +0 -11
- package/dist/components/ui/card.d.ts +0 -8
- package/dist/components/ui/code.d.ts +0 -11
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/display.d.ts +0 -12
- package/dist/components/ui/field.d.ts +0 -45
- package/dist/components/ui/heading.d.ts +0 -12
- package/dist/components/ui/label.d.ts +0 -12
- package/dist/components/ui/lead.d.ts +0 -11
- package/dist/components/ui/text.d.ts +0 -18
- package/dist/components/ui/toast.d.ts +0 -15
- package/dist/components/ui/toaster.d.ts +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/dark-Cvoy1uFT.js +0 -30
- package/dist/dark-OOhiqt1q.cjs +0 -2
- package/dist/default-BKgH1D9-.js +0 -8
- package/dist/default-Ddg7Haf2.cjs +0 -2
- package/dist/hooks/use-toast.d.ts +0 -44
- package/dist/hooks/useDebounce.d.ts +0 -19
- package/dist/hooks/useModal.d.ts +0 -19
- package/dist/hooks/useToast.d.ts +0 -26
- package/dist/icons/IconArrowRight.d.ts +0 -6
- package/dist/icons/IconCalendar.d.ts +0 -6
- package/dist/icons/IconCheck.d.ts +0 -6
- package/dist/icons/IconChevronDown.d.ts +0 -6
- package/dist/icons/IconChevronRight.d.ts +0 -6
- package/dist/icons/IconClose.d.ts +0 -6
- package/dist/icons/IconError.d.ts +0 -6
- package/dist/icons/IconInfo.d.ts +0 -6
- package/dist/icons/IconLocation.d.ts +0 -6
- package/dist/icons/IconMenu.d.ts +0 -6
- package/dist/icons/IconSearch.d.ts +0 -6
- package/dist/icons/IconSuccess.d.ts +0 -6
- package/dist/icons/IconWarning.d.ts +0 -6
- package/dist/icons/icon.types.d.ts +0 -25
- package/dist/icons/index.d.ts +0 -34
- package/dist/lib/a11y.d.ts +0 -15
- package/dist/lib/responsive-props.d.ts +0 -63
- package/dist/lib/utils.d.ts +0 -8
- package/dist/motion-CzQhSEqk.js +0 -738
- package/dist/motion-DJx1TbXJ.cjs +0 -2
- package/dist/theme/ThemeProvider.d.ts +0 -55
- package/dist/theme/applyMode.d.ts +0 -42
- package/dist/theme/colors.d.ts +0 -6
- package/dist/theme/loader.d.ts +0 -63
- package/dist/theme/motion/gestures.d.ts +0 -76
- package/dist/theme/motion/useReducedMotion.d.ts +0 -11
- package/dist/theme/motion.d.ts +0 -127
- package/dist/theme/registry.d.ts +0 -70
- package/dist/theme/schema.d.ts +0 -124
- package/dist/theme/spacing.d.ts +0 -34
- package/dist/theme/typography.d.ts +0 -45
- package/dist/themes/brand.d.ts +0 -6
- package/dist/themes/brand_engine.d.ts +0 -108
- package/dist/themes/dark.d.ts +0 -6
- package/dist/themes/default.d.ts +0 -6
- package/dist/themes/index.d.ts +0 -24
- package/dist/themes/minimal.d.ts +0 -6
- package/dist/themes/neon.d.ts +0 -6
- package/dist/themes/types.d.ts +0 -278
- package/dist/tokens/components/alert.d.ts +0 -74
- package/dist/tokens/components/button.d.ts +0 -130
- package/dist/tokens/components/card.d.ts +0 -91
- package/dist/tokens/components/checkbox.d.ts +0 -161
- package/dist/tokens/components/data.d.ts +0 -227
- package/dist/tokens/components/domain.d.ts +0 -379
- package/dist/tokens/components/dropdown.d.ts +0 -146
- package/dist/tokens/components/icon.d.ts +0 -57
- package/dist/tokens/components/index.d.ts +0 -31
- package/dist/tokens/components/input.d.ts +0 -284
- package/dist/tokens/components/menu.d.ts +0 -114
- package/dist/tokens/components/motion.d.ts +0 -103
- package/dist/tokens/components/navigation.d.ts +0 -181
- package/dist/tokens/components/notifications.d.ts +0 -159
- package/dist/tokens/components/overlay.d.ts +0 -227
- package/dist/tokens/components/popover.d.ts +0 -84
- package/dist/tokens/components/radio.d.ts +0 -149
- package/dist/tokens/components/section.d.ts +0 -41
- package/dist/tokens/components/surface.d.ts +0 -94
- package/dist/tokens/components/switch.d.ts +0 -208
- package/dist/tokens/components/text.d.ts +0 -68
- package/dist/tokens/components/toast.d.ts +0 -146
- package/dist/tokens/components/tooltip.d.ts +0 -52
- package/dist/tokens/css-variables.d.ts +0 -251
- package/dist/tokens/motion/v2.d.ts +0 -342
- package/dist/tokens/motion.d.ts +0 -485
- package/dist/tokens/opacity.d.ts +0 -22
- package/dist/tokens/radius.d.ts +0 -161
- package/dist/tokens/shadows.d.ts +0 -230
- package/dist/tokens/spacing.d.ts +0 -238
- package/dist/tokens/theme.d.ts +0 -119
- package/dist/tokens/typography.d.ts +0 -460
- package/dist/typography-C-Nb4y0o.cjs +0 -2
- package/dist/typography-DHym9KAP.js +0 -1196
package/dist/preset.cjs
CHANGED
|
@@ -1,2 +1,1264 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var plugin = require('tailwindcss/plugin');
|
|
4
|
+
|
|
5
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
6
|
+
|
|
7
|
+
var plugin__default = /*#__PURE__*/_interopDefault(plugin);
|
|
8
|
+
|
|
9
|
+
var tailwindThemeColors = {
|
|
10
|
+
// Base colors
|
|
11
|
+
background: "hsl(var(--background))",
|
|
12
|
+
foreground: "hsl(var(--foreground))",
|
|
13
|
+
// Card colors
|
|
14
|
+
card: {
|
|
15
|
+
DEFAULT: "hsl(var(--card))",
|
|
16
|
+
foreground: "hsl(var(--card-foreground))"
|
|
17
|
+
},
|
|
18
|
+
// Popover colors
|
|
19
|
+
popover: {
|
|
20
|
+
DEFAULT: "hsl(var(--popover))",
|
|
21
|
+
foreground: "hsl(var(--popover-foreground))"
|
|
22
|
+
},
|
|
23
|
+
// Primary colors (using CSS variables)
|
|
24
|
+
primary: {
|
|
25
|
+
DEFAULT: "hsl(var(--tm-primary))",
|
|
26
|
+
foreground: "hsl(var(--tm-primary-foreground))",
|
|
27
|
+
50: `hsl(var(--primary-50))`,
|
|
28
|
+
100: `hsl(var(--primary-100))`,
|
|
29
|
+
200: `hsl(var(--primary-200))`,
|
|
30
|
+
300: `hsl(var(--primary-300))`,
|
|
31
|
+
400: `hsl(var(--primary-400))`,
|
|
32
|
+
500: `hsl(var(--primary-500))`,
|
|
33
|
+
600: `hsl(var(--primary-600))`,
|
|
34
|
+
700: `hsl(var(--primary-700))`,
|
|
35
|
+
800: `hsl(var(--primary-800))`,
|
|
36
|
+
900: `hsl(var(--primary-900))`,
|
|
37
|
+
950: `hsl(var(--primary-950))`
|
|
38
|
+
},
|
|
39
|
+
// Secondary colors
|
|
40
|
+
secondary: {
|
|
41
|
+
DEFAULT: "hsl(var(--tm-secondary))",
|
|
42
|
+
foreground: "hsl(var(--tm-secondary-foreground))",
|
|
43
|
+
50: `hsl(var(--secondary-50))`,
|
|
44
|
+
100: `hsl(var(--secondary-100))`,
|
|
45
|
+
200: `hsl(var(--secondary-200))`,
|
|
46
|
+
300: `hsl(var(--secondary-300))`,
|
|
47
|
+
400: `hsl(var(--secondary-400))`,
|
|
48
|
+
500: `hsl(var(--secondary-500))`,
|
|
49
|
+
600: `hsl(var(--secondary-600))`,
|
|
50
|
+
700: `hsl(var(--secondary-700))`,
|
|
51
|
+
800: `hsl(var(--secondary-800))`,
|
|
52
|
+
900: `hsl(var(--secondary-900))`,
|
|
53
|
+
950: `hsl(var(--secondary-950))`
|
|
54
|
+
},
|
|
55
|
+
// Accent colors
|
|
56
|
+
accent: {
|
|
57
|
+
DEFAULT: "hsl(var(--tm-accent))",
|
|
58
|
+
foreground: "hsl(var(--tm-accent-foreground))",
|
|
59
|
+
50: `hsl(var(--accent-50))`,
|
|
60
|
+
100: `hsl(var(--accent-100))`,
|
|
61
|
+
200: `hsl(var(--accent-200))`,
|
|
62
|
+
300: `hsl(var(--accent-300))`,
|
|
63
|
+
400: `hsl(var(--accent-400))`,
|
|
64
|
+
500: `hsl(var(--accent-500))`,
|
|
65
|
+
600: `hsl(var(--accent-600))`,
|
|
66
|
+
700: `hsl(var(--accent-700))`,
|
|
67
|
+
800: `hsl(var(--accent-800))`,
|
|
68
|
+
900: `hsl(var(--accent-900))`,
|
|
69
|
+
950: `hsl(var(--accent-950))`
|
|
70
|
+
},
|
|
71
|
+
// Muted colors
|
|
72
|
+
muted: {
|
|
73
|
+
DEFAULT: "hsl(var(--muted))",
|
|
74
|
+
foreground: "hsl(var(--muted-foreground))"
|
|
75
|
+
},
|
|
76
|
+
// Destructive colors (semantic error)
|
|
77
|
+
destructive: {
|
|
78
|
+
DEFAULT: "hsl(var(--destructive))",
|
|
79
|
+
foreground: "hsl(var(--destructive-foreground))"
|
|
80
|
+
},
|
|
81
|
+
// Semantic colors
|
|
82
|
+
success: {
|
|
83
|
+
DEFAULT: `hsl(var(--semantic-success))`,
|
|
84
|
+
foreground: `hsl(var(--semantic-success-foreground))`
|
|
85
|
+
},
|
|
86
|
+
error: {
|
|
87
|
+
DEFAULT: `hsl(var(--semantic-error))`,
|
|
88
|
+
foreground: `hsl(var(--semantic-error-foreground))`
|
|
89
|
+
},
|
|
90
|
+
warning: {
|
|
91
|
+
DEFAULT: `hsl(var(--semantic-warning))`,
|
|
92
|
+
foreground: `hsl(var(--semantic-warning-foreground))`
|
|
93
|
+
},
|
|
94
|
+
info: {
|
|
95
|
+
DEFAULT: `hsl(var(--semantic-info))`,
|
|
96
|
+
foreground: `hsl(var(--semantic-info-foreground))`
|
|
97
|
+
},
|
|
98
|
+
// Surface colors
|
|
99
|
+
surface: {
|
|
100
|
+
base: `hsl(var(--surface-base))`,
|
|
101
|
+
elevated1: `hsl(var(--surface-elevated1))`,
|
|
102
|
+
elevated2: `hsl(var(--surface-elevated2))`,
|
|
103
|
+
elevated3: `hsl(var(--surface-elevated3))`,
|
|
104
|
+
overlay: `hsl(var(--surface-overlay))`,
|
|
105
|
+
glass: `hsl(var(--surface-glass))`
|
|
106
|
+
},
|
|
107
|
+
// Text colors
|
|
108
|
+
text: {
|
|
109
|
+
primary: `hsl(var(--text-primary))`,
|
|
110
|
+
secondary: `hsl(var(--text-secondary))`,
|
|
111
|
+
tertiary: `hsl(var(--text-tertiary))`,
|
|
112
|
+
muted: `hsl(var(--text-muted))`,
|
|
113
|
+
destructive: `hsl(var(--destructive))`,
|
|
114
|
+
accent: `hsl(var(--tm-accent))`,
|
|
115
|
+
inverse: `hsl(var(--text-inverse))`
|
|
116
|
+
},
|
|
117
|
+
// Border and input
|
|
118
|
+
border: "hsl(var(--border))",
|
|
119
|
+
input: "hsl(var(--input))",
|
|
120
|
+
ring: "hsl(var(--ring))",
|
|
121
|
+
// Chart colors (using CSS variables)
|
|
122
|
+
chart: {
|
|
123
|
+
1: `hsl(var(--chart-1))`,
|
|
124
|
+
2: `hsl(var(--chart-2))`,
|
|
125
|
+
3: `hsl(var(--chart-3))`,
|
|
126
|
+
4: `hsl(var(--chart-4))`,
|
|
127
|
+
5: `hsl(var(--chart-5))`
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
// src/tokens/motion/v2.ts
|
|
132
|
+
var motionV2Durations = {
|
|
133
|
+
fast: "150ms",
|
|
134
|
+
// Quick interactions
|
|
135
|
+
normal: "250ms",
|
|
136
|
+
// Default transitions
|
|
137
|
+
slow: "350ms",
|
|
138
|
+
// Emphasized animations
|
|
139
|
+
reduced: "0ms"
|
|
140
|
+
// For prefers-reduced-motion
|
|
141
|
+
};
|
|
142
|
+
var motionV2Easings = {
|
|
143
|
+
soft: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
144
|
+
// Gentle, smooth
|
|
145
|
+
standard: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
146
|
+
// Material Design standard
|
|
147
|
+
emphasized: "cubic-bezier(0.2, 0, 0, 1)"
|
|
148
|
+
// Strong, decisive
|
|
149
|
+
};
|
|
150
|
+
var motionV2Transitions = {
|
|
151
|
+
fast: `${motionV2Durations.fast} ${motionV2Easings.standard}`,
|
|
152
|
+
normal: `${motionV2Durations.normal} ${motionV2Easings.standard}`,
|
|
153
|
+
slow: `${motionV2Durations.slow} ${motionV2Easings.emphasized}`,
|
|
154
|
+
soft: `${motionV2Durations.normal} ${motionV2Easings.soft}`,
|
|
155
|
+
reduced: `${motionV2Durations.reduced} linear`
|
|
156
|
+
};
|
|
157
|
+
var motionV2Fade = {
|
|
158
|
+
in: {
|
|
159
|
+
from: { opacity: 0 },
|
|
160
|
+
to: { opacity: 1 }
|
|
161
|
+
},
|
|
162
|
+
out: {
|
|
163
|
+
from: { opacity: 1 },
|
|
164
|
+
to: { opacity: 0 }
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
var motionV2Scale = {
|
|
168
|
+
in: {
|
|
169
|
+
from: { transform: "scale(0.95)", opacity: 0 },
|
|
170
|
+
to: { transform: "scale(1)", opacity: 1 }
|
|
171
|
+
},
|
|
172
|
+
out: {
|
|
173
|
+
from: { transform: "scale(1)", opacity: 1 },
|
|
174
|
+
to: { transform: "scale(0.95)", opacity: 0 }
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
var motionV2Slide = {
|
|
178
|
+
up: {
|
|
179
|
+
in: {
|
|
180
|
+
from: { transform: "translateY(100%)", opacity: 0 },
|
|
181
|
+
to: { transform: "translateY(0)", opacity: 1 }
|
|
182
|
+
},
|
|
183
|
+
out: {
|
|
184
|
+
from: { transform: "translateY(0)", opacity: 1 },
|
|
185
|
+
to: { transform: "translateY(100%)", opacity: 0 }
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
down: {
|
|
189
|
+
in: {
|
|
190
|
+
from: { transform: "translateY(-100%)", opacity: 0 },
|
|
191
|
+
to: { transform: "translateY(0)", opacity: 1 }
|
|
192
|
+
},
|
|
193
|
+
out: {
|
|
194
|
+
from: { transform: "translateY(0)", opacity: 1 },
|
|
195
|
+
to: { transform: "translateY(-100%)", opacity: 0 }
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
left: {
|
|
199
|
+
in: {
|
|
200
|
+
from: { transform: "translateX(100%)", opacity: 0 },
|
|
201
|
+
to: { transform: "translateX(0)", opacity: 1 }
|
|
202
|
+
},
|
|
203
|
+
out: {
|
|
204
|
+
from: { transform: "translateX(0)", opacity: 1 },
|
|
205
|
+
to: { transform: "translateX(100%)", opacity: 0 }
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
right: {
|
|
209
|
+
in: {
|
|
210
|
+
from: { transform: "translateX(-100%)", opacity: 0 },
|
|
211
|
+
to: { transform: "translateX(0)", opacity: 1 }
|
|
212
|
+
},
|
|
213
|
+
out: {
|
|
214
|
+
from: { transform: "translateX(0)", opacity: 1 },
|
|
215
|
+
to: { transform: "translateX(-100%)", opacity: 0 }
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
var motionV2Combined = {
|
|
220
|
+
fadeScale: {
|
|
221
|
+
in: {
|
|
222
|
+
from: { transform: "scale(0.95)", opacity: 0 },
|
|
223
|
+
to: { transform: "scale(1)", opacity: 1 }
|
|
224
|
+
},
|
|
225
|
+
out: {
|
|
226
|
+
from: { transform: "scale(1)", opacity: 1 },
|
|
227
|
+
to: { transform: "scale(0.95)", opacity: 0 }
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
fadeSlideUp: {
|
|
231
|
+
in: {
|
|
232
|
+
from: { transform: "translateY(100%)", opacity: 0 },
|
|
233
|
+
to: { transform: "translateY(0)", opacity: 1 }
|
|
234
|
+
},
|
|
235
|
+
out: {
|
|
236
|
+
from: { transform: "translateY(0)", opacity: 1 },
|
|
237
|
+
to: { transform: "translateY(100%)", opacity: 0 }
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
fadeSlideDown: {
|
|
241
|
+
in: {
|
|
242
|
+
from: { transform: "translateY(-100%)", opacity: 0 },
|
|
243
|
+
to: { transform: "translateY(0)", opacity: 1 }
|
|
244
|
+
},
|
|
245
|
+
out: {
|
|
246
|
+
from: { transform: "translateY(0)", opacity: 1 },
|
|
247
|
+
to: { transform: "translateY(-100%)", opacity: 0 }
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
fadeSlideLeft: {
|
|
251
|
+
in: {
|
|
252
|
+
from: { transform: "translateX(100%)", opacity: 0 },
|
|
253
|
+
to: { transform: "translateX(0)", opacity: 1 }
|
|
254
|
+
},
|
|
255
|
+
out: {
|
|
256
|
+
from: { transform: "translateX(0)", opacity: 1 },
|
|
257
|
+
to: { transform: "translateX(100%)", opacity: 0 }
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
fadeSlideRight: {
|
|
261
|
+
in: {
|
|
262
|
+
from: { transform: "translateX(-100%)", opacity: 0 },
|
|
263
|
+
to: { transform: "translateX(0)", opacity: 1 }
|
|
264
|
+
},
|
|
265
|
+
out: {
|
|
266
|
+
from: { transform: "translateX(0)", opacity: 1 },
|
|
267
|
+
to: { transform: "translateX(-100%)", opacity: 0 }
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
var motionV2CSSVariables = {
|
|
272
|
+
// Durations
|
|
273
|
+
"--motion-duration-fast": motionV2Durations.fast,
|
|
274
|
+
"--motion-duration-normal": motionV2Durations.normal,
|
|
275
|
+
"--motion-duration-slow": motionV2Durations.slow,
|
|
276
|
+
"--motion-duration-reduced": motionV2Durations.reduced,
|
|
277
|
+
// Easings
|
|
278
|
+
"--motion-easing-soft": motionV2Easings.soft,
|
|
279
|
+
"--motion-easing-standard": motionV2Easings.standard,
|
|
280
|
+
"--motion-easing-emphasized": motionV2Easings.emphasized,
|
|
281
|
+
// Transitions
|
|
282
|
+
"--motion-transition-fast": motionV2Transitions.fast,
|
|
283
|
+
"--motion-transition-normal": motionV2Transitions.normal,
|
|
284
|
+
"--motion-transition-slow": motionV2Transitions.slow,
|
|
285
|
+
"--motion-transition-soft": motionV2Transitions.soft,
|
|
286
|
+
"--motion-transition-reduced": motionV2Transitions.reduced
|
|
287
|
+
};
|
|
288
|
+
var motionV2TailwindConfig = {
|
|
289
|
+
transitionDuration: {
|
|
290
|
+
...motionV2Durations
|
|
291
|
+
},
|
|
292
|
+
transitionTimingFunction: {
|
|
293
|
+
...motionV2Easings
|
|
294
|
+
},
|
|
295
|
+
keyframes: {
|
|
296
|
+
// Fade
|
|
297
|
+
"fade-in": motionV2Fade.in,
|
|
298
|
+
"fade-out": motionV2Fade.out,
|
|
299
|
+
// Scale
|
|
300
|
+
"scale-in": motionV2Scale.in,
|
|
301
|
+
"scale-out": motionV2Scale.out,
|
|
302
|
+
// Slide
|
|
303
|
+
"slide-up-in": motionV2Slide.up.in,
|
|
304
|
+
"slide-up-out": motionV2Slide.up.out,
|
|
305
|
+
"slide-down-in": motionV2Slide.down.in,
|
|
306
|
+
"slide-down-out": motionV2Slide.down.out,
|
|
307
|
+
"slide-left-in": motionV2Slide.left.in,
|
|
308
|
+
"slide-left-out": motionV2Slide.left.out,
|
|
309
|
+
"slide-right-in": motionV2Slide.right.in,
|
|
310
|
+
"slide-right-out": motionV2Slide.right.out,
|
|
311
|
+
// Combined
|
|
312
|
+
"fade-scale-in": motionV2Combined.fadeScale.in,
|
|
313
|
+
"fade-scale-out": motionV2Combined.fadeScale.out,
|
|
314
|
+
"fade-slide-up-in": motionV2Combined.fadeSlideUp.in,
|
|
315
|
+
"fade-slide-up-out": motionV2Combined.fadeSlideUp.out,
|
|
316
|
+
"fade-slide-down-in": motionV2Combined.fadeSlideDown.in,
|
|
317
|
+
"fade-slide-down-out": motionV2Combined.fadeSlideDown.out,
|
|
318
|
+
"fade-slide-left-in": motionV2Combined.fadeSlideLeft.in,
|
|
319
|
+
"fade-slide-left-out": motionV2Combined.fadeSlideLeft.out,
|
|
320
|
+
"fade-slide-right-in": motionV2Combined.fadeSlideRight.in,
|
|
321
|
+
"fade-slide-right-out": motionV2Combined.fadeSlideRight.out
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
// src/tokens/motion.ts
|
|
326
|
+
var durations = {
|
|
327
|
+
instant: "0ms",
|
|
328
|
+
fast: "150ms",
|
|
329
|
+
// 1.5 × base (quick interactions)
|
|
330
|
+
normal: "300ms",
|
|
331
|
+
// 3 × base (default)
|
|
332
|
+
slow: "500ms",
|
|
333
|
+
// 5 × base (emphasized)
|
|
334
|
+
slower: "700ms",
|
|
335
|
+
// 7 × base (very emphasized)
|
|
336
|
+
slowest: "1000ms",
|
|
337
|
+
// 10 × base (maximum emphasis)
|
|
338
|
+
// Additional granular durations
|
|
339
|
+
"75": "75ms",
|
|
340
|
+
// Ultra-fast
|
|
341
|
+
"100": "100ms",
|
|
342
|
+
// Base unit
|
|
343
|
+
"200": "200ms",
|
|
344
|
+
// Fast-normal
|
|
345
|
+
"250": "250ms",
|
|
346
|
+
// Between fast and normal
|
|
347
|
+
"400": "400ms",
|
|
348
|
+
// Between normal and slow
|
|
349
|
+
"600": "600ms",
|
|
350
|
+
// Between slow and slower
|
|
351
|
+
"800": "800ms"
|
|
352
|
+
// Between slower and slowest
|
|
353
|
+
};
|
|
354
|
+
var easings = {
|
|
355
|
+
// Linear (no easing)
|
|
356
|
+
linear: "linear",
|
|
357
|
+
// Ease-in (accelerate) - cubic-bezier
|
|
358
|
+
"ease-in": "cubic-bezier(0.4, 0, 1, 1)",
|
|
359
|
+
// Ease-out (decelerate) - recommended for most UI - cubic-bezier
|
|
360
|
+
"ease-out": "cubic-bezier(0, 0, 0.2, 1)",
|
|
361
|
+
// Ease-in-out (accelerate and decelerate)
|
|
362
|
+
"ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
363
|
+
// Standard easing functions
|
|
364
|
+
ease: "ease",
|
|
365
|
+
// Advanced easing functions
|
|
366
|
+
bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
|
|
367
|
+
elastic: "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
|
|
368
|
+
// Material Design easing
|
|
369
|
+
"ease-out-cubic": "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
|
370
|
+
"ease-in-cubic": "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
|
|
371
|
+
"ease-in-out-cubic": "cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
372
|
+
};
|
|
373
|
+
var keyframes = {
|
|
374
|
+
// Fade animations
|
|
375
|
+
fadeIn: {
|
|
376
|
+
from: { opacity: 0 },
|
|
377
|
+
to: { opacity: 1 }
|
|
378
|
+
},
|
|
379
|
+
fadeOut: {
|
|
380
|
+
from: { opacity: 1 },
|
|
381
|
+
to: { opacity: 0 }
|
|
382
|
+
},
|
|
383
|
+
// Slide animations
|
|
384
|
+
slideInUp: {
|
|
385
|
+
from: { transform: "translateY(100%)", opacity: 0 },
|
|
386
|
+
to: { transform: "translateY(0)", opacity: 1 }
|
|
387
|
+
},
|
|
388
|
+
slideInDown: {
|
|
389
|
+
from: { transform: "translateY(-100%)", opacity: 0 },
|
|
390
|
+
to: { transform: "translateY(0)", opacity: 1 }
|
|
391
|
+
},
|
|
392
|
+
slideInLeft: {
|
|
393
|
+
from: { transform: "translateX(-100%)", opacity: 0 },
|
|
394
|
+
to: { transform: "translateX(0)", opacity: 1 }
|
|
395
|
+
},
|
|
396
|
+
slideInRight: {
|
|
397
|
+
from: { transform: "translateX(100%)", opacity: 0 },
|
|
398
|
+
to: { transform: "translateX(0)", opacity: 1 }
|
|
399
|
+
},
|
|
400
|
+
slideOutUp: {
|
|
401
|
+
from: { transform: "translateY(0)", opacity: 1 },
|
|
402
|
+
to: { transform: "translateY(-100%)", opacity: 0 }
|
|
403
|
+
},
|
|
404
|
+
slideOutDown: {
|
|
405
|
+
from: { transform: "translateY(0)", opacity: 1 },
|
|
406
|
+
to: { transform: "translateY(100%)", opacity: 0 }
|
|
407
|
+
},
|
|
408
|
+
slideOutLeft: {
|
|
409
|
+
from: { transform: "translateX(0)", opacity: 1 },
|
|
410
|
+
to: { transform: "translateX(-100%)", opacity: 0 }
|
|
411
|
+
},
|
|
412
|
+
slideOutRight: {
|
|
413
|
+
from: { transform: "translateX(0)", opacity: 1 },
|
|
414
|
+
to: { transform: "translateX(100%)", opacity: 0 }
|
|
415
|
+
},
|
|
416
|
+
// Scale animations
|
|
417
|
+
scaleIn: {
|
|
418
|
+
from: { transform: "scale(0.95)", opacity: 0 },
|
|
419
|
+
to: { transform: "scale(1)", opacity: 1 }
|
|
420
|
+
},
|
|
421
|
+
scaleOut: {
|
|
422
|
+
from: { transform: "scale(1)", opacity: 1 },
|
|
423
|
+
to: { transform: "scale(0.95)", opacity: 0 }
|
|
424
|
+
},
|
|
425
|
+
scaleUp: {
|
|
426
|
+
from: { transform: "scale(1)" },
|
|
427
|
+
to: { transform: "scale(1.05)" }
|
|
428
|
+
},
|
|
429
|
+
scaleDown: {
|
|
430
|
+
from: { transform: "scale(1.05)" },
|
|
431
|
+
to: { transform: "scale(1)" }
|
|
432
|
+
},
|
|
433
|
+
// Rotation animations
|
|
434
|
+
spin: {
|
|
435
|
+
from: { transform: "rotate(0deg)" },
|
|
436
|
+
to: { transform: "rotate(360deg)" }
|
|
437
|
+
},
|
|
438
|
+
spinReverse: {
|
|
439
|
+
from: { transform: "rotate(360deg)" },
|
|
440
|
+
to: { transform: "rotate(0deg)" }
|
|
441
|
+
},
|
|
442
|
+
// Pulse and bounce
|
|
443
|
+
pulse: {
|
|
444
|
+
"0%, 100%": { opacity: 1 },
|
|
445
|
+
"50%": { opacity: 0.5 }
|
|
446
|
+
},
|
|
447
|
+
bounce: {
|
|
448
|
+
"0%, 100%": {
|
|
449
|
+
transform: "translateY(-25%)",
|
|
450
|
+
animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)"
|
|
451
|
+
},
|
|
452
|
+
"50%": {
|
|
453
|
+
transform: "translateY(0)",
|
|
454
|
+
animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
// Shake animation
|
|
458
|
+
shake: {
|
|
459
|
+
"0%, 100%": { transform: "translateX(0)" },
|
|
460
|
+
"10%, 30%, 50%, 70%, 90%": { transform: "translateX(-4px)" },
|
|
461
|
+
"20%, 40%, 60%, 80%": { transform: "translateX(4px)" }
|
|
462
|
+
},
|
|
463
|
+
// Ping animation
|
|
464
|
+
ping: {
|
|
465
|
+
"75%, 100%": {
|
|
466
|
+
transform: "scale(2)",
|
|
467
|
+
opacity: 0
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
// Accordion animations (for Radix UI)
|
|
471
|
+
"accordion-down": {
|
|
472
|
+
from: { height: "0" },
|
|
473
|
+
to: { height: "var(--radix-accordion-content-height)" }
|
|
474
|
+
},
|
|
475
|
+
"accordion-up": {
|
|
476
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
477
|
+
to: { height: "0" }
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
var animations = {
|
|
481
|
+
// Fade animations
|
|
482
|
+
fadeIn: `fadeIn ${durations.normal} ${easings["ease-out"]}`,
|
|
483
|
+
fadeOut: `fadeOut ${durations.fast} ${easings["ease-in"]}`,
|
|
484
|
+
// Slide animations
|
|
485
|
+
slideInUp: `slideInUp ${durations.normal} ${easings["ease-out"]}`,
|
|
486
|
+
slideInDown: `slideInDown ${durations.normal} ${easings["ease-out"]}`,
|
|
487
|
+
slideInLeft: `slideInLeft ${durations.normal} ${easings["ease-out"]}`,
|
|
488
|
+
slideInRight: `slideInRight ${durations.normal} ${easings["ease-out"]}`,
|
|
489
|
+
slideOutUp: `slideOutUp ${durations.fast} ${easings["ease-in"]}`,
|
|
490
|
+
slideOutDown: `slideOutDown ${durations.fast} ${easings["ease-in"]}`,
|
|
491
|
+
slideOutLeft: `slideOutLeft ${durations.fast} ${easings["ease-in"]}`,
|
|
492
|
+
slideOutRight: `slideOutRight ${durations.fast} ${easings["ease-in"]}`,
|
|
493
|
+
// Scale animations
|
|
494
|
+
scaleIn: `scaleIn ${durations.normal} ${easings["ease-out"]}`,
|
|
495
|
+
scaleOut: `scaleOut ${durations.fast} ${easings["ease-in"]}`,
|
|
496
|
+
// Continuous animations
|
|
497
|
+
spin: `spin 1s ${easings.linear} infinite`,
|
|
498
|
+
pulse: `pulse 2s ${easings["ease-in-out"]} infinite`,
|
|
499
|
+
bounce: `bounce 1s ${easings.linear} infinite`,
|
|
500
|
+
ping: `ping 1s ${easings["ease-out"]} cubic-bezier(0, 0, 0.2, 1) infinite`,
|
|
501
|
+
shake: `shake 0.5s ${easings["ease-in-out"]}`,
|
|
502
|
+
// Accordion animations
|
|
503
|
+
"accordion-down": `accordion-down ${durations.normal} ${easings["ease-out"]}`,
|
|
504
|
+
"accordion-up": `accordion-up ${durations.normal} ${easings["ease-out"]}`
|
|
505
|
+
};
|
|
506
|
+
var tailwindMotionConfig = {
|
|
507
|
+
transitionDuration: {
|
|
508
|
+
...durations
|
|
509
|
+
},
|
|
510
|
+
transitionTimingFunction: {
|
|
511
|
+
...easings
|
|
512
|
+
},
|
|
513
|
+
transitionProperty: {
|
|
514
|
+
DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
|
|
515
|
+
colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
|
|
516
|
+
opacity: "opacity",
|
|
517
|
+
shadow: "box-shadow",
|
|
518
|
+
transform: "transform",
|
|
519
|
+
all: "all",
|
|
520
|
+
none: "none"
|
|
521
|
+
},
|
|
522
|
+
keyframes: {
|
|
523
|
+
...keyframes
|
|
524
|
+
},
|
|
525
|
+
animation: {
|
|
526
|
+
...animations,
|
|
527
|
+
// Additional animation utilities
|
|
528
|
+
none: "none",
|
|
529
|
+
spin: animations.spin,
|
|
530
|
+
pulse: animations.pulse,
|
|
531
|
+
bounce: animations.bounce,
|
|
532
|
+
ping: animations.ping,
|
|
533
|
+
shake: animations.shake
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
// src/tokens/radius.ts
|
|
538
|
+
var borderRadius = {
|
|
539
|
+
// No radius
|
|
540
|
+
none: "0",
|
|
541
|
+
// Extra small radius
|
|
542
|
+
xs: "0.125rem",
|
|
543
|
+
// 2px
|
|
544
|
+
// Small radius
|
|
545
|
+
sm: "0.25rem",
|
|
546
|
+
// 4px (base unit)
|
|
547
|
+
// Default radius (base)
|
|
548
|
+
DEFAULT: "0.25rem",
|
|
549
|
+
// 4px (same as sm)
|
|
550
|
+
base: "0.25rem",
|
|
551
|
+
// 4px (alias)
|
|
552
|
+
// Medium radius
|
|
553
|
+
md: "0.375rem",
|
|
554
|
+
// 6px
|
|
555
|
+
// Large radius
|
|
556
|
+
lg: "0.5rem",
|
|
557
|
+
// 8px (2 × base)
|
|
558
|
+
// Extra large radius
|
|
559
|
+
xl: "0.75rem",
|
|
560
|
+
// 12px (3 × base)
|
|
561
|
+
// 2XL radius
|
|
562
|
+
"2xl": "1rem",
|
|
563
|
+
// 16px (4 × base)
|
|
564
|
+
// 3XL radius
|
|
565
|
+
"3xl": "1.5rem",
|
|
566
|
+
// 24px (6 × base)
|
|
567
|
+
// Full radius (circular)
|
|
568
|
+
full: "9999px"
|
|
569
|
+
};
|
|
570
|
+
var componentRadius = {
|
|
571
|
+
// Button radius standards
|
|
572
|
+
button: {
|
|
573
|
+
// 4px (compact buttons)
|
|
574
|
+
md: borderRadius.md},
|
|
575
|
+
// Card radius standards
|
|
576
|
+
card: {
|
|
577
|
+
// 4px (compact cards)
|
|
578
|
+
md: borderRadius.md},
|
|
579
|
+
// Input/Form field radius standards
|
|
580
|
+
input: {
|
|
581
|
+
// 4px (compact inputs)
|
|
582
|
+
md: borderRadius.md},
|
|
583
|
+
// Badge/Status radius standards
|
|
584
|
+
badge: {
|
|
585
|
+
// 2px (compact badges)
|
|
586
|
+
md: borderRadius.sm},
|
|
587
|
+
// Modal/Dialog radius standards
|
|
588
|
+
modal: {
|
|
589
|
+
// 6px (small modals)
|
|
590
|
+
md: borderRadius.lg},
|
|
591
|
+
// Tooltip radius standards
|
|
592
|
+
tooltip: {
|
|
593
|
+
sm: borderRadius.sm},
|
|
594
|
+
// Toast/Notification radius standards
|
|
595
|
+
toast: {
|
|
596
|
+
// 6px (compact toasts)
|
|
597
|
+
md: borderRadius.lg},
|
|
598
|
+
// Chip/Tag radius standards
|
|
599
|
+
chip: {
|
|
600
|
+
// 2px (compact chips)
|
|
601
|
+
md: borderRadius.sm},
|
|
602
|
+
// Image/Media radius standards
|
|
603
|
+
image: {
|
|
604
|
+
// 4px (subtle rounding)
|
|
605
|
+
md: borderRadius.md}
|
|
606
|
+
};
|
|
607
|
+
var tailwindRadiusConfig = {
|
|
608
|
+
borderRadius: {
|
|
609
|
+
...borderRadius,
|
|
610
|
+
// Add component-specific aliases
|
|
611
|
+
button: componentRadius.button.md,
|
|
612
|
+
card: componentRadius.card.md,
|
|
613
|
+
input: componentRadius.input.md,
|
|
614
|
+
badge: componentRadius.badge.md,
|
|
615
|
+
modal: componentRadius.modal.md,
|
|
616
|
+
tooltip: componentRadius.tooltip.sm,
|
|
617
|
+
toast: componentRadius.toast.md,
|
|
618
|
+
chip: componentRadius.chip.md,
|
|
619
|
+
image: componentRadius.image.md
|
|
620
|
+
}
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
// src/tokens/shadows.ts
|
|
624
|
+
var shadowBase = {
|
|
625
|
+
black: "0 0 0"};
|
|
626
|
+
var shadowOpacity = {
|
|
627
|
+
xs: "0.05",
|
|
628
|
+
sm: "0.1",
|
|
629
|
+
md: "0.1",
|
|
630
|
+
lg: "0.1",
|
|
631
|
+
xl: "0.1",
|
|
632
|
+
"2xl": "0.25"};
|
|
633
|
+
var elevationShadows = {
|
|
634
|
+
none: "none",
|
|
635
|
+
xs: `0 1px 2px 0 rgb(${shadowBase.black} / ${shadowOpacity.xs})`,
|
|
636
|
+
sm: `0 1px 3px 0 rgb(${shadowBase.black} / ${shadowOpacity.sm}), 0 1px 2px -1px rgb(${shadowBase.black} / ${shadowOpacity.sm})`,
|
|
637
|
+
md: `0 4px 6px -1px rgb(${shadowBase.black} / ${shadowOpacity.md}), 0 2px 4px -2px rgb(${shadowBase.black} / ${shadowOpacity.md})`,
|
|
638
|
+
lg: `0 10px 15px -3px rgb(${shadowBase.black} / ${shadowOpacity.lg}), 0 4px 6px -4px rgb(${shadowBase.black} / ${shadowOpacity.lg})`,
|
|
639
|
+
xl: `0 20px 25px -5px rgb(${shadowBase.black} / ${shadowOpacity.xl}), 0 8px 10px -6px rgb(${shadowBase.black} / ${shadowOpacity.xl})`,
|
|
640
|
+
"2xl": `0 25px 50px -12px rgb(${shadowBase.black} / ${shadowOpacity["2xl"]})`
|
|
641
|
+
};
|
|
642
|
+
var primaryColoredShadows = {
|
|
643
|
+
xs: "0 1px 2px 0 hsl(var(--primary-500) / 0.15)",
|
|
644
|
+
sm: "0 2px 4px 0 hsl(var(--primary-500) / 0.2)",
|
|
645
|
+
md: "0 4px 8px 0 hsl(var(--primary-500) / 0.3)",
|
|
646
|
+
lg: "0 8px 16px 0 hsl(var(--primary-500) / 0.4)",
|
|
647
|
+
xl: "0 12px 24px 0 hsl(var(--primary-500) / 0.5)",
|
|
648
|
+
"2xl": "0 16px 32px 0 hsl(var(--primary-500) / 0.6)"
|
|
649
|
+
};
|
|
650
|
+
var accentColoredShadows = {
|
|
651
|
+
xs: "0 1px 2px 0 hsl(var(--accent-500) / 0.15)",
|
|
652
|
+
sm: "0 2px 4px 0 hsl(var(--accent-500) / 0.2)",
|
|
653
|
+
md: "0 4px 8px 0 hsl(var(--accent-500) / 0.3)",
|
|
654
|
+
lg: "0 8px 16px 0 hsl(var(--accent-500) / 0.4)",
|
|
655
|
+
xl: "0 12px 24px 0 hsl(var(--accent-500) / 0.5)",
|
|
656
|
+
"2xl": "0 16px 32px 0 hsl(var(--accent-500) / 0.6)"
|
|
657
|
+
};
|
|
658
|
+
var glowEffects = {
|
|
659
|
+
// Primary glow effects
|
|
660
|
+
"glow-primary": "0 0 20px 0 hsl(var(--primary-500) / 0.5), 0 0 40px 0 hsl(var(--primary-500) / 0.3)",
|
|
661
|
+
"glow-primary-subtle": "0 0 8px 0 hsl(var(--primary-500) / 0.3)",
|
|
662
|
+
"glow-primary-medium": "0 0 16px 0 hsl(var(--primary-500) / 0.5)",
|
|
663
|
+
"glow-primary-strong": "0 0 24px 0 hsl(var(--primary-500) / 0.6)",
|
|
664
|
+
// Accent glow effects
|
|
665
|
+
"glow-accent": "0 0 20px 0 hsl(var(--accent-500) / 0.5), 0 0 40px 0 hsl(var(--accent-500) / 0.3)",
|
|
666
|
+
"glow-accent-subtle": "0 0 8px 0 hsl(var(--accent-500) / 0.3)",
|
|
667
|
+
"glow-accent-medium": "0 0 16px 0 hsl(var(--accent-500) / 0.5)",
|
|
668
|
+
"glow-accent-strong": "0 0 24px 0 hsl(var(--accent-500) / 0.6)"
|
|
669
|
+
};
|
|
670
|
+
var focusRings = {
|
|
671
|
+
default: "0 0 0 3px hsl(var(--ring) / 0.5)",
|
|
672
|
+
"focus-primary": "0 0 0 3px hsl(var(--primary-500) / 0.3)",
|
|
673
|
+
"focus-accent": "0 0 0 3px hsl(var(--accent-500) / 0.3)"
|
|
674
|
+
};
|
|
675
|
+
var tailwindShadowConfig = {
|
|
676
|
+
boxShadow: {
|
|
677
|
+
// Elevation shadows
|
|
678
|
+
none: elevationShadows.none,
|
|
679
|
+
xs: elevationShadows.xs,
|
|
680
|
+
sm: elevationShadows.sm,
|
|
681
|
+
md: elevationShadows.md,
|
|
682
|
+
lg: elevationShadows.lg,
|
|
683
|
+
xl: elevationShadows.xl,
|
|
684
|
+
"2xl": elevationShadows["2xl"],
|
|
685
|
+
// Primary colored shadows
|
|
686
|
+
"primary-xs": primaryColoredShadows.xs,
|
|
687
|
+
"primary-sm": primaryColoredShadows.sm,
|
|
688
|
+
"primary-md": primaryColoredShadows.md,
|
|
689
|
+
"primary-lg": primaryColoredShadows.lg,
|
|
690
|
+
"primary-xl": primaryColoredShadows.xl,
|
|
691
|
+
"primary-2xl": primaryColoredShadows["2xl"],
|
|
692
|
+
// Accent colored shadows
|
|
693
|
+
"accent-xs": accentColoredShadows.xs,
|
|
694
|
+
"accent-sm": accentColoredShadows.sm,
|
|
695
|
+
"accent-md": accentColoredShadows.md,
|
|
696
|
+
"accent-lg": accentColoredShadows.lg,
|
|
697
|
+
"accent-xl": accentColoredShadows.xl,
|
|
698
|
+
"accent-2xl": accentColoredShadows["2xl"],
|
|
699
|
+
// Glow effects
|
|
700
|
+
"glow-primary": glowEffects["glow-primary"],
|
|
701
|
+
"glow-primary-subtle": glowEffects["glow-primary-subtle"],
|
|
702
|
+
"glow-primary-medium": glowEffects["glow-primary-medium"],
|
|
703
|
+
"glow-primary-strong": glowEffects["glow-primary-strong"],
|
|
704
|
+
"glow-accent": glowEffects["glow-accent"],
|
|
705
|
+
"glow-accent-subtle": glowEffects["glow-accent-subtle"],
|
|
706
|
+
"glow-accent-medium": glowEffects["glow-accent-medium"],
|
|
707
|
+
"glow-accent-strong": glowEffects["glow-accent-strong"],
|
|
708
|
+
// Focus rings (using box-shadow for focus states)
|
|
709
|
+
"focus-ring": focusRings.default,
|
|
710
|
+
"focus-primary": focusRings["focus-primary"],
|
|
711
|
+
"focus-accent": focusRings["focus-accent"]
|
|
712
|
+
},
|
|
713
|
+
// Ring width (for focus rings using ring utilities)
|
|
714
|
+
ringWidth: {
|
|
715
|
+
DEFAULT: "3px",
|
|
716
|
+
sm: "2px",
|
|
717
|
+
md: "3px",
|
|
718
|
+
lg: "4px"
|
|
719
|
+
},
|
|
720
|
+
// Ring color (for focus rings)
|
|
721
|
+
ringColor: {
|
|
722
|
+
DEFAULT: "hsl(var(--ring) / 0.5)",
|
|
723
|
+
primary: "hsl(var(--primary-500) / 0.3)",
|
|
724
|
+
accent: "hsl(var(--accent-500) / 0.3)",
|
|
725
|
+
"focus-primary": "hsl(var(--primary-500) / 0.3)",
|
|
726
|
+
"focus-accent": "hsl(var(--accent-500) / 0.3)"
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
// src/tokens/spacing.ts
|
|
731
|
+
var spacing = {
|
|
732
|
+
// Zero spacing
|
|
733
|
+
0: "0",
|
|
734
|
+
px: "1px",
|
|
735
|
+
// Half unit (4px)
|
|
736
|
+
0.5: "0.125rem",
|
|
737
|
+
// 4px
|
|
738
|
+
// Base unit multiples (8px increments)
|
|
739
|
+
1: "0.25rem",
|
|
740
|
+
// 4px (half unit, common)
|
|
741
|
+
1.5: "0.375rem",
|
|
742
|
+
// 6px (rare, for fine adjustments)
|
|
743
|
+
2: "0.5rem",
|
|
744
|
+
// 8px (base unit)
|
|
745
|
+
2.5: "0.625rem",
|
|
746
|
+
// 10px (rare)
|
|
747
|
+
3: "0.75rem",
|
|
748
|
+
// 12px (1.5 × base)
|
|
749
|
+
3.5: "0.875rem",
|
|
750
|
+
// 14px (rare)
|
|
751
|
+
4: "1rem",
|
|
752
|
+
// 16px (2 × base)
|
|
753
|
+
5: "1.25rem",
|
|
754
|
+
// 20px (2.5 × base)
|
|
755
|
+
6: "1.5rem",
|
|
756
|
+
// 24px (3 × base)
|
|
757
|
+
7: "1.75rem",
|
|
758
|
+
// 28px (3.5 × base)
|
|
759
|
+
8: "2rem",
|
|
760
|
+
// 32px (4 × base)
|
|
761
|
+
9: "2.25rem",
|
|
762
|
+
// 36px (4.5 × base)
|
|
763
|
+
10: "2.5rem",
|
|
764
|
+
// 40px (5 × base)
|
|
765
|
+
11: "2.75rem",
|
|
766
|
+
// 44px (5.5 × base)
|
|
767
|
+
12: "3rem",
|
|
768
|
+
// 48px (6 × base)
|
|
769
|
+
14: "3.5rem",
|
|
770
|
+
// 56px (7 × base)
|
|
771
|
+
16: "4rem",
|
|
772
|
+
// 64px (8 × base)
|
|
773
|
+
20: "5rem",
|
|
774
|
+
// 80px (10 × base)
|
|
775
|
+
24: "6rem",
|
|
776
|
+
// 96px (12 × base)
|
|
777
|
+
// Extended scale for larger spacing
|
|
778
|
+
28: "7rem",
|
|
779
|
+
// 112px (14 × base)
|
|
780
|
+
32: "8rem",
|
|
781
|
+
// 128px (16 × base)
|
|
782
|
+
36: "9rem",
|
|
783
|
+
// 144px (18 × base)
|
|
784
|
+
40: "10rem",
|
|
785
|
+
// 160px (20 × base)
|
|
786
|
+
44: "11rem",
|
|
787
|
+
// 176px (22 × base)
|
|
788
|
+
48: "12rem",
|
|
789
|
+
// 192px (24 × base)
|
|
790
|
+
52: "13rem",
|
|
791
|
+
// 208px (26 × base)
|
|
792
|
+
56: "14rem",
|
|
793
|
+
// 224px (28 × base)
|
|
794
|
+
60: "15rem",
|
|
795
|
+
// 240px (30 × base)
|
|
796
|
+
64: "16rem",
|
|
797
|
+
// 256px (32 × base)
|
|
798
|
+
72: "18rem",
|
|
799
|
+
// 288px (36 × base)
|
|
800
|
+
80: "20rem",
|
|
801
|
+
// 320px (40 × base)
|
|
802
|
+
96: "24rem"
|
|
803
|
+
// 384px (48 × base)
|
|
804
|
+
};
|
|
805
|
+
var semanticSpacing = {
|
|
806
|
+
// Extra small spacing (tight, minimal)
|
|
807
|
+
xs: spacing[1],
|
|
808
|
+
// 4px (0.25rem)
|
|
809
|
+
// Small spacing (compact)
|
|
810
|
+
sm: spacing[2],
|
|
811
|
+
// 8px (0.5rem)
|
|
812
|
+
// Medium spacing (default)
|
|
813
|
+
md: spacing[4],
|
|
814
|
+
// 16px (1rem)
|
|
815
|
+
// Large spacing (spacious)
|
|
816
|
+
lg: spacing[6],
|
|
817
|
+
// 24px (1.5rem)
|
|
818
|
+
// Extra large spacing (very spacious)
|
|
819
|
+
xl: spacing[8],
|
|
820
|
+
// 32px (2rem)
|
|
821
|
+
// 2XL spacing (section-level)
|
|
822
|
+
"2xl": spacing[12],
|
|
823
|
+
// 48px (3rem)
|
|
824
|
+
// 3XL spacing (major sections)
|
|
825
|
+
"3xl": spacing[16],
|
|
826
|
+
// 64px (4rem)
|
|
827
|
+
// 4XL spacing (page sections)
|
|
828
|
+
"4xl": spacing[20],
|
|
829
|
+
// 80px (5rem)
|
|
830
|
+
// 5XL spacing (hero sections)
|
|
831
|
+
"5xl": spacing[24],
|
|
832
|
+
// 96px (6rem)
|
|
833
|
+
// None (no spacing)
|
|
834
|
+
none: spacing[0]
|
|
835
|
+
// 0
|
|
836
|
+
};
|
|
837
|
+
var tailwindSpacingConfig = {
|
|
838
|
+
spacing: {
|
|
839
|
+
...spacing,
|
|
840
|
+
// Add semantic tokens as aliases
|
|
841
|
+
xs: semanticSpacing.xs,
|
|
842
|
+
sm: semanticSpacing.sm,
|
|
843
|
+
md: semanticSpacing.md,
|
|
844
|
+
lg: semanticSpacing.lg,
|
|
845
|
+
xl: semanticSpacing.xl,
|
|
846
|
+
"2xl": semanticSpacing["2xl"],
|
|
847
|
+
"3xl": semanticSpacing["3xl"],
|
|
848
|
+
"4xl": semanticSpacing["4xl"],
|
|
849
|
+
"5xl": semanticSpacing["5xl"],
|
|
850
|
+
none: semanticSpacing.none
|
|
851
|
+
}
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
// src/tokens/typography.ts
|
|
855
|
+
var fontFamily = {
|
|
856
|
+
// Primary font - Inter (default sans)
|
|
857
|
+
sans: [
|
|
858
|
+
"Inter",
|
|
859
|
+
"ui-sans-serif",
|
|
860
|
+
"system-ui",
|
|
861
|
+
"-apple-system",
|
|
862
|
+
"BlinkMacSystemFont",
|
|
863
|
+
"Segoe UI",
|
|
864
|
+
"Roboto",
|
|
865
|
+
"Helvetica Neue",
|
|
866
|
+
"Arial",
|
|
867
|
+
"Noto Sans",
|
|
868
|
+
"sans-serif",
|
|
869
|
+
"Apple Color Emoji",
|
|
870
|
+
"Segoe UI Emoji",
|
|
871
|
+
"Segoe UI Symbol",
|
|
872
|
+
"Noto Color Emoji"
|
|
873
|
+
],
|
|
874
|
+
// Optional font - Satoshi
|
|
875
|
+
satoshi: [
|
|
876
|
+
"Satoshi",
|
|
877
|
+
"Inter",
|
|
878
|
+
"ui-sans-serif",
|
|
879
|
+
"system-ui",
|
|
880
|
+
"-apple-system",
|
|
881
|
+
"BlinkMacSystemFont",
|
|
882
|
+
"Segoe UI",
|
|
883
|
+
"Roboto",
|
|
884
|
+
"sans-serif"
|
|
885
|
+
],
|
|
886
|
+
// Display font - Clash Display (for headings and hero sections)
|
|
887
|
+
display: [
|
|
888
|
+
"Clash Display",
|
|
889
|
+
"Inter",
|
|
890
|
+
"ui-sans-serif",
|
|
891
|
+
"system-ui",
|
|
892
|
+
"-apple-system",
|
|
893
|
+
"BlinkMacSystemFont",
|
|
894
|
+
"Segoe UI",
|
|
895
|
+
"Roboto",
|
|
896
|
+
"sans-serif"
|
|
897
|
+
],
|
|
898
|
+
// Serif font family
|
|
899
|
+
serif: ["ui-serif", "Georgia", "Cambria", "Times New Roman", "Times", "serif"],
|
|
900
|
+
// Monospace font family
|
|
901
|
+
mono: [
|
|
902
|
+
"ui-monospace",
|
|
903
|
+
"SFMono-Regular",
|
|
904
|
+
"Menlo",
|
|
905
|
+
"Monaco",
|
|
906
|
+
"Consolas",
|
|
907
|
+
"Liberation Mono",
|
|
908
|
+
"Courier New",
|
|
909
|
+
"monospace"
|
|
910
|
+
]
|
|
911
|
+
};
|
|
912
|
+
var fontSize = {
|
|
913
|
+
// text-xs: 12px base, scales from 0.75rem to 0.875rem
|
|
914
|
+
xs: [
|
|
915
|
+
"clamp(0.75rem, 0.7rem + 0.125vw, 0.875rem)",
|
|
916
|
+
{ lineHeight: "1rem", letterSpacing: "0.05em" }
|
|
917
|
+
],
|
|
918
|
+
// text-sm: 14px base, scales from 0.875rem to 1rem
|
|
919
|
+
sm: [
|
|
920
|
+
"clamp(0.875rem, 0.8rem + 0.25vw, 1rem)",
|
|
921
|
+
{ lineHeight: "1.25rem", letterSpacing: "0.025em" }
|
|
922
|
+
],
|
|
923
|
+
// text-base: 16px base, scales from 1rem to 1.125rem
|
|
924
|
+
base: ["clamp(1rem, 0.95rem + 0.25vw, 1.125rem)", { lineHeight: "1.5rem", letterSpacing: "0em" }],
|
|
925
|
+
// text-lg: 18px base, scales from 1.125rem to 1.25rem
|
|
926
|
+
lg: [
|
|
927
|
+
"clamp(1.125rem, 1rem + 0.5vw, 1.25rem)",
|
|
928
|
+
{ lineHeight: "1.75rem", letterSpacing: "-0.025em" }
|
|
929
|
+
],
|
|
930
|
+
// text-xl: 20px base, scales from 1.25rem to 1.5rem
|
|
931
|
+
xl: [
|
|
932
|
+
"clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem)",
|
|
933
|
+
{ lineHeight: "1.75rem", letterSpacing: "-0.025em" }
|
|
934
|
+
],
|
|
935
|
+
// text-2xl: 24px base, scales from 1.5rem to 2rem
|
|
936
|
+
"2xl": [
|
|
937
|
+
"clamp(1.5rem, 1.25rem + 1.25vw, 2rem)",
|
|
938
|
+
{ lineHeight: "2rem", letterSpacing: "-0.05em" }
|
|
939
|
+
],
|
|
940
|
+
// text-3xl: 30px base, scales from 1.875rem to 2.5rem
|
|
941
|
+
"3xl": [
|
|
942
|
+
"clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem)",
|
|
943
|
+
{ lineHeight: "2.25rem", letterSpacing: "-0.05em" }
|
|
944
|
+
],
|
|
945
|
+
// text-4xl: 36px base, scales from 2.25rem to 3rem
|
|
946
|
+
"4xl": [
|
|
947
|
+
"clamp(2.25rem, 1.75rem + 2.5vw, 3rem)",
|
|
948
|
+
{ lineHeight: "2.5rem", letterSpacing: "-0.025em" }
|
|
949
|
+
],
|
|
950
|
+
// text-5xl: 48px base, scales from 3rem to 4rem
|
|
951
|
+
"5xl": ["clamp(3rem, 2rem + 5vw, 4rem)", { lineHeight: "1", letterSpacing: "-0.025em" }],
|
|
952
|
+
// text-6xl: 60px base, scales from 3.75rem to 5rem
|
|
953
|
+
"6xl": ["clamp(3.75rem, 2.5rem + 6.25vw, 5rem)", { lineHeight: "1", letterSpacing: "-0.05em" }],
|
|
954
|
+
// text-7xl: 72px base (optional, for hero sections)
|
|
955
|
+
"7xl": ["clamp(4.5rem, 3rem + 7.5vw, 6rem)", { lineHeight: "1", letterSpacing: "-0.05em" }],
|
|
956
|
+
// text-8xl: 96px base (optional, for hero sections)
|
|
957
|
+
"8xl": ["clamp(6rem, 4rem + 10vw, 8rem)", { lineHeight: "1", letterSpacing: "-0.05em" }],
|
|
958
|
+
// text-9xl: 128px base (optional, for hero sections)
|
|
959
|
+
"9xl": ["clamp(8rem, 5rem + 15vw, 12rem)", { lineHeight: "1", letterSpacing: "-0.05em" }]
|
|
960
|
+
};
|
|
961
|
+
var fontWeight = {
|
|
962
|
+
thin: "100",
|
|
963
|
+
extralight: "200",
|
|
964
|
+
light: "300",
|
|
965
|
+
normal: "400",
|
|
966
|
+
medium: "500",
|
|
967
|
+
semibold: "600",
|
|
968
|
+
bold: "700",
|
|
969
|
+
extrabold: "800",
|
|
970
|
+
black: "900"
|
|
971
|
+
};
|
|
972
|
+
var lineHeight = {
|
|
973
|
+
none: "1",
|
|
974
|
+
tight: "1.25",
|
|
975
|
+
snug: "1.375",
|
|
976
|
+
normal: "1.5",
|
|
977
|
+
relaxed: "1.625",
|
|
978
|
+
loose: "2"
|
|
979
|
+
};
|
|
980
|
+
var letterSpacing = {
|
|
981
|
+
tighter: "-0.05em",
|
|
982
|
+
tight: "-0.025em",
|
|
983
|
+
normal: "0em",
|
|
984
|
+
wide: "0.025em",
|
|
985
|
+
wider: "0.05em",
|
|
986
|
+
widest: "0.1em"
|
|
987
|
+
};
|
|
988
|
+
({
|
|
989
|
+
// Font sizes (using clamp values)
|
|
990
|
+
"--font-size-xs": fontSize.xs[0],
|
|
991
|
+
"--font-size-sm": fontSize.sm[0],
|
|
992
|
+
"--font-size-base": fontSize.base[0],
|
|
993
|
+
"--font-size-lg": fontSize.lg[0],
|
|
994
|
+
"--font-size-xl": fontSize.xl[0],
|
|
995
|
+
"--font-size-2xl": fontSize["2xl"][0],
|
|
996
|
+
"--font-size-3xl": fontSize["3xl"][0],
|
|
997
|
+
"--font-size-4xl": fontSize["4xl"][0],
|
|
998
|
+
"--font-size-5xl": fontSize["5xl"][0],
|
|
999
|
+
"--font-size-6xl": fontSize["6xl"][0]});
|
|
1000
|
+
({
|
|
1001
|
+
// Display styles (for hero sections)
|
|
1002
|
+
display: {
|
|
1003
|
+
fontSize: fontSize["6xl"][0]},
|
|
1004
|
+
// Heading styles
|
|
1005
|
+
h1: {
|
|
1006
|
+
fontSize: fontSize["5xl"][0]},
|
|
1007
|
+
h2: {
|
|
1008
|
+
fontSize: fontSize["4xl"][0]},
|
|
1009
|
+
h3: {
|
|
1010
|
+
fontSize: fontSize["3xl"][0]},
|
|
1011
|
+
h4: {
|
|
1012
|
+
fontSize: fontSize["2xl"][0]},
|
|
1013
|
+
h5: {
|
|
1014
|
+
fontSize: fontSize.xl[0]},
|
|
1015
|
+
h6: {
|
|
1016
|
+
fontSize: fontSize.lg[0]},
|
|
1017
|
+
// Body text styles
|
|
1018
|
+
body: {
|
|
1019
|
+
fontSize: fontSize.base[0]},
|
|
1020
|
+
"body-sm": {
|
|
1021
|
+
fontSize: fontSize.sm[0]},
|
|
1022
|
+
"body-xs": {
|
|
1023
|
+
fontSize: fontSize.xs[0]},
|
|
1024
|
+
// Label styles
|
|
1025
|
+
label: {
|
|
1026
|
+
fontSize: fontSize.sm[0]},
|
|
1027
|
+
"label-sm": {
|
|
1028
|
+
fontSize: fontSize.xs[0]},
|
|
1029
|
+
// Caption styles
|
|
1030
|
+
caption: {
|
|
1031
|
+
fontSize: fontSize.xs[0]}
|
|
1032
|
+
});
|
|
1033
|
+
var tailwindTypographyConfig = {
|
|
1034
|
+
fontFamily: {
|
|
1035
|
+
sans: [...fontFamily.sans],
|
|
1036
|
+
satoshi: [...fontFamily.satoshi],
|
|
1037
|
+
display: [...fontFamily.display],
|
|
1038
|
+
serif: [...fontFamily.serif],
|
|
1039
|
+
mono: [...fontFamily.mono]
|
|
1040
|
+
},
|
|
1041
|
+
fontSize: {
|
|
1042
|
+
xs: [
|
|
1043
|
+
fontSize.xs[0],
|
|
1044
|
+
{ lineHeight: fontSize.xs[1].lineHeight, letterSpacing: fontSize.xs[1].letterSpacing }
|
|
1045
|
+
],
|
|
1046
|
+
sm: [
|
|
1047
|
+
fontSize.sm[0],
|
|
1048
|
+
{ lineHeight: fontSize.sm[1].lineHeight, letterSpacing: fontSize.sm[1].letterSpacing }
|
|
1049
|
+
],
|
|
1050
|
+
md: [
|
|
1051
|
+
fontSize.base[0],
|
|
1052
|
+
{ lineHeight: fontSize.base[1].lineHeight, letterSpacing: fontSize.base[1].letterSpacing }
|
|
1053
|
+
],
|
|
1054
|
+
base: [
|
|
1055
|
+
fontSize.base[0],
|
|
1056
|
+
{ lineHeight: fontSize.base[1].lineHeight, letterSpacing: fontSize.base[1].letterSpacing }
|
|
1057
|
+
],
|
|
1058
|
+
lg: [
|
|
1059
|
+
fontSize.lg[0],
|
|
1060
|
+
{ lineHeight: fontSize.lg[1].lineHeight, letterSpacing: fontSize.lg[1].letterSpacing }
|
|
1061
|
+
],
|
|
1062
|
+
xl: [
|
|
1063
|
+
fontSize.xl[0],
|
|
1064
|
+
{ lineHeight: fontSize.xl[1].lineHeight, letterSpacing: fontSize.xl[1].letterSpacing }
|
|
1065
|
+
],
|
|
1066
|
+
"2xl": [
|
|
1067
|
+
fontSize["2xl"][0],
|
|
1068
|
+
{
|
|
1069
|
+
lineHeight: fontSize["2xl"][1].lineHeight,
|
|
1070
|
+
letterSpacing: fontSize["2xl"][1].letterSpacing
|
|
1071
|
+
}
|
|
1072
|
+
],
|
|
1073
|
+
"3xl": [
|
|
1074
|
+
fontSize["3xl"][0],
|
|
1075
|
+
{
|
|
1076
|
+
lineHeight: fontSize["3xl"][1].lineHeight,
|
|
1077
|
+
letterSpacing: fontSize["3xl"][1].letterSpacing
|
|
1078
|
+
}
|
|
1079
|
+
],
|
|
1080
|
+
"4xl": [
|
|
1081
|
+
fontSize["4xl"][0],
|
|
1082
|
+
{
|
|
1083
|
+
lineHeight: fontSize["4xl"][1].lineHeight,
|
|
1084
|
+
letterSpacing: fontSize["4xl"][1].letterSpacing
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"5xl": [
|
|
1088
|
+
fontSize["5xl"][0],
|
|
1089
|
+
{
|
|
1090
|
+
lineHeight: fontSize["5xl"][1].lineHeight,
|
|
1091
|
+
letterSpacing: fontSize["5xl"][1].letterSpacing
|
|
1092
|
+
}
|
|
1093
|
+
],
|
|
1094
|
+
"6xl": [
|
|
1095
|
+
fontSize["6xl"][0],
|
|
1096
|
+
{
|
|
1097
|
+
lineHeight: fontSize["6xl"][1].lineHeight,
|
|
1098
|
+
letterSpacing: fontSize["6xl"][1].letterSpacing
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
"7xl": [
|
|
1102
|
+
fontSize["7xl"][0],
|
|
1103
|
+
{
|
|
1104
|
+
lineHeight: fontSize["7xl"][1].lineHeight,
|
|
1105
|
+
letterSpacing: fontSize["7xl"][1].letterSpacing
|
|
1106
|
+
}
|
|
1107
|
+
],
|
|
1108
|
+
"8xl": [
|
|
1109
|
+
fontSize["8xl"][0],
|
|
1110
|
+
{
|
|
1111
|
+
lineHeight: fontSize["8xl"][1].lineHeight,
|
|
1112
|
+
letterSpacing: fontSize["8xl"][1].letterSpacing
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
"9xl": [
|
|
1116
|
+
fontSize["9xl"][0],
|
|
1117
|
+
{
|
|
1118
|
+
lineHeight: fontSize["9xl"][1].lineHeight,
|
|
1119
|
+
letterSpacing: fontSize["9xl"][1].letterSpacing
|
|
1120
|
+
}
|
|
1121
|
+
]
|
|
1122
|
+
},
|
|
1123
|
+
fontWeight: { ...fontWeight },
|
|
1124
|
+
lineHeight: { ...lineHeight },
|
|
1125
|
+
letterSpacing: { ...letterSpacing }
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
// src/preset.ts
|
|
1129
|
+
var preset = {
|
|
1130
|
+
darkMode: ["class", '[data-mode="night"]'],
|
|
1131
|
+
theme: {
|
|
1132
|
+
extend: {
|
|
1133
|
+
colors: {
|
|
1134
|
+
// Token-based colors from tokens/colors
|
|
1135
|
+
...tailwindThemeColors
|
|
1136
|
+
},
|
|
1137
|
+
// Token-based typography from tokens/typography
|
|
1138
|
+
fontFamily: tailwindTypographyConfig.fontFamily,
|
|
1139
|
+
fontSize: tailwindTypographyConfig.fontSize,
|
|
1140
|
+
fontWeight: tailwindTypographyConfig.fontWeight,
|
|
1141
|
+
lineHeight: tailwindTypographyConfig.lineHeight,
|
|
1142
|
+
letterSpacing: tailwindTypographyConfig.letterSpacing,
|
|
1143
|
+
// Token-based spacing from tokens/spacing
|
|
1144
|
+
spacing: tailwindSpacingConfig.spacing,
|
|
1145
|
+
// Token-based shadows from tokens/shadows
|
|
1146
|
+
boxShadow: tailwindShadowConfig.boxShadow,
|
|
1147
|
+
ringWidth: tailwindShadowConfig.ringWidth,
|
|
1148
|
+
ringColor: tailwindShadowConfig.ringColor,
|
|
1149
|
+
// Token-based border radius from tokens/radius
|
|
1150
|
+
borderRadius: tailwindRadiusConfig.borderRadius,
|
|
1151
|
+
// Token-based motion from tokens/motion
|
|
1152
|
+
transitionDuration: {
|
|
1153
|
+
...tailwindMotionConfig.transitionDuration,
|
|
1154
|
+
...motionV2TailwindConfig.transitionDuration
|
|
1155
|
+
},
|
|
1156
|
+
transitionTimingFunction: {
|
|
1157
|
+
...tailwindMotionConfig.transitionTimingFunction,
|
|
1158
|
+
...motionV2TailwindConfig.transitionTimingFunction
|
|
1159
|
+
},
|
|
1160
|
+
transitionProperty: tailwindMotionConfig.transitionProperty,
|
|
1161
|
+
keyframes: {
|
|
1162
|
+
...tailwindMotionConfig.keyframes,
|
|
1163
|
+
...motionV2TailwindConfig.keyframes
|
|
1164
|
+
},
|
|
1165
|
+
animation: {
|
|
1166
|
+
...tailwindMotionConfig.animation,
|
|
1167
|
+
...motionV2TailwindConfig.keyframes
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
plugins: [
|
|
1172
|
+
plugin__default.default(({ addUtilities, addBase }) => {
|
|
1173
|
+
addBase({
|
|
1174
|
+
":root": {
|
|
1175
|
+
...motionV2CSSVariables
|
|
1176
|
+
}
|
|
1177
|
+
});
|
|
1178
|
+
addUtilities({
|
|
1179
|
+
// Fade animations
|
|
1180
|
+
".tm-motion-fade-in": {
|
|
1181
|
+
animation: `fade-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1182
|
+
},
|
|
1183
|
+
".tm-motion-fade-out": {
|
|
1184
|
+
animation: `fade-out var(--motion-duration-fast) var(--motion-easing-standard)`
|
|
1185
|
+
},
|
|
1186
|
+
// Scale animations
|
|
1187
|
+
".tm-motion-scale-in": {
|
|
1188
|
+
animation: `scale-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1189
|
+
},
|
|
1190
|
+
".tm-motion-scale-out": {
|
|
1191
|
+
animation: `scale-out var(--motion-duration-fast) var(--motion-easing-standard)`
|
|
1192
|
+
},
|
|
1193
|
+
// Slide animations
|
|
1194
|
+
".tm-motion-slide-up": {
|
|
1195
|
+
animation: `slide-up-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1196
|
+
},
|
|
1197
|
+
".tm-motion-slide-down": {
|
|
1198
|
+
animation: `slide-down-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1199
|
+
},
|
|
1200
|
+
".tm-motion-slide-left": {
|
|
1201
|
+
animation: `slide-left-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1202
|
+
},
|
|
1203
|
+
".tm-motion-slide-right": {
|
|
1204
|
+
animation: `slide-right-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1205
|
+
},
|
|
1206
|
+
// Compound animations
|
|
1207
|
+
".tm-motion-fade-scale": {
|
|
1208
|
+
animation: `fade-scale-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1209
|
+
},
|
|
1210
|
+
".tm-motion-fade-slide-up": {
|
|
1211
|
+
animation: `fade-slide-up-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1212
|
+
},
|
|
1213
|
+
".tm-motion-fade-slide-down": {
|
|
1214
|
+
animation: `fade-slide-down-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1215
|
+
},
|
|
1216
|
+
".tm-motion-fade-slide-left": {
|
|
1217
|
+
animation: `fade-slide-left-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1218
|
+
},
|
|
1219
|
+
".tm-motion-fade-slide-right": {
|
|
1220
|
+
animation: `fade-slide-right-in var(--motion-duration-normal) var(--motion-easing-standard)`
|
|
1221
|
+
},
|
|
1222
|
+
// Exit animations (for use with data attributes or state classes)
|
|
1223
|
+
".tm-motion-fade-scale-out": {
|
|
1224
|
+
animation: `fade-scale-out var(--motion-duration-fast) var(--motion-easing-standard)`
|
|
1225
|
+
},
|
|
1226
|
+
".tm-motion-fade-slide-up-out": {
|
|
1227
|
+
animation: `fade-slide-up-out var(--motion-duration-fast) var(--motion-easing-standard)`
|
|
1228
|
+
},
|
|
1229
|
+
".tm-motion-fade-slide-down-out": {
|
|
1230
|
+
animation: `fade-slide-down-out var(--motion-duration-fast) var(--motion-easing-standard)`
|
|
1231
|
+
},
|
|
1232
|
+
".tm-motion-fade-slide-left-out": {
|
|
1233
|
+
animation: `fade-slide-left-out var(--motion-duration-fast) var(--motion-easing-standard)`
|
|
1234
|
+
},
|
|
1235
|
+
".tm-motion-fade-slide-right-out": {
|
|
1236
|
+
animation: `fade-slide-right-out var(--motion-duration-fast) var(--motion-easing-standard)`
|
|
1237
|
+
},
|
|
1238
|
+
// Hover animations
|
|
1239
|
+
".tm-motion-hover-lift": {
|
|
1240
|
+
transition: "transform var(--motion-duration-fast) var(--motion-easing-standard)"
|
|
1241
|
+
},
|
|
1242
|
+
".tm-motion-hover-lift:hover": {
|
|
1243
|
+
transform: "scale(1.05) translateY(-0.3125rem)"
|
|
1244
|
+
},
|
|
1245
|
+
".tm-motion-hover-scale": {
|
|
1246
|
+
transition: "transform var(--motion-duration-fast) var(--motion-easing-standard)"
|
|
1247
|
+
},
|
|
1248
|
+
".tm-motion-hover-scale:hover": {
|
|
1249
|
+
transform: "scale(1.05)"
|
|
1250
|
+
},
|
|
1251
|
+
// Tap/Active animations
|
|
1252
|
+
".tm-motion-tap-scale": {
|
|
1253
|
+
transition: "transform var(--motion-duration-fast) var(--motion-easing-standard)"
|
|
1254
|
+
},
|
|
1255
|
+
".tm-motion-tap-scale:active": {
|
|
1256
|
+
transform: "scale(0.95)"
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
})
|
|
1260
|
+
]
|
|
1261
|
+
};
|
|
1262
|
+
var preset_default = preset;
|
|
1263
|
+
|
|
1264
|
+
module.exports = preset_default;
|