@tenerife.music/ui 0.0.7 → 1.0.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/README.md +168 -136
- package/dist/ThemeProvider-CaUX_Jam.cjs +2 -0
- package/dist/ThemeProvider-ltuW-773.js +1227 -0
- package/dist/animation/index.d.ts +9 -0
- package/dist/animation/index.d.ts.map +1 -0
- package/dist/animation/presets.d.ts +304 -0
- package/dist/animation/presets.d.ts.map +1 -0
- package/dist/animation/tas.d.ts +80 -0
- package/dist/animation/tas.d.ts.map +1 -0
- package/dist/animation/types.d.ts +106 -0
- package/dist/animation/types.d.ts.map +1 -0
- package/dist/animation/utils.d.ts +7 -0
- package/dist/animation/utils.d.ts.map +1 -0
- package/dist/brand-C5R2semX.js +45 -0
- package/dist/brand-DQb18Frh.cjs +2 -0
- package/dist/components/SectionBuilder.d.ts +37 -0
- package/dist/components/SectionBuilder.d.ts.map +1 -0
- package/dist/components/SectionBuilder.presets.d.ts +229 -0
- package/dist/components/SectionBuilder.presets.d.ts.map +1 -0
- package/dist/components/SectionBuilder.types.d.ts +327 -0
- package/dist/components/SectionBuilder.types.d.ts.map +1 -0
- package/dist/components/admin/Dashboard.d.ts.map +1 -1
- package/dist/components/admin/UserManagement.d.ts.map +1 -1
- package/dist/components/auth/LoginForm.d.ts.map +1 -1
- package/dist/components/auth/ProfileCard.d.ts.map +1 -1
- package/dist/components/auth/RegisterForm.d.ts.map +1 -1
- package/dist/components/cards/EventCard.d.ts +32 -31
- package/dist/components/cards/EventCard.d.ts.map +1 -1
- package/dist/components/cards/VenueCard.d.ts +32 -33
- package/dist/components/cards/VenueCard.d.ts.map +1 -1
- package/dist/components/controls/LanguageSelector.d.ts.map +1 -1
- package/dist/components/data/List.d.ts.map +1 -1
- package/dist/components/data/Table.d.ts +2 -2
- package/dist/components/data/Table.d.ts.map +1 -1
- package/dist/components/data/Timeline.d.ts.map +1 -1
- package/dist/components/feedback/Alert.d.ts +1 -1
- package/dist/components/feedback/Alert.d.ts.map +1 -1
- package/dist/components/feedback/ConsentBanner.d.ts.map +1 -1
- package/dist/components/feedback/Progress.d.ts.map +1 -1
- package/dist/components/feedback/Skeleton.d.ts.map +1 -1
- package/dist/components/filters/DateRangePicker.d.ts.map +1 -1
- package/dist/components/filters/FilterBar.d.ts +14 -1
- package/dist/components/filters/FilterBar.d.ts.map +1 -1
- package/dist/components/filters/FilterSelect.d.ts +2 -2
- package/dist/components/filters/FilterSelect.d.ts.map +1 -1
- package/dist/components/filters/PriceRangeSlider.d.ts.map +1 -1
- package/dist/components/filters/SearchFilters.d.ts.map +1 -1
- package/dist/components/filters/SearchInput.d.ts +1 -1
- package/dist/components/filters/SearchInput.d.ts.map +1 -1
- package/dist/components/filters/types.d.ts +9 -9
- package/dist/components/filters/types.d.ts.map +1 -1
- package/dist/components/forms/FormInput.d.ts +3 -7
- package/dist/components/forms/FormInput.d.ts.map +1 -1
- package/dist/components/forms/FormSelect.d.ts.map +1 -1
- package/dist/components/forms/FormTextarea.d.ts +2 -6
- package/dist/components/forms/FormTextarea.d.ts.map +1 -1
- package/dist/components/icons/TrendingIcon.d.ts.map +1 -1
- package/dist/components/image/Image.d.ts +4 -4
- package/dist/components/image/Image.d.ts.map +1 -1
- package/dist/components/layout/Box.d.ts +90 -0
- package/dist/components/layout/Box.d.ts.map +1 -0
- package/dist/components/layout/Container.d.ts +2 -2
- package/dist/components/layout/Container.d.ts.map +1 -1
- package/dist/components/layout/Flex.d.ts +27 -6
- package/dist/components/layout/Flex.d.ts.map +1 -1
- package/dist/components/layout/Footer.d.ts.map +1 -1
- package/dist/components/layout/Grid.d.ts +43 -4
- package/dist/components/layout/Grid.d.ts.map +1 -1
- package/dist/components/layout/ModeHero.d.ts.map +1 -1
- package/dist/components/layout/Navbar.d.ts +2 -2
- package/dist/components/layout/Navbar.d.ts.map +1 -1
- package/dist/components/layout/Section.d.ts +2 -2
- package/dist/components/layout/Section.d.ts.map +1 -1
- package/dist/components/layout/Stack.d.ts +21 -4
- package/dist/components/layout/Stack.d.ts.map +1 -1
- package/dist/components/layout/index.d.ts +15 -0
- package/dist/components/layout/index.d.ts.map +1 -0
- package/dist/components/layout/layout.types.d.ts +92 -0
- package/dist/components/layout/layout.types.d.ts.map +1 -0
- package/dist/components/menus/DropdownMenu.d.ts +2 -2
- package/dist/components/menus/DropdownMenu.d.ts.map +1 -1
- package/dist/components/menus/NavigationMenu.d.ts +2 -2
- package/dist/components/menus/NavigationMenu.d.ts.map +1 -1
- package/dist/components/menus/Tabs.d.ts +2 -2
- package/dist/components/menus/Tabs.d.ts.map +1 -1
- package/dist/components/modals/ConfirmDialog.d.ts +2 -2
- package/dist/components/modals/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/modals/CustomDialog.d.ts +1 -2
- package/dist/components/modals/CustomDialog.d.ts.map +1 -1
- package/dist/components/modals/Modal.d.ts +2 -2
- package/dist/components/modals/Modal.d.ts.map +1 -1
- package/dist/components/modals/ModalProvider.d.ts +2 -2
- package/dist/components/modals/ModalProvider.d.ts.map +1 -1
- package/dist/components/modals/SimpleModal.d.ts +3 -2
- package/dist/components/modals/SimpleModal.d.ts.map +1 -1
- package/dist/components/navigation/Breadcrumbs.d.ts +1 -0
- package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/Pagination.d.ts +1 -0
- package/dist/components/navigation/Pagination.d.ts.map +1 -1
- package/dist/components/overlays/OverlayPortal.d.ts +3 -3
- package/dist/components/overlays/OverlayPortal.d.ts.map +1 -1
- package/dist/components/overlays/Popover.d.ts +11 -11
- package/dist/components/overlays/Popover.d.ts.map +1 -1
- package/dist/components/overlays/Tooltip.d.ts +9 -9
- package/dist/components/overlays/Tooltip.d.ts.map +1 -1
- package/dist/components/primitives/Badge.d.ts +1 -1
- package/dist/components/primitives/Badge.d.ts.map +1 -1
- package/dist/components/primitives/Button.d.ts +1 -1
- package/dist/components/primitives/Button.d.ts.map +1 -1
- package/dist/components/primitives/Card.d.ts +1 -1
- package/dist/components/primitives/Card.d.ts.map +1 -1
- package/dist/components/primitives/Divider.d.ts.map +1 -1
- package/dist/components/primitives/Link.d.ts +4 -2
- package/dist/components/primitives/Link.d.ts.map +1 -1
- package/dist/components/primitives/ThemeSwitch.d.ts +2 -2
- package/dist/components/primitives/ThemeSwitch.d.ts.map +1 -1
- package/dist/components/primitives/Typography.d.ts +4 -4
- package/dist/components/primitives/Typography.d.ts.map +1 -1
- package/dist/components/search/SearchBar.d.ts.map +1 -1
- package/dist/components/sections/ArticlesSection.d.ts +14 -4
- package/dist/components/sections/ArticlesSection.d.ts.map +1 -1
- package/dist/components/sections/CTASection.d.ts +38 -0
- package/dist/components/sections/CTASection.d.ts.map +1 -0
- package/dist/components/sections/FeatureSection.d.ts +34 -0
- package/dist/components/sections/FeatureSection.d.ts.map +1 -0
- package/dist/components/sections/HeroSection.d.ts +28 -0
- package/dist/components/sections/HeroSection.d.ts.map +1 -0
- package/dist/components/sections/TrendingSection.d.ts +19 -3
- package/dist/components/sections/TrendingSection.d.ts.map +1 -1
- package/dist/components/skeletons/EventCardSkeleton.d.ts.map +1 -1
- package/dist/components/skeletons/VenueCardSkeleton.d.ts.map +1 -1
- package/dist/components/toasts/Toast.d.ts +2 -2
- package/dist/components/toasts/Toast.d.ts.map +1 -1
- package/dist/components/toasts/ToastProvider.d.ts +3 -3
- package/dist/components/toasts/ToastProvider.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +4 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +1 -1
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts +2 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/label.d.ts +1 -1
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/toast.d.ts +3 -3
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toaster.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts +2 -2
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/dark-Cvoy1uFT.js +30 -0
- package/dist/dark-OOhiqt1q.cjs +2 -0
- package/dist/default-BKgH1D9-.js +8 -0
- package/dist/default-Ddg7Haf2.cjs +2 -0
- package/dist/hooks/use-toast.d.ts +3 -3
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/useDebounce.d.ts +20 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useModal.d.ts +5 -5
- package/dist/hooks/useModal.d.ts.map +1 -1
- package/dist/hooks/useToast.d.ts +2 -2
- package/dist/hooks/useToast.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +41 -32
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4303 -2807
- package/dist/lib/a11y.d.ts +16 -0
- package/dist/lib/a11y.d.ts.map +1 -0
- package/dist/lib/responsive-props.d.ts +64 -0
- package/dist/lib/responsive-props.d.ts.map +1 -0
- package/dist/motion-4SRNkZlz.cjs +2 -0
- package/dist/motion-CuHacXY1.js +722 -0
- package/dist/preset.cjs +1 -1
- package/dist/preset.d.ts.map +1 -1
- package/dist/preset.mjs +1 -1
- package/dist/radius-CAu4qr9R.js +185 -0
- package/dist/radius-Cz6tayZG.cjs +2 -0
- package/dist/test/animation-utils.d.ts +60 -0
- package/dist/test/animation-utils.d.ts.map +1 -0
- package/dist/theme/ThemeProvider.d.ts +56 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/theme/applyMode.d.ts +41 -1
- package/dist/theme/applyMode.d.ts.map +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.d.ts +5 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.mjs +237 -97
- package/dist/theme/loader.d.ts +64 -0
- package/dist/theme/loader.d.ts.map +1 -0
- package/dist/theme/motion.d.ts.map +1 -1
- package/dist/theme/registry.d.ts +71 -0
- package/dist/theme/registry.d.ts.map +1 -0
- package/dist/theme/schema.d.ts +125 -0
- package/dist/theme/schema.d.ts.map +1 -0
- package/dist/theme/typography.d.ts.map +1 -1
- package/dist/themes/brand.d.ts +7 -0
- package/dist/themes/brand.d.ts.map +1 -0
- package/dist/themes/brand_engine.d.ts +102 -0
- package/dist/themes/brand_engine.d.ts.map +1 -0
- package/dist/themes/dark.d.ts +7 -0
- package/dist/themes/dark.d.ts.map +1 -0
- package/dist/themes/default.d.ts +7 -0
- package/dist/themes/default.d.ts.map +1 -0
- package/dist/themes/index.d.ts +25 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/minimal.d.ts +7 -0
- package/dist/themes/minimal.d.ts.map +1 -0
- package/dist/themes/neon.d.ts +7 -0
- package/dist/themes/neon.d.ts.map +1 -0
- package/dist/themes/types.d.ts +279 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/dist/tokens/colors.d.ts +260 -38
- package/dist/tokens/colors.d.ts.map +1 -1
- package/dist/tokens/css-variables.d.ts +271 -0
- package/dist/tokens/css-variables.d.ts.map +1 -0
- package/dist/tokens/index.cjs +4 -1
- package/dist/tokens/index.d.ts +4 -1
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.mjs +770 -168
- package/dist/tokens/motion.d.ts +435 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/tokens/radius.d.ts +130 -2
- package/dist/tokens/radius.d.ts.map +1 -1
- package/dist/tokens/shadows.d.ts +172 -0
- package/dist/tokens/shadows.d.ts.map +1 -0
- package/dist/tokens/spacing.d.ts +155 -1
- package/dist/tokens/spacing.d.ts.map +1 -1
- package/dist/tokens/typography.d.ts +285 -21
- package/dist/tokens/typography.d.ts.map +1 -1
- package/package.json +66 -18
- package/dist/radius-CuOZD6Mk.cjs +0 -2
- package/dist/radius-NOytgRst.js +0 -22
package/dist/tokens/index.mjs
CHANGED
|
@@ -1,170 +1,430 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
2
|
+
import { m as x, i as h } from "../motion-CuHacXY1.js";
|
|
3
|
+
import { a as U, n as E, b as L, h as N, e as A, g as B, l as D, p as $, r as G, s as q, d as J, f as K, c as P, o as Q, j as X, t as Y, k as Z } from "../motion-CuHacXY1.js";
|
|
4
|
+
import { r as d } from "../radius-CAu4qr9R.js";
|
|
5
|
+
import { b as ee, c as te, t as le } from "../radius-CAu4qr9R.js";
|
|
6
|
+
const i = {
|
|
7
|
+
none: "none",
|
|
8
|
+
xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
9
|
+
sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
|
|
10
|
+
md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
11
|
+
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
|
|
12
|
+
xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
|
|
13
|
+
"2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)"
|
|
14
|
+
}, g = {
|
|
15
|
+
xs: "0 1px 2px 0 hsl(var(--primary-500) / 0.15)",
|
|
16
|
+
sm: "0 2px 4px 0 hsl(var(--primary-500) / 0.2)",
|
|
17
|
+
md: "0 4px 8px 0 hsl(var(--primary-500) / 0.3)",
|
|
18
|
+
lg: "0 8px 16px 0 hsl(var(--primary-500) / 0.4)",
|
|
19
|
+
xl: "0 12px 24px 0 hsl(var(--primary-500) / 0.5)",
|
|
20
|
+
"2xl": "0 16px 32px 0 hsl(var(--primary-500) / 0.6)"
|
|
21
|
+
}, c = {
|
|
22
|
+
xs: "0 1px 2px 0 hsl(var(--accent-500) / 0.15)",
|
|
23
|
+
sm: "0 2px 4px 0 hsl(var(--accent-500) / 0.2)",
|
|
24
|
+
md: "0 4px 8px 0 hsl(var(--accent-500) / 0.3)",
|
|
25
|
+
lg: "0 8px 16px 0 hsl(var(--accent-500) / 0.4)",
|
|
26
|
+
xl: "0 12px 24px 0 hsl(var(--accent-500) / 0.5)",
|
|
27
|
+
"2xl": "0 16px 32px 0 hsl(var(--accent-500) / 0.6)"
|
|
28
|
+
}, m = {
|
|
29
|
+
// Primary glow effects
|
|
30
|
+
"glow-primary": "0 0 20px 0 hsl(var(--primary-500) / 0.5), 0 0 40px 0 hsl(var(--primary-500) / 0.3)",
|
|
31
|
+
"glow-primary-subtle": "0 0 8px 0 hsl(var(--primary-500) / 0.3)",
|
|
32
|
+
"glow-primary-medium": "0 0 16px 0 hsl(var(--primary-500) / 0.5)",
|
|
33
|
+
"glow-primary-strong": "0 0 24px 0 hsl(var(--primary-500) / 0.6)",
|
|
34
|
+
// Accent glow effects
|
|
35
|
+
"glow-accent": "0 0 20px 0 hsl(var(--accent-500) / 0.5), 0 0 40px 0 hsl(var(--accent-500) / 0.3)",
|
|
36
|
+
"glow-accent-subtle": "0 0 8px 0 hsl(var(--accent-500) / 0.3)",
|
|
37
|
+
"glow-accent-medium": "0 0 16px 0 hsl(var(--accent-500) / 0.5)",
|
|
38
|
+
"glow-accent-strong": "0 0 24px 0 hsl(var(--accent-500) / 0.6)"
|
|
39
|
+
}, p = {
|
|
40
|
+
default: "0 0 0 3px hsl(var(--ring) / 0.5)",
|
|
41
|
+
primary: "0 0 0 3px hsl(var(--primary-500) / 0.3)",
|
|
42
|
+
accent: "0 0 0 3px hsl(var(--accent-500) / 0.3)",
|
|
43
|
+
"focus-primary": "0 0 0 3px hsl(var(--primary-500) / 0.3)",
|
|
44
|
+
"focus-accent": "0 0 0 3px hsl(var(--accent-500) / 0.3)"
|
|
45
|
+
}, y = {
|
|
46
|
+
// Elevation shadows
|
|
47
|
+
"--shadow-none": i.none,
|
|
48
|
+
"--shadow-xs": i.xs,
|
|
49
|
+
"--shadow-sm": i.sm,
|
|
50
|
+
"--shadow-md": i.md,
|
|
51
|
+
"--shadow-lg": i.lg,
|
|
52
|
+
"--shadow-xl": i.xl,
|
|
53
|
+
"--shadow-2xl": i["2xl"],
|
|
54
|
+
// Primary colored shadows
|
|
55
|
+
"--shadow-primary-xs": g.xs,
|
|
56
|
+
"--shadow-primary-sm": g.sm,
|
|
57
|
+
"--shadow-primary-md": g.md,
|
|
58
|
+
"--shadow-primary-lg": g.lg,
|
|
59
|
+
"--shadow-primary-xl": g.xl,
|
|
60
|
+
"--shadow-primary-2xl": g["2xl"],
|
|
61
|
+
// Accent colored shadows
|
|
62
|
+
"--shadow-accent-xs": c.xs,
|
|
63
|
+
"--shadow-accent-sm": c.sm,
|
|
64
|
+
"--shadow-accent-md": c.md,
|
|
65
|
+
"--shadow-accent-lg": c.lg,
|
|
66
|
+
"--shadow-accent-xl": c.xl,
|
|
67
|
+
"--shadow-accent-2xl": c["2xl"],
|
|
68
|
+
// Glow effects
|
|
69
|
+
"--glow-primary": m["glow-primary"],
|
|
70
|
+
"--glow-primary-subtle": m["glow-primary-subtle"],
|
|
71
|
+
"--glow-primary-medium": m["glow-primary-medium"],
|
|
72
|
+
"--glow-primary-strong": m["glow-primary-strong"],
|
|
73
|
+
"--glow-accent": m["glow-accent"],
|
|
74
|
+
"--glow-accent-subtle": m["glow-accent-subtle"],
|
|
75
|
+
"--glow-accent-medium": m["glow-accent-medium"],
|
|
76
|
+
"--glow-accent-strong": m["glow-accent-strong"],
|
|
77
|
+
// Focus rings
|
|
78
|
+
"--focus-ring-default": p.default,
|
|
79
|
+
"--focus-ring-primary": p.primary,
|
|
80
|
+
"--focus-ring-accent": p.accent,
|
|
81
|
+
"--focus-primary": p["focus-primary"],
|
|
82
|
+
"--focus-accent": p["focus-accent"]
|
|
83
|
+
}, z = {
|
|
59
84
|
card: {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
2: "hsl(var(--chart-2))",
|
|
93
|
-
3: "hsl(var(--chart-3))",
|
|
94
|
-
4: "hsl(var(--chart-4))",
|
|
95
|
-
5: "hsl(var(--chart-5))"
|
|
85
|
+
default: i.sm,
|
|
86
|
+
hover: i.md,
|
|
87
|
+
active: i.xs,
|
|
88
|
+
selected: g.sm
|
|
89
|
+
},
|
|
90
|
+
button: {
|
|
91
|
+
default: i.xs,
|
|
92
|
+
hover: i.sm,
|
|
93
|
+
active: i.none,
|
|
94
|
+
focus: p.primary
|
|
95
|
+
},
|
|
96
|
+
"button-accent": {
|
|
97
|
+
default: c.xs,
|
|
98
|
+
hover: c.sm,
|
|
99
|
+
active: i.none,
|
|
100
|
+
focus: p.accent
|
|
101
|
+
},
|
|
102
|
+
modal: {
|
|
103
|
+
default: i.xl,
|
|
104
|
+
backdrop: "rgba(0, 0, 0, 0.5)"
|
|
105
|
+
},
|
|
106
|
+
dropdown: {
|
|
107
|
+
default: i.md,
|
|
108
|
+
hover: i.lg
|
|
109
|
+
},
|
|
110
|
+
tooltip: {
|
|
111
|
+
default: i.sm
|
|
112
|
+
},
|
|
113
|
+
toast: {
|
|
114
|
+
default: i.lg,
|
|
115
|
+
success: "0 10px 15px -3px hsl(var(--success) / 0.3)",
|
|
116
|
+
error: "0 10px 15px -3px hsl(var(--error) / 0.3)"
|
|
96
117
|
}
|
|
97
|
-
},
|
|
118
|
+
}, F = {
|
|
119
|
+
boxShadow: {
|
|
120
|
+
// Elevation shadows
|
|
121
|
+
none: i.none,
|
|
122
|
+
xs: i.xs,
|
|
123
|
+
sm: i.sm,
|
|
124
|
+
md: i.md,
|
|
125
|
+
lg: i.lg,
|
|
126
|
+
xl: i.xl,
|
|
127
|
+
"2xl": i["2xl"],
|
|
128
|
+
// Primary colored shadows
|
|
129
|
+
"primary-xs": g.xs,
|
|
130
|
+
"primary-sm": g.sm,
|
|
131
|
+
"primary-md": g.md,
|
|
132
|
+
"primary-lg": g.lg,
|
|
133
|
+
"primary-xl": g.xl,
|
|
134
|
+
"primary-2xl": g["2xl"],
|
|
135
|
+
// Accent colored shadows
|
|
136
|
+
"accent-xs": c.xs,
|
|
137
|
+
"accent-sm": c.sm,
|
|
138
|
+
"accent-md": c.md,
|
|
139
|
+
"accent-lg": c.lg,
|
|
140
|
+
"accent-xl": c.xl,
|
|
141
|
+
"accent-2xl": c["2xl"],
|
|
142
|
+
// Glow effects
|
|
143
|
+
"glow-primary": m["glow-primary"],
|
|
144
|
+
"glow-primary-subtle": m["glow-primary-subtle"],
|
|
145
|
+
"glow-primary-medium": m["glow-primary-medium"],
|
|
146
|
+
"glow-primary-strong": m["glow-primary-strong"],
|
|
147
|
+
"glow-accent": m["glow-accent"],
|
|
148
|
+
"glow-accent-subtle": m["glow-accent-subtle"],
|
|
149
|
+
"glow-accent-medium": m["glow-accent-medium"],
|
|
150
|
+
"glow-accent-strong": m["glow-accent-strong"],
|
|
151
|
+
// Focus rings (using box-shadow for focus states)
|
|
152
|
+
"focus-ring": p.default,
|
|
153
|
+
"focus-primary": p["focus-primary"],
|
|
154
|
+
"focus-accent": p["focus-accent"]
|
|
155
|
+
},
|
|
156
|
+
// Ring width (for focus rings using ring utilities)
|
|
157
|
+
ringWidth: {
|
|
158
|
+
DEFAULT: "3px",
|
|
159
|
+
sm: "2px",
|
|
160
|
+
md: "3px",
|
|
161
|
+
lg: "4px"
|
|
162
|
+
},
|
|
163
|
+
// Ring color (for focus rings)
|
|
164
|
+
ringColor: {
|
|
165
|
+
DEFAULT: "hsl(var(--ring) / 0.5)",
|
|
166
|
+
primary: "hsl(var(--primary-500) / 0.3)",
|
|
167
|
+
accent: "hsl(var(--accent-500) / 0.3)",
|
|
168
|
+
"focus-primary": "hsl(var(--primary-500) / 0.3)",
|
|
169
|
+
"focus-accent": "hsl(var(--accent-500) / 0.3)"
|
|
170
|
+
}
|
|
171
|
+
}, t = {
|
|
172
|
+
// Zero spacing
|
|
173
|
+
0: "0",
|
|
98
174
|
px: "1px",
|
|
99
|
-
|
|
175
|
+
// Half unit (4px)
|
|
100
176
|
0.5: "0.125rem",
|
|
101
|
-
// 2px
|
|
102
|
-
1: "0.25rem",
|
|
103
177
|
// 4px
|
|
178
|
+
// Base unit multiples (8px increments)
|
|
179
|
+
1: "0.25rem",
|
|
180
|
+
// 4px (half unit, common)
|
|
104
181
|
1.5: "0.375rem",
|
|
105
|
-
// 6px
|
|
182
|
+
// 6px (rare, for fine adjustments)
|
|
106
183
|
2: "0.5rem",
|
|
107
|
-
// 8px
|
|
184
|
+
// 8px (base unit)
|
|
108
185
|
2.5: "0.625rem",
|
|
109
|
-
// 10px
|
|
186
|
+
// 10px (rare)
|
|
110
187
|
3: "0.75rem",
|
|
111
|
-
// 12px
|
|
188
|
+
// 12px (1.5 × base)
|
|
112
189
|
3.5: "0.875rem",
|
|
113
|
-
// 14px
|
|
190
|
+
// 14px (rare)
|
|
114
191
|
4: "1rem",
|
|
115
|
-
// 16px
|
|
192
|
+
// 16px (2 × base)
|
|
116
193
|
5: "1.25rem",
|
|
117
|
-
// 20px
|
|
194
|
+
// 20px (2.5 × base)
|
|
118
195
|
6: "1.5rem",
|
|
119
|
-
// 24px
|
|
196
|
+
// 24px (3 × base)
|
|
120
197
|
7: "1.75rem",
|
|
121
|
-
// 28px
|
|
198
|
+
// 28px (3.5 × base)
|
|
122
199
|
8: "2rem",
|
|
123
|
-
// 32px
|
|
200
|
+
// 32px (4 × base)
|
|
124
201
|
9: "2.25rem",
|
|
125
|
-
// 36px
|
|
202
|
+
// 36px (4.5 × base)
|
|
126
203
|
10: "2.5rem",
|
|
127
|
-
// 40px
|
|
204
|
+
// 40px (5 × base)
|
|
128
205
|
11: "2.75rem",
|
|
129
|
-
// 44px
|
|
206
|
+
// 44px (5.5 × base)
|
|
130
207
|
12: "3rem",
|
|
131
|
-
// 48px
|
|
208
|
+
// 48px (6 × base)
|
|
132
209
|
14: "3.5rem",
|
|
133
|
-
// 56px
|
|
210
|
+
// 56px (7 × base)
|
|
134
211
|
16: "4rem",
|
|
135
|
-
// 64px
|
|
212
|
+
// 64px (8 × base)
|
|
136
213
|
20: "5rem",
|
|
137
|
-
// 80px
|
|
214
|
+
// 80px (10 × base)
|
|
138
215
|
24: "6rem",
|
|
139
|
-
// 96px
|
|
216
|
+
// 96px (12 × base)
|
|
217
|
+
// Extended scale for larger spacing
|
|
140
218
|
28: "7rem",
|
|
141
|
-
// 112px
|
|
219
|
+
// 112px (14 × base)
|
|
142
220
|
32: "8rem",
|
|
143
|
-
// 128px
|
|
221
|
+
// 128px (16 × base)
|
|
144
222
|
36: "9rem",
|
|
145
|
-
// 144px
|
|
223
|
+
// 144px (18 × base)
|
|
146
224
|
40: "10rem",
|
|
147
|
-
// 160px
|
|
225
|
+
// 160px (20 × base)
|
|
148
226
|
44: "11rem",
|
|
149
|
-
// 176px
|
|
227
|
+
// 176px (22 × base)
|
|
150
228
|
48: "12rem",
|
|
151
|
-
// 192px
|
|
229
|
+
// 192px (24 × base)
|
|
152
230
|
52: "13rem",
|
|
153
|
-
// 208px
|
|
231
|
+
// 208px (26 × base)
|
|
154
232
|
56: "14rem",
|
|
155
|
-
// 224px
|
|
233
|
+
// 224px (28 × base)
|
|
156
234
|
60: "15rem",
|
|
157
|
-
// 240px
|
|
235
|
+
// 240px (30 × base)
|
|
158
236
|
64: "16rem",
|
|
159
|
-
// 256px
|
|
237
|
+
// 256px (32 × base)
|
|
160
238
|
72: "18rem",
|
|
161
|
-
// 288px
|
|
239
|
+
// 288px (36 × base)
|
|
162
240
|
80: "20rem",
|
|
163
|
-
// 320px
|
|
241
|
+
// 320px (40 × base)
|
|
164
242
|
96: "24rem"
|
|
165
|
-
// 384px
|
|
166
|
-
},
|
|
243
|
+
// 384px (48 × base)
|
|
244
|
+
}, r = {
|
|
245
|
+
// Extra small spacing (tight, minimal)
|
|
246
|
+
xs: t[1],
|
|
247
|
+
// 4px (0.25rem)
|
|
248
|
+
// Small spacing (compact)
|
|
249
|
+
sm: t[2],
|
|
250
|
+
// 8px (0.5rem)
|
|
251
|
+
// Medium spacing (default)
|
|
252
|
+
md: t[4],
|
|
253
|
+
// 16px (1rem)
|
|
254
|
+
// Large spacing (spacious)
|
|
255
|
+
lg: t[6],
|
|
256
|
+
// 24px (1.5rem)
|
|
257
|
+
// Extra large spacing (very spacious)
|
|
258
|
+
xl: t[8],
|
|
259
|
+
// 32px (2rem)
|
|
260
|
+
// 2XL spacing (section-level)
|
|
261
|
+
"2xl": t[12],
|
|
262
|
+
// 48px (3rem)
|
|
263
|
+
// 3XL spacing (major sections)
|
|
264
|
+
"3xl": t[16],
|
|
265
|
+
// 64px (4rem)
|
|
266
|
+
// 4XL spacing (page sections)
|
|
267
|
+
"4xl": t[20],
|
|
268
|
+
// 80px (5rem)
|
|
269
|
+
// 5XL spacing (hero sections)
|
|
270
|
+
"5xl": t[24],
|
|
271
|
+
// 96px (6rem)
|
|
272
|
+
// None (no spacing)
|
|
273
|
+
none: t[0]
|
|
274
|
+
// 0
|
|
275
|
+
}, l = {
|
|
276
|
+
// Section spacing (vertical spacing between major sections)
|
|
277
|
+
section: {
|
|
278
|
+
xs: t[6],
|
|
279
|
+
// 24px (compact sections)
|
|
280
|
+
sm: t[8],
|
|
281
|
+
// 32px (small sections)
|
|
282
|
+
md: t[12],
|
|
283
|
+
// 48px (default sections)
|
|
284
|
+
lg: t[16],
|
|
285
|
+
// 64px (large sections)
|
|
286
|
+
xl: t[20],
|
|
287
|
+
// 80px (extra large sections)
|
|
288
|
+
"2xl": t[24]
|
|
289
|
+
// 96px (hero sections)
|
|
290
|
+
},
|
|
291
|
+
// Container spacing (padding inside containers)
|
|
292
|
+
container: {
|
|
293
|
+
xs: t[2],
|
|
294
|
+
// 8px (tight containers)
|
|
295
|
+
sm: t[4],
|
|
296
|
+
// 16px (compact containers)
|
|
297
|
+
md: t[6],
|
|
298
|
+
// 24px (default containers)
|
|
299
|
+
lg: t[8],
|
|
300
|
+
// 32px (spacious containers)
|
|
301
|
+
xl: t[12]
|
|
302
|
+
// 48px (very spacious containers)
|
|
303
|
+
},
|
|
304
|
+
// Grid spacing (gap between grid items)
|
|
305
|
+
grid: {
|
|
306
|
+
xs: t[2],
|
|
307
|
+
// 8px (tight grids)
|
|
308
|
+
sm: t[4],
|
|
309
|
+
// 16px (compact grids)
|
|
310
|
+
md: t[6],
|
|
311
|
+
// 24px (default grids)
|
|
312
|
+
lg: t[8],
|
|
313
|
+
// 32px (spacious grids)
|
|
314
|
+
xl: t[12]
|
|
315
|
+
// 48px (very spacious grids)
|
|
316
|
+
},
|
|
317
|
+
// Stack spacing (gap between stacked items)
|
|
318
|
+
stack: {
|
|
319
|
+
xs: t[1],
|
|
320
|
+
// 4px (tight stacks)
|
|
321
|
+
sm: t[2],
|
|
322
|
+
// 8px (compact stacks)
|
|
323
|
+
md: t[4],
|
|
324
|
+
// 16px (default stacks)
|
|
325
|
+
lg: t[6],
|
|
326
|
+
// 24px (spacious stacks)
|
|
327
|
+
xl: t[8]
|
|
328
|
+
// 32px (very spacious stacks)
|
|
329
|
+
},
|
|
330
|
+
// Component internal spacing (padding inside components)
|
|
331
|
+
component: {
|
|
332
|
+
xs: t[1],
|
|
333
|
+
// 4px (tight components)
|
|
334
|
+
sm: t[2],
|
|
335
|
+
// 8px (compact components)
|
|
336
|
+
md: t[4],
|
|
337
|
+
// 16px (default components)
|
|
338
|
+
lg: t[6],
|
|
339
|
+
// 24px (spacious components)
|
|
340
|
+
xl: t[8]
|
|
341
|
+
// 32px (extra spacious components)
|
|
342
|
+
}
|
|
343
|
+
}, f = {
|
|
344
|
+
// Base spacing scale
|
|
345
|
+
"--spacing-0": t[0],
|
|
346
|
+
"--spacing-px": t.px,
|
|
347
|
+
"--spacing-0-5": t[0.5],
|
|
348
|
+
"--spacing-1": t[1],
|
|
349
|
+
"--spacing-1-5": t[1.5],
|
|
350
|
+
"--spacing-2": t[2],
|
|
351
|
+
"--spacing-2-5": t[2.5],
|
|
352
|
+
"--spacing-3": t[3],
|
|
353
|
+
"--spacing-3-5": t[3.5],
|
|
354
|
+
"--spacing-4": t[4],
|
|
355
|
+
"--spacing-5": t[5],
|
|
356
|
+
"--spacing-6": t[6],
|
|
357
|
+
"--spacing-7": t[7],
|
|
358
|
+
"--spacing-8": t[8],
|
|
359
|
+
"--spacing-9": t[9],
|
|
360
|
+
"--spacing-10": t[10],
|
|
361
|
+
"--spacing-11": t[11],
|
|
362
|
+
"--spacing-12": t[12],
|
|
363
|
+
"--spacing-14": t[14],
|
|
364
|
+
"--spacing-16": t[16],
|
|
365
|
+
"--spacing-20": t[20],
|
|
366
|
+
"--spacing-24": t[24],
|
|
367
|
+
// Semantic spacing
|
|
368
|
+
"--spacing-xs": r.xs,
|
|
369
|
+
"--spacing-sm": r.sm,
|
|
370
|
+
"--spacing-md": r.md,
|
|
371
|
+
"--spacing-lg": r.lg,
|
|
372
|
+
"--spacing-xl": r.xl,
|
|
373
|
+
"--spacing-2xl": r["2xl"],
|
|
374
|
+
"--spacing-3xl": r["3xl"],
|
|
375
|
+
"--spacing-4xl": r["4xl"],
|
|
376
|
+
"--spacing-5xl": r["5xl"],
|
|
377
|
+
"--spacing-none": r.none,
|
|
378
|
+
// Layout spacing - sections
|
|
379
|
+
"--layout-section-xs": l.section.xs,
|
|
380
|
+
"--layout-section-sm": l.section.sm,
|
|
381
|
+
"--layout-section-md": l.section.md,
|
|
382
|
+
"--layout-section-lg": l.section.lg,
|
|
383
|
+
"--layout-section-xl": l.section.xl,
|
|
384
|
+
"--layout-section-2xl": l.section["2xl"],
|
|
385
|
+
// Layout spacing - containers
|
|
386
|
+
"--layout-container-xs": l.container.xs,
|
|
387
|
+
"--layout-container-sm": l.container.sm,
|
|
388
|
+
"--layout-container-md": l.container.md,
|
|
389
|
+
"--layout-container-lg": l.container.lg,
|
|
390
|
+
"--layout-container-xl": l.container.xl,
|
|
391
|
+
// Layout spacing - grids
|
|
392
|
+
"--layout-grid-xs": l.grid.xs,
|
|
393
|
+
"--layout-grid-sm": l.grid.sm,
|
|
394
|
+
"--layout-grid-md": l.grid.md,
|
|
395
|
+
"--layout-grid-lg": l.grid.lg,
|
|
396
|
+
"--layout-grid-xl": l.grid.xl,
|
|
397
|
+
// Layout spacing - stacks
|
|
398
|
+
"--layout-stack-xs": l.stack.xs,
|
|
399
|
+
"--layout-stack-sm": l.stack.sm,
|
|
400
|
+
"--layout-stack-md": l.stack.md,
|
|
401
|
+
"--layout-stack-lg": l.stack.lg,
|
|
402
|
+
"--layout-stack-xl": l.stack.xl,
|
|
403
|
+
// Layout spacing - components
|
|
404
|
+
"--layout-component-xs": l.component.xs,
|
|
405
|
+
"--layout-component-sm": l.component.sm,
|
|
406
|
+
"--layout-component-md": l.component.md,
|
|
407
|
+
"--layout-component-lg": l.component.lg,
|
|
408
|
+
"--layout-component-xl": l.component.xl
|
|
409
|
+
}, W = {
|
|
410
|
+
spacing: {
|
|
411
|
+
...t,
|
|
412
|
+
// Add semantic tokens as aliases
|
|
413
|
+
xs: r.xs,
|
|
414
|
+
sm: r.sm,
|
|
415
|
+
md: r.md,
|
|
416
|
+
lg: r.lg,
|
|
417
|
+
xl: r.xl,
|
|
418
|
+
"2xl": r["2xl"],
|
|
419
|
+
"3xl": r["3xl"],
|
|
420
|
+
"4xl": r["4xl"],
|
|
421
|
+
"5xl": r["5xl"],
|
|
422
|
+
none: r.none
|
|
423
|
+
}
|
|
424
|
+
}, n = {
|
|
425
|
+
// Primary font - Inter (default sans)
|
|
167
426
|
sans: [
|
|
427
|
+
"Inter",
|
|
168
428
|
"ui-sans-serif",
|
|
169
429
|
"system-ui",
|
|
170
430
|
"-apple-system",
|
|
@@ -180,14 +440,33 @@ const r = {
|
|
|
180
440
|
"Segoe UI Symbol",
|
|
181
441
|
"Noto Color Emoji"
|
|
182
442
|
],
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
443
|
+
// Optional font - Satoshi
|
|
444
|
+
satoshi: [
|
|
445
|
+
"Satoshi",
|
|
446
|
+
"Inter",
|
|
447
|
+
"ui-sans-serif",
|
|
448
|
+
"system-ui",
|
|
449
|
+
"-apple-system",
|
|
450
|
+
"BlinkMacSystemFont",
|
|
451
|
+
"Segoe UI",
|
|
452
|
+
"Roboto",
|
|
453
|
+
"sans-serif"
|
|
454
|
+
],
|
|
455
|
+
// Display font - Clash Display (for headings and hero sections)
|
|
456
|
+
display: [
|
|
457
|
+
"Clash Display",
|
|
458
|
+
"Inter",
|
|
459
|
+
"ui-sans-serif",
|
|
460
|
+
"system-ui",
|
|
461
|
+
"-apple-system",
|
|
462
|
+
"BlinkMacSystemFont",
|
|
463
|
+
"Segoe UI",
|
|
464
|
+
"Roboto",
|
|
465
|
+
"sans-serif"
|
|
190
466
|
],
|
|
467
|
+
// Serif font family
|
|
468
|
+
serif: ["ui-serif", "Georgia", "Cambria", "Times New Roman", "Times", "serif"],
|
|
469
|
+
// Monospace font family
|
|
191
470
|
mono: [
|
|
192
471
|
"ui-monospace",
|
|
193
472
|
"SFMono-Regular",
|
|
@@ -198,21 +477,55 @@ const r = {
|
|
|
198
477
|
"Courier New",
|
|
199
478
|
"monospace"
|
|
200
479
|
]
|
|
201
|
-
},
|
|
202
|
-
xs:
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
480
|
+
}, e = {
|
|
481
|
+
// text-xs: 12px base, scales from 0.75rem to 0.875rem
|
|
482
|
+
xs: [
|
|
483
|
+
"clamp(0.75rem, 0.7rem + 0.125vw, 0.875rem)",
|
|
484
|
+
{ lineHeight: "1rem", letterSpacing: "0.05em" }
|
|
485
|
+
],
|
|
486
|
+
// text-sm: 14px base, scales from 0.875rem to 1rem
|
|
487
|
+
sm: [
|
|
488
|
+
"clamp(0.875rem, 0.8rem + 0.25vw, 1rem)",
|
|
489
|
+
{ lineHeight: "1.25rem", letterSpacing: "0.025em" }
|
|
490
|
+
],
|
|
491
|
+
// text-base: 16px base, scales from 1rem to 1.125rem
|
|
492
|
+
base: ["clamp(1rem, 0.95rem + 0.25vw, 1.125rem)", { lineHeight: "1.5rem", letterSpacing: "0em" }],
|
|
493
|
+
// text-lg: 18px base, scales from 1.125rem to 1.25rem
|
|
494
|
+
lg: [
|
|
495
|
+
"clamp(1.125rem, 1rem + 0.5vw, 1.25rem)",
|
|
496
|
+
{ lineHeight: "1.75rem", letterSpacing: "-0.025em" }
|
|
497
|
+
],
|
|
498
|
+
// text-xl: 20px base, scales from 1.25rem to 1.5rem
|
|
499
|
+
xl: [
|
|
500
|
+
"clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem)",
|
|
501
|
+
{ lineHeight: "1.75rem", letterSpacing: "-0.025em" }
|
|
502
|
+
],
|
|
503
|
+
// text-2xl: 24px base, scales from 1.5rem to 2rem
|
|
504
|
+
"2xl": [
|
|
505
|
+
"clamp(1.5rem, 1.25rem + 1.25vw, 2rem)",
|
|
506
|
+
{ lineHeight: "2rem", letterSpacing: "-0.05em" }
|
|
507
|
+
],
|
|
508
|
+
// text-3xl: 30px base, scales from 1.875rem to 2.5rem
|
|
509
|
+
"3xl": [
|
|
510
|
+
"clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem)",
|
|
511
|
+
{ lineHeight: "2.25rem", letterSpacing: "-0.05em" }
|
|
512
|
+
],
|
|
513
|
+
// text-4xl: 36px base, scales from 2.25rem to 3rem
|
|
514
|
+
"4xl": [
|
|
515
|
+
"clamp(2.25rem, 1.75rem + 2.5vw, 3rem)",
|
|
516
|
+
{ lineHeight: "2.5rem", letterSpacing: "-0.025em" }
|
|
517
|
+
],
|
|
518
|
+
// text-5xl: 48px base, scales from 3rem to 4rem
|
|
519
|
+
"5xl": ["clamp(3rem, 2rem + 5vw, 4rem)", { lineHeight: "1", letterSpacing: "-0.025em" }],
|
|
520
|
+
// text-6xl: 60px base, scales from 3.75rem to 5rem
|
|
521
|
+
"6xl": ["clamp(3.75rem, 2.5rem + 6.25vw, 5rem)", { lineHeight: "1", letterSpacing: "-0.05em" }],
|
|
522
|
+
// text-7xl: 72px base (optional, for hero sections)
|
|
523
|
+
"7xl": ["clamp(4.5rem, 3rem + 7.5vw, 6rem)", { lineHeight: "1", letterSpacing: "-0.05em" }],
|
|
524
|
+
// text-8xl: 96px base (optional, for hero sections)
|
|
525
|
+
"8xl": ["clamp(6rem, 4rem + 10vw, 8rem)", { lineHeight: "1", letterSpacing: "-0.05em" }],
|
|
526
|
+
// text-9xl: 128px base (optional, for hero sections)
|
|
527
|
+
"9xl": ["clamp(8rem, 5rem + 15vw, 12rem)", { lineHeight: "1", letterSpacing: "-0.05em" }]
|
|
528
|
+
}, a = {
|
|
216
529
|
thin: "100",
|
|
217
530
|
extralight: "200",
|
|
218
531
|
light: "300",
|
|
@@ -222,29 +535,318 @@ const r = {
|
|
|
222
535
|
bold: "700",
|
|
223
536
|
extrabold: "800",
|
|
224
537
|
black: "900"
|
|
225
|
-
},
|
|
226
|
-
tighter: "-0.05em",
|
|
227
|
-
tight: "-0.025em",
|
|
228
|
-
normal: "0em",
|
|
229
|
-
wide: "0.025em",
|
|
230
|
-
wider: "0.05em",
|
|
231
|
-
widest: "0.1em"
|
|
232
|
-
}, l = {
|
|
538
|
+
}, s = {
|
|
233
539
|
none: "1",
|
|
234
540
|
tight: "1.25",
|
|
235
541
|
snug: "1.375",
|
|
236
542
|
normal: "1.5",
|
|
237
543
|
relaxed: "1.625",
|
|
238
544
|
loose: "2"
|
|
545
|
+
}, o = {
|
|
546
|
+
tighter: "-0.05em",
|
|
547
|
+
tight: "-0.025em",
|
|
548
|
+
normal: "0em",
|
|
549
|
+
wide: "0.025em",
|
|
550
|
+
wider: "0.05em",
|
|
551
|
+
widest: "0.1em"
|
|
552
|
+
}, u = {
|
|
553
|
+
// Font families
|
|
554
|
+
"--font-sans": n.sans.join(", "),
|
|
555
|
+
"--font-satoshi": n.satoshi.join(", "),
|
|
556
|
+
"--font-display": n.display.join(", "),
|
|
557
|
+
"--font-serif": n.serif.join(", "),
|
|
558
|
+
"--font-mono": n.mono.join(", "),
|
|
559
|
+
// Font sizes (using clamp values)
|
|
560
|
+
"--font-size-xs": e.xs[0],
|
|
561
|
+
"--font-size-sm": e.sm[0],
|
|
562
|
+
"--font-size-base": e.base[0],
|
|
563
|
+
"--font-size-lg": e.lg[0],
|
|
564
|
+
"--font-size-xl": e.xl[0],
|
|
565
|
+
"--font-size-2xl": e["2xl"][0],
|
|
566
|
+
"--font-size-3xl": e["3xl"][0],
|
|
567
|
+
"--font-size-4xl": e["4xl"][0],
|
|
568
|
+
"--font-size-5xl": e["5xl"][0],
|
|
569
|
+
"--font-size-6xl": e["6xl"][0],
|
|
570
|
+
// Font weights
|
|
571
|
+
"--font-weight-thin": a.thin,
|
|
572
|
+
"--font-weight-extralight": a.extralight,
|
|
573
|
+
"--font-weight-light": a.light,
|
|
574
|
+
"--font-weight-normal": a.normal,
|
|
575
|
+
"--font-weight-medium": a.medium,
|
|
576
|
+
"--font-weight-semibold": a.semibold,
|
|
577
|
+
"--font-weight-bold": a.bold,
|
|
578
|
+
"--font-weight-extrabold": a.extrabold,
|
|
579
|
+
"--font-weight-black": a.black,
|
|
580
|
+
// Line heights
|
|
581
|
+
"--line-height-none": s.none,
|
|
582
|
+
"--line-height-tight": s.tight,
|
|
583
|
+
"--line-height-snug": s.snug,
|
|
584
|
+
"--line-height-normal": s.normal,
|
|
585
|
+
"--line-height-relaxed": s.relaxed,
|
|
586
|
+
"--line-height-loose": s.loose,
|
|
587
|
+
// Letter spacing
|
|
588
|
+
"--letter-spacing-tighter": o.tighter,
|
|
589
|
+
"--letter-spacing-tight": o.tight,
|
|
590
|
+
"--letter-spacing-normal": o.normal,
|
|
591
|
+
"--letter-spacing-wide": o.wide,
|
|
592
|
+
"--letter-spacing-wider": o.wider,
|
|
593
|
+
"--letter-spacing-widest": o.widest
|
|
594
|
+
}, M = {
|
|
595
|
+
// Display styles (for hero sections)
|
|
596
|
+
display: {
|
|
597
|
+
fontFamily: n.display.join(", "),
|
|
598
|
+
fontSize: e["6xl"][0],
|
|
599
|
+
fontWeight: a.bold,
|
|
600
|
+
lineHeight: s.none,
|
|
601
|
+
letterSpacing: o.tight
|
|
602
|
+
},
|
|
603
|
+
// Heading styles
|
|
604
|
+
h1: {
|
|
605
|
+
fontFamily: n.display.join(", "),
|
|
606
|
+
fontSize: e["5xl"][0],
|
|
607
|
+
fontWeight: a.bold,
|
|
608
|
+
lineHeight: s.tight,
|
|
609
|
+
letterSpacing: o.tight
|
|
610
|
+
},
|
|
611
|
+
h2: {
|
|
612
|
+
fontFamily: n.display.join(", "),
|
|
613
|
+
fontSize: e["4xl"][0],
|
|
614
|
+
fontWeight: a.bold,
|
|
615
|
+
lineHeight: s.tight,
|
|
616
|
+
letterSpacing: o.tight
|
|
617
|
+
},
|
|
618
|
+
h3: {
|
|
619
|
+
fontFamily: n.sans.join(", "),
|
|
620
|
+
fontSize: e["3xl"][0],
|
|
621
|
+
fontWeight: a.semibold,
|
|
622
|
+
lineHeight: s.snug,
|
|
623
|
+
letterSpacing: o.normal
|
|
624
|
+
},
|
|
625
|
+
h4: {
|
|
626
|
+
fontFamily: n.sans.join(", "),
|
|
627
|
+
fontSize: e["2xl"][0],
|
|
628
|
+
fontWeight: a.semibold,
|
|
629
|
+
lineHeight: s.snug,
|
|
630
|
+
letterSpacing: o.normal
|
|
631
|
+
},
|
|
632
|
+
h5: {
|
|
633
|
+
fontFamily: n.sans.join(", "),
|
|
634
|
+
fontSize: e.xl[0],
|
|
635
|
+
fontWeight: a.medium,
|
|
636
|
+
lineHeight: s.normal,
|
|
637
|
+
letterSpacing: o.normal
|
|
638
|
+
},
|
|
639
|
+
h6: {
|
|
640
|
+
fontFamily: n.sans.join(", "),
|
|
641
|
+
fontSize: e.lg[0],
|
|
642
|
+
fontWeight: a.medium,
|
|
643
|
+
lineHeight: s.normal,
|
|
644
|
+
letterSpacing: o.normal
|
|
645
|
+
},
|
|
646
|
+
// Body text styles
|
|
647
|
+
body: {
|
|
648
|
+
fontFamily: n.sans.join(", "),
|
|
649
|
+
fontSize: e.base[0],
|
|
650
|
+
fontWeight: a.normal,
|
|
651
|
+
lineHeight: s.relaxed,
|
|
652
|
+
letterSpacing: o.normal
|
|
653
|
+
},
|
|
654
|
+
"body-sm": {
|
|
655
|
+
fontFamily: n.sans.join(", "),
|
|
656
|
+
fontSize: e.sm[0],
|
|
657
|
+
fontWeight: a.normal,
|
|
658
|
+
lineHeight: s.normal,
|
|
659
|
+
letterSpacing: o.normal
|
|
660
|
+
},
|
|
661
|
+
"body-xs": {
|
|
662
|
+
fontFamily: n.sans.join(", "),
|
|
663
|
+
fontSize: e.xs[0],
|
|
664
|
+
fontWeight: a.normal,
|
|
665
|
+
lineHeight: s.normal,
|
|
666
|
+
letterSpacing: o.wide
|
|
667
|
+
},
|
|
668
|
+
// Label styles
|
|
669
|
+
label: {
|
|
670
|
+
fontFamily: n.sans.join(", "),
|
|
671
|
+
fontSize: e.sm[0],
|
|
672
|
+
fontWeight: a.medium,
|
|
673
|
+
lineHeight: s.normal,
|
|
674
|
+
letterSpacing: o.wide
|
|
675
|
+
},
|
|
676
|
+
"label-sm": {
|
|
677
|
+
fontFamily: n.sans.join(", "),
|
|
678
|
+
fontSize: e.xs[0],
|
|
679
|
+
fontWeight: a.medium,
|
|
680
|
+
lineHeight: s.normal,
|
|
681
|
+
letterSpacing: o.wider
|
|
682
|
+
},
|
|
683
|
+
// Caption styles
|
|
684
|
+
caption: {
|
|
685
|
+
fontFamily: n.sans.join(", "),
|
|
686
|
+
fontSize: e.xs[0],
|
|
687
|
+
fontWeight: a.normal,
|
|
688
|
+
lineHeight: s.normal,
|
|
689
|
+
letterSpacing: o.wide
|
|
690
|
+
}
|
|
691
|
+
}, V = {
|
|
692
|
+
fontFamily: {
|
|
693
|
+
sans: [...n.sans],
|
|
694
|
+
satoshi: [...n.satoshi],
|
|
695
|
+
display: [...n.display],
|
|
696
|
+
serif: [...n.serif],
|
|
697
|
+
mono: [...n.mono]
|
|
698
|
+
},
|
|
699
|
+
fontSize: {
|
|
700
|
+
xs: [
|
|
701
|
+
e.xs[0],
|
|
702
|
+
{ lineHeight: e.xs[1].lineHeight, letterSpacing: e.xs[1].letterSpacing }
|
|
703
|
+
],
|
|
704
|
+
sm: [
|
|
705
|
+
e.sm[0],
|
|
706
|
+
{ lineHeight: e.sm[1].lineHeight, letterSpacing: e.sm[1].letterSpacing }
|
|
707
|
+
],
|
|
708
|
+
base: [
|
|
709
|
+
e.base[0],
|
|
710
|
+
{ lineHeight: e.base[1].lineHeight, letterSpacing: e.base[1].letterSpacing }
|
|
711
|
+
],
|
|
712
|
+
lg: [
|
|
713
|
+
e.lg[0],
|
|
714
|
+
{ lineHeight: e.lg[1].lineHeight, letterSpacing: e.lg[1].letterSpacing }
|
|
715
|
+
],
|
|
716
|
+
xl: [
|
|
717
|
+
e.xl[0],
|
|
718
|
+
{ lineHeight: e.xl[1].lineHeight, letterSpacing: e.xl[1].letterSpacing }
|
|
719
|
+
],
|
|
720
|
+
"2xl": [
|
|
721
|
+
e["2xl"][0],
|
|
722
|
+
{
|
|
723
|
+
lineHeight: e["2xl"][1].lineHeight,
|
|
724
|
+
letterSpacing: e["2xl"][1].letterSpacing
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"3xl": [
|
|
728
|
+
e["3xl"][0],
|
|
729
|
+
{
|
|
730
|
+
lineHeight: e["3xl"][1].lineHeight,
|
|
731
|
+
letterSpacing: e["3xl"][1].letterSpacing
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
"4xl": [
|
|
735
|
+
e["4xl"][0],
|
|
736
|
+
{
|
|
737
|
+
lineHeight: e["4xl"][1].lineHeight,
|
|
738
|
+
letterSpacing: e["4xl"][1].letterSpacing
|
|
739
|
+
}
|
|
740
|
+
],
|
|
741
|
+
"5xl": [
|
|
742
|
+
e["5xl"][0],
|
|
743
|
+
{
|
|
744
|
+
lineHeight: e["5xl"][1].lineHeight,
|
|
745
|
+
letterSpacing: e["5xl"][1].letterSpacing
|
|
746
|
+
}
|
|
747
|
+
],
|
|
748
|
+
"6xl": [
|
|
749
|
+
e["6xl"][0],
|
|
750
|
+
{
|
|
751
|
+
lineHeight: e["6xl"][1].lineHeight,
|
|
752
|
+
letterSpacing: e["6xl"][1].letterSpacing
|
|
753
|
+
}
|
|
754
|
+
],
|
|
755
|
+
"7xl": [
|
|
756
|
+
e["7xl"][0],
|
|
757
|
+
{
|
|
758
|
+
lineHeight: e["7xl"][1].lineHeight,
|
|
759
|
+
letterSpacing: e["7xl"][1].letterSpacing
|
|
760
|
+
}
|
|
761
|
+
],
|
|
762
|
+
"8xl": [
|
|
763
|
+
e["8xl"][0],
|
|
764
|
+
{
|
|
765
|
+
lineHeight: e["8xl"][1].lineHeight,
|
|
766
|
+
letterSpacing: e["8xl"][1].letterSpacing
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"9xl": [
|
|
770
|
+
e["9xl"][0],
|
|
771
|
+
{
|
|
772
|
+
lineHeight: e["9xl"][1].lineHeight,
|
|
773
|
+
letterSpacing: e["9xl"][1].letterSpacing
|
|
774
|
+
}
|
|
775
|
+
]
|
|
776
|
+
},
|
|
777
|
+
fontWeight: { ...a },
|
|
778
|
+
lineHeight: { ...s },
|
|
779
|
+
letterSpacing: { ...o }
|
|
780
|
+
}, S = {
|
|
781
|
+
...h,
|
|
782
|
+
...u,
|
|
783
|
+
...f,
|
|
784
|
+
...y,
|
|
785
|
+
...d,
|
|
786
|
+
...x
|
|
787
|
+
};
|
|
788
|
+
function H(w) {
|
|
789
|
+
return `:root {
|
|
790
|
+
${Object.entries(w).map(([b, v]) => ` ${b}: ${v};`).join(`
|
|
791
|
+
`)}
|
|
792
|
+
}`;
|
|
793
|
+
}
|
|
794
|
+
const R = H(S), I = {
|
|
795
|
+
colors: Object.keys(h).length,
|
|
796
|
+
typography: Object.keys(u).length,
|
|
797
|
+
spacing: Object.keys(f).length,
|
|
798
|
+
shadows: Object.keys(y).length,
|
|
799
|
+
radius: Object.keys(d).length,
|
|
800
|
+
motion: Object.keys(x).length,
|
|
801
|
+
total: Object.keys(S).length
|
|
239
802
|
};
|
|
240
803
|
export {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
804
|
+
c as accentColoredShadows,
|
|
805
|
+
U as accentColors,
|
|
806
|
+
S as allCSSVariables,
|
|
807
|
+
R as allCSSVariablesCSS,
|
|
808
|
+
E as animations,
|
|
809
|
+
L as baseColors,
|
|
810
|
+
ee as borderRadius,
|
|
811
|
+
h as colorCSSVariables,
|
|
812
|
+
te as componentRadius,
|
|
813
|
+
z as componentShadowMapping,
|
|
814
|
+
N as cssVariableColorTokens,
|
|
815
|
+
A as durations,
|
|
816
|
+
B as easings,
|
|
817
|
+
i as elevationShadows,
|
|
818
|
+
p as focusRings,
|
|
819
|
+
n as fontFamily,
|
|
820
|
+
e as fontSize,
|
|
821
|
+
a as fontWeight,
|
|
822
|
+
H as generateCSSVariablesCSS,
|
|
823
|
+
m as glowEffects,
|
|
824
|
+
D as keyframes,
|
|
825
|
+
l as layoutSpacing,
|
|
826
|
+
o as letterSpacing,
|
|
827
|
+
s as lineHeight,
|
|
828
|
+
x as motionCSSVariables,
|
|
829
|
+
g as primaryColoredShadows,
|
|
830
|
+
$ as primaryColors,
|
|
831
|
+
d as radiusCSSVariables,
|
|
832
|
+
G as reducedMotion,
|
|
833
|
+
q as secondaryColors,
|
|
834
|
+
J as semanticColors,
|
|
835
|
+
r as semanticSpacing,
|
|
836
|
+
y as shadowCSSVariables,
|
|
837
|
+
t as spacing,
|
|
838
|
+
f as spacingCSSVariables,
|
|
839
|
+
K as springs,
|
|
840
|
+
P as surfaceColors,
|
|
841
|
+
Q as tailwindMotionConfig,
|
|
842
|
+
le as tailwindRadiusConfig,
|
|
843
|
+
F as tailwindShadowConfig,
|
|
844
|
+
W as tailwindSpacingConfig,
|
|
845
|
+
X as tailwindThemeColors,
|
|
846
|
+
V as tailwindTypographyConfig,
|
|
847
|
+
Y as textColors,
|
|
848
|
+
M as textStyles,
|
|
849
|
+
I as tokenSystemSummary,
|
|
850
|
+
Z as transitions,
|
|
851
|
+
u as typographyCSSVariables
|
|
250
852
|
};
|