@zyncat/ui 0.15.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -202
- package/dist/alert.css +1 -1
- package/dist/alert.js +18 -10
- package/dist/alert.js.map +1 -1
- package/dist/avatar.css +3 -2
- package/dist/badge.css +1 -1
- package/dist/bloom-HV23M4AW.js +81 -0
- package/dist/bloom-HV23M4AW.js.map +1 -0
- package/dist/button.css +38 -31
- package/dist/button.js +4 -1
- package/dist/checkbox.css +1 -1
- package/dist/{chunk-5W5TKANX.js → chunk-2DNKZ57E.js} +3 -3
- package/dist/{chunk-5W5TKANX.js.map → chunk-2DNKZ57E.js.map} +1 -1
- package/dist/chunk-2YGHPQ66.js +16 -0
- package/dist/chunk-2YGHPQ66.js.map +1 -0
- package/dist/{chunk-N2GJEO5Z.js → chunk-6H3IJ752.js} +24 -9
- package/dist/chunk-6H3IJ752.js.map +1 -0
- package/dist/chunk-7NHY2CRA.js +132 -0
- package/dist/chunk-7NHY2CRA.js.map +1 -0
- package/dist/{chunk-PWQVSVXR.js → chunk-AIAPXRCI.js} +20 -19
- package/dist/chunk-AIAPXRCI.js.map +1 -0
- package/dist/{chunk-K45CWVHS.js → chunk-BRKGYLEQ.js} +12 -9
- package/dist/chunk-BRKGYLEQ.js.map +1 -0
- package/dist/{chunk-MDSRZ4QR.js → chunk-C3D32LE3.js} +6 -5
- package/dist/chunk-C3D32LE3.js.map +1 -0
- package/dist/chunk-F2TB3TT6.js +103 -0
- package/dist/chunk-F2TB3TT6.js.map +1 -0
- package/dist/{chunk-FVPNICF4.js → chunk-F64Z42PJ.js} +6 -6
- package/dist/{chunk-FVPNICF4.js.map → chunk-F64Z42PJ.js.map} +1 -1
- package/dist/{chunk-QGVFFT2B.js → chunk-HBWRKEW4.js} +3 -3
- package/dist/{chunk-QGVFFT2B.js.map → chunk-HBWRKEW4.js.map} +1 -1
- package/dist/{chunk-CAXQJSIE.js → chunk-JINATP4N.js} +13 -13
- package/dist/chunk-JINATP4N.js.map +1 -0
- package/dist/chunk-KSAJ6DED.js +16 -0
- package/dist/chunk-KSAJ6DED.js.map +1 -0
- package/dist/{chunk-BH4JFWXQ.js → chunk-M2KGLH2G.js} +19 -16
- package/dist/chunk-M2KGLH2G.js.map +1 -0
- package/dist/{chunk-6X3G4GIM.js → chunk-N43NDSME.js} +3 -3
- package/dist/{chunk-6X3G4GIM.js.map → chunk-N43NDSME.js.map} +1 -1
- package/dist/chunk-NYQQH4R5.js +40 -0
- package/dist/chunk-NYQQH4R5.js.map +1 -0
- package/dist/{chunk-BTF6DAE3.js → chunk-ODRO3KS6.js} +4 -4
- package/dist/{chunk-BTF6DAE3.js.map → chunk-ODRO3KS6.js.map} +1 -1
- package/dist/chunk-PXQBJMPJ.js +50 -0
- package/dist/chunk-PXQBJMPJ.js.map +1 -0
- package/dist/{chunk-GJTHWB6O.js → chunk-QDAN43B6.js} +3 -3
- package/dist/{chunk-GJTHWB6O.js.map → chunk-QDAN43B6.js.map} +1 -1
- package/dist/{chunk-RBSHRRNO.js → chunk-RJENXXTI.js} +5 -5
- package/dist/{chunk-RBSHRRNO.js.map → chunk-RJENXXTI.js.map} +1 -1
- package/dist/chunk-RLNCRDAL.js +89 -0
- package/dist/chunk-RLNCRDAL.js.map +1 -0
- package/dist/{chunk-GOLSYGRA.js → chunk-TBLPZQSI.js} +84 -48
- package/dist/chunk-TBLPZQSI.js.map +1 -0
- package/dist/{chunk-WZUTBJC4.js → chunk-TDHLZY6I.js} +23 -5
- package/dist/chunk-TDHLZY6I.js.map +1 -0
- package/dist/chunk-TP2AC5MQ.js +13 -0
- package/dist/chunk-TP2AC5MQ.js.map +1 -0
- package/dist/chunk-TRPAKUIB.js +196 -0
- package/dist/chunk-TRPAKUIB.js.map +1 -0
- package/dist/{chunk-5X3MJRIM.js → chunk-UKPX3RIP.js} +3 -3
- package/dist/{chunk-5X3MJRIM.js.map → chunk-UKPX3RIP.js.map} +1 -1
- package/dist/{chunk-5GBV45YD.js → chunk-V6QAAOA5.js} +3 -3
- package/dist/{chunk-5GBV45YD.js.map → chunk-V6QAAOA5.js.map} +1 -1
- package/dist/{chunk-FLQVOSFC.js → chunk-VJXP256V.js} +10 -10
- package/dist/chunk-VJXP256V.js.map +1 -0
- package/dist/{chunk-IUQAUBVM.js → chunk-VQFILXQN.js} +5 -5
- package/dist/chunk-VQFILXQN.js.map +1 -0
- package/dist/{chunk-CFRGQJ23.js → chunk-VZXML7EH.js} +4 -4
- package/dist/{chunk-CFRGQJ23.js.map → chunk-VZXML7EH.js.map} +1 -1
- package/dist/{chunk-FEXUS4SV.js → chunk-XKDR22VE.js} +11 -5
- package/dist/chunk-XKDR22VE.js.map +1 -0
- package/dist/cli.js +262 -45
- package/dist/collapse.css +8 -5
- package/dist/confetti.css +3 -3
- package/dist/confetti.js +2 -2
- package/dist/date-field.js +20 -18
- package/dist/date-field.js.map +1 -1
- package/dist/date-picker.css +168 -43
- package/dist/date-range-field.js +42 -27
- package/dist/date-range-field.js.map +1 -1
- package/dist/datetime-field.js +21 -19
- package/dist/datetime-field.js.map +1 -1
- package/dist/dialog.css +4 -3
- package/dist/dialog.js +12 -12
- package/dist/dialog.js.map +1 -1
- package/dist/digit-strip.css +1 -1
- package/dist/dropdown.css +1 -1
- package/dist/dropdown.js +16 -16
- package/dist/dropdown.js.map +1 -1
- package/dist/emoji-picker.js +41 -26
- package/dist/emoji-picker.js.map +1 -1
- package/dist/facebook-feed.css +1 -1
- package/dist/flow-field.css +4 -4
- package/dist/flow-field.js +3 -3
- package/dist/flow-field.js.map +1 -1
- package/dist/glide.js +3 -3
- package/dist/icon.css +1 -1
- package/dist/input.css +7 -4
- package/dist/instagram-feed.css +1 -1
- package/dist/instagram-feed.js +2 -2
- package/dist/lens.css +1 -2
- package/dist/lens.js +2 -2
- package/dist/mcp.js +1 -1
- package/dist/menu-surface.css +1 -1
- package/dist/modal.css +1 -1
- package/dist/modal.js +10 -10
- package/dist/modal.js.map +1 -1
- package/dist/morphing-text.css +2 -2
- package/dist/morphing-text.js +2 -2
- package/dist/motion-devtools.css +77 -2
- package/dist/motion-devtools.js +194 -37
- package/dist/motion-devtools.js.map +1 -1
- package/dist/motion-tokens.js +1 -1
- package/dist/multi-select.js +12 -12
- package/dist/number-field.js +3 -3
- package/dist/odometer.css +1 -1
- package/dist/odometer.js +2 -2
- package/dist/overlay.css +1 -1
- package/dist/pagination.css +1 -1
- package/dist/pagination.js +6 -4
- package/dist/pagination.js.map +1 -1
- package/dist/paint-CJQCM6ZO.js +260 -0
- package/dist/paint-CJQCM6ZO.js.map +1 -0
- package/dist/popover.css +1 -1
- package/dist/popover.js +10 -10
- package/dist/radio-group.css +6 -4
- package/dist/radio-group.js +6 -6
- package/dist/select.css +1 -1
- package/dist/select.js +12 -12
- package/dist/sheet.css +1 -1
- package/dist/sheet.js +9 -9
- package/dist/spinner.css +115 -0
- package/dist/spinner.js +4 -0
- package/dist/spinner.js.map +1 -0
- package/dist/status-badge.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/support-rail.css +76 -238
- package/dist/support-rail.js +99 -107
- package/dist/support-rail.js.map +1 -1
- package/dist/table.css +2 -2
- package/dist/table.js +8 -6
- package/dist/table.js.map +1 -1
- package/dist/tabs.css +10 -14
- package/dist/tabs.js +17 -11
- package/dist/tabs.js.map +1 -1
- package/dist/tag.css +1 -1
- package/dist/tag.js +6 -6
- package/dist/text-field.js +3 -3
- package/dist/textarea.css +1 -1
- package/dist/textarea.js +2 -2
- package/dist/theme-grid.js +11 -0
- package/dist/theme-grid.js.map +1 -0
- package/dist/theme-switcher.css +107 -0
- package/dist/theme-switcher.js +70 -0
- package/dist/theme-switcher.js.map +1 -0
- package/dist/theme-transition-VGLPZDJI.js +346 -0
- package/dist/theme-transition-VGLPZDJI.js.map +1 -0
- package/dist/theme-transition.css +48 -0
- package/dist/theme.js +57 -26
- package/dist/theme.js.map +1 -1
- package/dist/tide-DJZMDAFT.js +57 -0
- package/dist/tide-DJZMDAFT.js.map +1 -0
- package/dist/tiktok.css +2 -3
- package/dist/tiktok.js +2 -2
- package/dist/time-field.js +4 -4
- package/dist/toast.css +2 -14
- package/dist/toast.js +12 -10
- package/dist/toast.js.map +1 -1
- package/dist/toggle-tag.js +2 -2
- package/dist/toggle.css +1 -1
- package/dist/tooltip.css +1 -1
- package/dist/tooltip.js +25 -22
- package/dist/tooltip.js.map +1 -1
- package/dist/trigger.css +1 -1
- package/dist/types/components/composites/date-picker/month-jump.d.ts +11 -0
- package/dist/types/components/composites/theme-switcher/ThemeGrid.d.ts +20 -0
- package/dist/types/components/composites/theme-switcher/ThemeSwitcher.d.ts +24 -0
- package/dist/types/components/compound/support-rail/SupportRail.d.ts +10 -8
- package/dist/types/components/dev/MotionDevtools.d.ts +10 -5
- package/dist/types/components/expressive/theme-transition/bloom.d.ts +2 -0
- package/dist/types/components/expressive/theme-transition/paint.d.ts +2 -0
- package/dist/types/components/expressive/theme-transition/scene.d.ts +24 -0
- package/dist/types/components/expressive/theme-transition/theme-transition.d.ts +19 -0
- package/dist/types/components/expressive/theme-transition/tide.d.ts +2 -0
- package/dist/types/components/internal/hooks/use-press-feedback.d.ts +7 -0
- package/dist/types/components/internal/icon/Icon.d.ts +1 -0
- package/dist/types/components/internal/overlay/layer.d.ts +7 -1
- package/dist/types/components/internal/utils/token-px.d.ts +1 -1
- package/dist/types/components/primitives/button/Button.d.ts +9 -12
- package/dist/types/components/primitives/button/button-style.d.ts +15 -0
- package/dist/types/components/primitives/spinner/Spinner.d.ts +27 -0
- package/dist/types/engine/animate.d.ts +1 -0
- package/dist/types/motion/motion-timing.d.ts +1 -1
- package/dist/types/tokens/component-styles.generated.d.ts +35 -38
- package/dist/types/tokens/motion-tokens.d.ts +5 -3
- package/dist/types/tokens/theme-store.d.ts +47 -0
- package/dist/types/tokens/theme-sync.d.ts +7 -1
- package/dist/types/tokens/theme-tokens.generated.d.ts +125 -115
- package/dist/types/tokens/theme.d.ts +28 -5
- package/dist/typing-lines.css +1 -1
- package/dist/typing-lines.js +2 -2
- package/dist/typing-lines.js.map +1 -1
- package/dist/weight-field.css +2 -2
- package/dist/youtube.css +1 -1
- package/dist/youtube.js +2 -2
- package/package.json +20 -24
- package/skills/zyncat-ui/SKILL.md +1 -1
- package/skills/zyncat-ui/references/components.md +5 -2
- package/skills/zyncat-ui/references/theming.md +31 -23
- package/src/components/composites/alert/Alert.tsx +7 -3
- package/src/components/composites/alert/alert.css +1 -1
- package/src/components/composites/date-picker/calendar-panel.tsx +10 -4
- package/src/components/composites/date-picker/date-picker.css +168 -43
- package/src/components/composites/date-picker/month-jump.tsx +192 -0
- package/src/components/composites/date-picker/range-panel.tsx +20 -5
- package/src/components/composites/dialog/Dialog.tsx +2 -2
- package/src/components/composites/dialog/dialog.css +4 -3
- package/src/components/composites/dropdown/Dropdown.tsx +5 -5
- package/src/components/composites/dropdown/dropdown.css +1 -1
- package/src/components/composites/emoji-picker/react/category-bar.tsx +17 -5
- package/src/components/composites/emoji-picker/scaffold.ts +6 -5
- package/src/components/composites/emoji-picker/styles.css +1 -1
- package/src/components/composites/modal/Modal.tsx +2 -2
- package/src/components/composites/modal/modal.css +1 -1
- package/src/components/composites/pagination/pagination.css +1 -1
- package/src/components/composites/popover/Popover.tsx +5 -5
- package/src/components/composites/popover/popover.css +1 -1
- package/src/components/composites/select/core/menu.tsx +15 -10
- package/src/components/composites/select/select.css +1 -1
- package/src/components/composites/sheet/Sheet.tsx +2 -2
- package/src/components/composites/sheet/sheet.css +1 -1
- package/src/components/composites/table/table.css +2 -2
- package/src/components/composites/tabs/Tabs.tsx +13 -7
- package/src/components/composites/tabs/tabs.css +10 -14
- package/src/components/composites/theme-switcher/ThemeGrid.tsx +133 -0
- package/src/components/composites/theme-switcher/ThemeGrid.usage.md +20 -0
- package/src/components/composites/theme-switcher/ThemeSwitcher.tsx +75 -0
- package/src/components/composites/theme-switcher/ThemeSwitcher.usage.md +21 -0
- package/src/components/composites/theme-switcher/theme-switcher.css +107 -0
- package/src/components/composites/toast/Toast.tsx +2 -1
- package/src/components/composites/toast/toast.css +2 -14
- package/src/components/composites/tooltip/tooltip-host.tsx +19 -17
- package/src/components/composites/tooltip/tooltip.css +1 -1
- package/src/components/compound/support-rail/SupportRail.tsx +116 -128
- package/src/components/compound/support-rail/SupportRail.usage.md +7 -6
- package/src/components/compound/support-rail/support-rail.css +76 -238
- package/src/components/dev/MotionDevtools.tsx +252 -42
- package/src/components/dev/MotionDevtools.usage.md +12 -4
- package/src/components/dev/motion-devtools.css +77 -2
- package/src/components/dev/slowmo-engine.ts +1 -1
- package/src/components/expressive/confetti/confetti.css +3 -3
- package/src/components/expressive/facebook-feed/facebook-feed.css +1 -1
- package/src/components/expressive/flow-field/FlowField.tsx +1 -1
- package/src/components/expressive/flow-field/flow-field.css +4 -4
- package/src/components/expressive/instagram-feed/instagram-feed.css +1 -1
- package/src/components/expressive/lens/lens.css +1 -2
- package/src/components/expressive/morphing-text/morphing-text.css +2 -2
- package/src/components/expressive/odometer/odometer.css +1 -1
- package/src/components/expressive/theme-transition/bloom.ts +88 -0
- package/src/components/expressive/theme-transition/paint.ts +296 -0
- package/src/components/expressive/theme-transition/scene.ts +38 -0
- package/src/components/expressive/theme-transition/theme-transition.css +48 -0
- package/src/components/expressive/theme-transition/theme-transition.ts +423 -0
- package/src/components/expressive/theme-transition/tide.ts +65 -0
- package/src/components/expressive/tiktok/tiktok.css +2 -3
- package/src/components/expressive/typing-lines/TypingLines.tsx +0 -0
- package/src/components/expressive/typing-lines/typing-lines.css +1 -1
- package/src/components/expressive/weight-field/weight-field.css +2 -2
- package/src/components/expressive/youtube/youtube.css +1 -1
- package/src/components/internal/glass/glass.css +1 -1
- package/src/components/internal/hooks/use-press-feedback.ts +52 -0
- package/src/components/internal/icon/Icon.tsx +2 -0
- package/src/components/internal/icon/icon.css +1 -1
- package/src/components/internal/menu/menu-surface.css +1 -1
- package/src/components/internal/overlay/layer.tsx +35 -2
- package/src/components/internal/overlay/overlay.css +1 -1
- package/src/components/internal/overlay/position.ts +2 -2
- package/src/components/internal/overlay/trigger.css +1 -1
- package/src/components/internal/utils/token-px.ts +4 -4
- package/src/components/primitives/avatar/avatar.css +3 -2
- package/src/components/primitives/badge/badge.css +1 -1
- package/src/components/primitives/badge/digit-strip.css +1 -1
- package/src/components/primitives/button/Button.tsx +28 -27
- package/src/components/primitives/button/button-style.ts +28 -0
- package/src/components/primitives/button/button.css +38 -31
- package/src/components/primitives/checkbox/checkbox.css +1 -1
- package/src/components/primitives/collapse/collapse.css +8 -5
- package/src/components/primitives/input/input.css +7 -4
- package/src/components/primitives/radio-group/radio-group.css +6 -4
- package/src/components/primitives/spinner/Spinner.tsx +70 -0
- package/src/components/primitives/spinner/Spinner.usage.md +19 -0
- package/src/components/primitives/spinner/spinner.css +115 -0
- package/src/components/primitives/tag/tag.css +1 -1
- package/src/components/primitives/textarea/textarea.css +1 -1
- package/src/components/primitives/toggle/toggle.css +1 -1
- package/src/engine/animate.ts +10 -2
- package/src/mcp/server.ts +2 -1
- package/src/motion/glide.tsx +9 -6
- package/src/motion/motion-timing.ts +5 -2
- package/src/styles.css +3 -4
- package/src/tokens/base.css +5 -5
- package/src/tokens/color.css +8 -9
- package/src/tokens/component-styles.generated.ts +36 -38
- package/src/tokens/dark.css +8 -13
- package/src/tokens/decisions.css +9 -12
- package/src/tokens/elevation.css +18 -26
- package/src/tokens/glass.css +3 -2
- package/src/tokens/motion-defaults.generated.ts +1 -1
- package/src/tokens/motion-tokens.ts +27 -8
- package/src/tokens/motion.css +9 -9
- package/src/tokens/radius.css +3 -2
- package/src/tokens/reset.css +36 -0
- package/src/tokens/semantic.css +12 -22
- package/src/tokens/spacing.css +1 -1
- package/src/tokens/theme-store.ts +187 -0
- package/src/tokens/theme-sync.tsx +49 -2
- package/src/tokens/theme-tokens.generated.ts +128 -116
- package/src/tokens/theme.tsx +96 -24
- package/src/tokens/theme.usage.md +25 -24
- package/src/tokens/typography.css +4 -3
- package/tailwind.css +8 -14
- package/dist/chunk-6SUHSSOK.js +0 -25
- package/dist/chunk-6SUHSSOK.js.map +0 -1
- package/dist/chunk-BH4JFWXQ.js.map +0 -1
- package/dist/chunk-CAXQJSIE.js.map +0 -1
- package/dist/chunk-FEXUS4SV.js.map +0 -1
- package/dist/chunk-FLQVOSFC.js.map +0 -1
- package/dist/chunk-GOLSYGRA.js.map +0 -1
- package/dist/chunk-IUQAUBVM.js.map +0 -1
- package/dist/chunk-K45CWVHS.js.map +0 -1
- package/dist/chunk-MDSRZ4QR.js.map +0 -1
- package/dist/chunk-N2GJEO5Z.js.map +0 -1
- package/dist/chunk-PWQVSVXR.js.map +0 -1
- package/dist/chunk-UE63OOVG.js +0 -13
- package/dist/chunk-UE63OOVG.js.map +0 -1
- package/dist/chunk-UYSXJ7MH.js +0 -52
- package/dist/chunk-UYSXJ7MH.js.map +0 -1
- package/dist/chunk-WZUTBJC4.js.map +0 -1
- package/src/tokens/fonts.css +0 -1
|
@@ -10,25 +10,23 @@
|
|
|
10
10
|
*/
|
|
11
11
|
/** Surfaces - the canvas, cards, fills and the overlay scrim. */
|
|
12
12
|
export interface ColorBgTokens {
|
|
13
|
-
/** `--bg-app` -
|
|
13
|
+
/** `--bg-app` - Canvas, cards and panels share the top of the ramp, separated by hairlines rather than tint. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.165 0.006 h)`. */
|
|
14
14
|
app?: string | number;
|
|
15
|
-
/** `--bg-surface`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.
|
|
15
|
+
/** `--bg-surface`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.165 0.006 h)`. */
|
|
16
16
|
surface?: string | number;
|
|
17
|
-
/** `--bg-surface-raised`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.
|
|
17
|
+
/** `--bg-surface-raised`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.195 0.007 h)`. */
|
|
18
18
|
surfaceRaised?: string | number;
|
|
19
|
-
/** `--bg-subtle`. Default: `var(--gray-50)`. Dark: `oklch(from var(--neutral) 0.
|
|
19
|
+
/** `--bg-subtle`. Default: `var(--gray-50)`. Dark: `oklch(from var(--neutral) 0.154 0.006 h)`. */
|
|
20
20
|
subtle?: string | number;
|
|
21
|
-
/** `--bg-muted`. Default: `var(--gray-100)`. Dark: `oklch(from var(--neutral) 0.
|
|
21
|
+
/** `--bg-muted`. Default: `var(--gray-100)`. Dark: `oklch(from var(--neutral) 0.14 0.007 h)`. */
|
|
22
22
|
muted?: string | number;
|
|
23
|
-
/** `--bg-inset`. Default: `var(--gray-150)`. Dark: `oklch(from var(--neutral) 0.
|
|
23
|
+
/** `--bg-inset`. Default: `var(--gray-150)`. Dark: `oklch(from var(--neutral) 0.124 0.007 h)`. */
|
|
24
24
|
inset?: string | number;
|
|
25
25
|
/** `--bg-overlay`. Default: `color-mix(in oklab, var(--gray-900) 44%, transparent)`. Dark: `oklch(from var(--neutral) 0.06 0.004 h / 0.64)`. */
|
|
26
26
|
overlay?: string | number;
|
|
27
27
|
}
|
|
28
28
|
/** Ink, from strong to disabled, and the faces on a fill. */
|
|
29
29
|
export interface ColorTextTokens {
|
|
30
|
-
/** `--text-on-accent` - The ink on a hue fill - white in either polarity, since the fills stay mid-lightness on dark. Default: `var(--gray-0)`. */
|
|
31
|
-
onAccent?: string | number;
|
|
32
30
|
/** `--text-strong`. Default: `var(--gray-950)`. Dark: `oklch(from var(--neutral) 0.975 0.003 h)`. */
|
|
33
31
|
strong?: string | number;
|
|
34
32
|
/** `--text-body`. Default: `var(--gray-800)`. Dark: `oklch(from var(--neutral) 0.91 0.005 h)`. */
|
|
@@ -57,7 +55,7 @@ export interface ColorBorderTokens {
|
|
|
57
55
|
export interface ColorTokens {
|
|
58
56
|
/** `--accent` - The brand hue - hover, active, lift, subtle, border, wash, the focus ring and info follow. Default: `oklch(0.63 0.118 198)`. */
|
|
59
57
|
accent?: string | number;
|
|
60
|
-
/** `--neutral` - The gray ramp's hue - the accent by default, so chrome shares its temperature.
|
|
58
|
+
/** `--neutral` - The gray ramp's hue - the accent by default, so chrome shares its temperature. Default: `var(--accent)`. */
|
|
61
59
|
neutral?: string | number;
|
|
62
60
|
/** `--success` - Positive status - its subtle, text and wash follow. Default: `oklch(0.548 0.122 152)`. */
|
|
63
61
|
success?: string | number;
|
|
@@ -74,9 +72,9 @@ export interface ColorTokens {
|
|
|
74
72
|
}
|
|
75
73
|
/** The body face and the code face - every type bundle follows. */
|
|
76
74
|
export interface TypeFontTokens {
|
|
77
|
-
/** `--font-body` - The body face - every --type-* bundle follows. Default: `
|
|
75
|
+
/** `--font-body` - The body face - every --type-* bundle follows. The package loads no webfont; point this at yours. Default: `system-ui, -apple-system, 'Segoe UI', sans-serif`. */
|
|
78
76
|
body?: string | number;
|
|
79
|
-
/** `--font-code` - The code face - --type-code follows. Default: `
|
|
77
|
+
/** `--font-code` - The code face - --type-code follows. The package loads no webfont; point this at yours. Default: `ui-monospace, 'SF Mono', 'Menlo', monospace`. */
|
|
80
78
|
code?: string | number;
|
|
81
79
|
}
|
|
82
80
|
/** The faces. */
|
|
@@ -86,7 +84,7 @@ export interface TypeTokens {
|
|
|
86
84
|
}
|
|
87
85
|
/** Roundness. */
|
|
88
86
|
export interface ShapeTokens {
|
|
89
|
-
/** `--radius` - Roundness - every --radius-<step> is a fixed ratio of it
|
|
87
|
+
/** `--radius` - Roundness - every --radius-<step> is a fixed ratio of it, 0 squaring every corner. Default: `0.5rem`. */
|
|
90
88
|
radius?: string | number;
|
|
91
89
|
}
|
|
92
90
|
/** The time bands. */
|
|
@@ -99,11 +97,11 @@ export interface MotionDurationTokens {
|
|
|
99
97
|
slow?: string | number;
|
|
100
98
|
/** `--duration-slower` - large-surface movement - dialog, sheet, page-scale reveals. Default: `450ms`. Collapses to `1ms` under reduced motion. */
|
|
101
99
|
slower?: string | number;
|
|
102
|
-
/** `--duration-slowest` - hero-scale movement - card expansion, container transforms
|
|
100
|
+
/** `--duration-slowest` - hero-scale movement - card expansion, container transforms. Default: `900ms`. Collapses to `1ms` under reduced motion. */
|
|
103
101
|
slowest?: string | number;
|
|
104
|
-
/** `--duration-spin` - continuous loaders only
|
|
102
|
+
/** `--duration-spin` - continuous loaders only, outside the UI-transition scale. Default: `1000ms`. Collapses to `2000ms` under reduced motion. */
|
|
105
103
|
spin?: string | number;
|
|
106
|
-
/** `--duration-pulse` - ambient
|
|
104
|
+
/** `--duration-pulse` - ambient breathing, not collapsed under reduced motion. Default: `1600ms`. */
|
|
107
105
|
pulse?: string | number;
|
|
108
106
|
}
|
|
109
107
|
/** The brand curves. */
|
|
@@ -121,7 +119,7 @@ export interface MotionEaseTokens {
|
|
|
121
119
|
}
|
|
122
120
|
/** How far a surface travels on the way in or out. */
|
|
123
121
|
export interface MotionDistanceTokens {
|
|
124
|
-
/** `--distance-sm` - 8px - settling into place
|
|
122
|
+
/** `--distance-sm` - 8px - settling into place. Default: `0.5rem`. */
|
|
125
123
|
sm?: string | number;
|
|
126
124
|
/** `--distance-md` - 16px - arriving from an adjacent position - page turns, tab panels, paged ranges. Default: `1rem`. */
|
|
127
125
|
md?: string | number;
|
|
@@ -148,24 +146,24 @@ export interface MotionTokens {
|
|
|
148
146
|
/** What a surface scales from on the way in, and to on the way out. */
|
|
149
147
|
scale?: MotionScaleTokens;
|
|
150
148
|
}
|
|
151
|
-
/** `--confetti-paper-1` to `--confetti-paper-5` - The five papers a burst draws from
|
|
149
|
+
/** `--confetti-paper-1` to `--confetti-paper-5` - The five papers a burst draws from. */
|
|
152
150
|
export interface ConfettiPaperTokens {
|
|
153
|
-
/** `--confetti-paper-1` - The five papers a burst draws from
|
|
151
|
+
/** `--confetti-paper-1` - The five papers a burst draws from. Default: `oklch(0.53 0.2 288)`. */
|
|
154
152
|
1?: string | number;
|
|
155
|
-
/** `--confetti-paper-2` - The five papers a burst draws from
|
|
153
|
+
/** `--confetti-paper-2` - The five papers a burst draws from. Default: `var(--accent)`. */
|
|
156
154
|
2?: string | number;
|
|
157
|
-
/** `--confetti-paper-3` - The five papers a burst draws from
|
|
155
|
+
/** `--confetti-paper-3` - The five papers a burst draws from. Default: `oklch(0.78 0.115 62)`. */
|
|
158
156
|
3?: string | number;
|
|
159
|
-
/** `--confetti-paper-4` - The five papers a burst draws from
|
|
157
|
+
/** `--confetti-paper-4` - The five papers a burst draws from. Default: `oklch(0.67 0.18 12)`. */
|
|
160
158
|
4?: string | number;
|
|
161
|
-
/** `--confetti-paper-5` - The five papers a burst draws from
|
|
159
|
+
/** `--confetti-paper-5` - The five papers a burst draws from. Default: `var(--text-strong)`. */
|
|
162
160
|
5?: string | number;
|
|
163
161
|
}
|
|
164
162
|
/** The scoped properties Confetti publishes as its theming contract. */
|
|
165
163
|
export interface ConfettiTokens {
|
|
166
|
-
/** `--confetti-paper-1` to `--confetti-paper-5` - The five papers a burst draws from
|
|
164
|
+
/** `--confetti-paper-1` to `--confetti-paper-5` - The five papers a burst draws from. */
|
|
167
165
|
paper?: ConfettiPaperTokens;
|
|
168
|
-
/** `--confetti-weights` - How often each paper appears
|
|
166
|
+
/** `--confetti-weights` - How often each paper appears, in slot order. Default: `1 1 1 1 0.45`. */
|
|
169
167
|
weights?: string | number;
|
|
170
168
|
/** `--confetti-ink` - What the reverse side of a piece darkens toward. Default: `var(--text-strong)`. */
|
|
171
169
|
ink?: string | number;
|
|
@@ -178,42 +176,42 @@ export interface ConfettiTokens {
|
|
|
178
176
|
/** `--confetti-layer` - The z-index of a viewport-field burst. Default: `var(--layer-toast)`. */
|
|
179
177
|
layer?: string | number;
|
|
180
178
|
}
|
|
181
|
-
/** `--flow-field-ramp-0` to `--flow-field-ramp-11` - The twelve stops from ink to accent,
|
|
179
|
+
/** `--flow-field-ramp-0` to `--flow-field-ramp-11` - The twelve stops from ink to accent, set together for a ramp of your own. */
|
|
182
180
|
export interface FlowFieldRampTokens {
|
|
183
|
-
/** `--flow-field-ramp-0` - The twelve stops from ink to accent,
|
|
181
|
+
/** `--flow-field-ramp-0` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `var(--flow-field-ink)`. */
|
|
184
182
|
0?: string | number;
|
|
185
|
-
/** `--flow-field-ramp-1` - The twelve stops from ink to accent,
|
|
183
|
+
/** `--flow-field-ramp-1` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 9%, var(--flow-field-ink))`. */
|
|
186
184
|
1?: string | number;
|
|
187
|
-
/** `--flow-field-ramp-2` - The twelve stops from ink to accent,
|
|
185
|
+
/** `--flow-field-ramp-2` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 18%, var(--flow-field-ink))`. */
|
|
188
186
|
2?: string | number;
|
|
189
|
-
/** `--flow-field-ramp-3` - The twelve stops from ink to accent,
|
|
187
|
+
/** `--flow-field-ramp-3` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 27%, var(--flow-field-ink))`. */
|
|
190
188
|
3?: string | number;
|
|
191
|
-
/** `--flow-field-ramp-4` - The twelve stops from ink to accent,
|
|
189
|
+
/** `--flow-field-ramp-4` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 36%, var(--flow-field-ink))`. */
|
|
192
190
|
4?: string | number;
|
|
193
|
-
/** `--flow-field-ramp-5` - The twelve stops from ink to accent,
|
|
191
|
+
/** `--flow-field-ramp-5` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 45%, var(--flow-field-ink))`. */
|
|
194
192
|
5?: string | number;
|
|
195
|
-
/** `--flow-field-ramp-6` - The twelve stops from ink to accent,
|
|
193
|
+
/** `--flow-field-ramp-6` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 55%, var(--flow-field-ink))`. */
|
|
196
194
|
6?: string | number;
|
|
197
|
-
/** `--flow-field-ramp-7` - The twelve stops from ink to accent,
|
|
195
|
+
/** `--flow-field-ramp-7` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 64%, var(--flow-field-ink))`. */
|
|
198
196
|
7?: string | number;
|
|
199
|
-
/** `--flow-field-ramp-8` - The twelve stops from ink to accent,
|
|
197
|
+
/** `--flow-field-ramp-8` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 73%, var(--flow-field-ink))`. */
|
|
200
198
|
8?: string | number;
|
|
201
|
-
/** `--flow-field-ramp-9` - The twelve stops from ink to accent,
|
|
199
|
+
/** `--flow-field-ramp-9` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 82%, var(--flow-field-ink))`. */
|
|
202
200
|
9?: string | number;
|
|
203
|
-
/** `--flow-field-ramp-10` - The twelve stops from ink to accent,
|
|
201
|
+
/** `--flow-field-ramp-10` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 91%, var(--flow-field-ink))`. */
|
|
204
202
|
10?: string | number;
|
|
205
|
-
/** `--flow-field-ramp-11` - The twelve stops from ink to accent,
|
|
203
|
+
/** `--flow-field-ramp-11` - The twelve stops from ink to accent, set together for a ramp of your own. Default: `var(--flow-field-accent)`. */
|
|
206
204
|
11?: string | number;
|
|
207
205
|
}
|
|
208
206
|
/** The scoped properties FlowField publishes as its theming contract. */
|
|
209
207
|
export interface FlowFieldTokens {
|
|
210
|
-
/** `--flow-field-ink` - The particle colour at rest
|
|
208
|
+
/** `--flow-field-ink` - The particle colour at rest. Default: `var(--text-subtle)`. */
|
|
211
209
|
ink?: string | number;
|
|
212
|
-
/** `--flow-field-accent` - The particle colour at full speed
|
|
210
|
+
/** `--flow-field-accent` - The particle colour at full speed. Default: `var(--accent)`. */
|
|
213
211
|
accent?: string | number;
|
|
214
212
|
/** `--flow-field-min-height` - The field's minimum height before content sizes it. Default: `var(--space-10)`. */
|
|
215
213
|
minHeight?: string | number;
|
|
216
|
-
/** `--flow-field-ramp-0` to `--flow-field-ramp-11` - The twelve stops from ink to accent,
|
|
214
|
+
/** `--flow-field-ramp-0` to `--flow-field-ramp-11` - The twelve stops from ink to accent, set together for a ramp of your own. */
|
|
217
215
|
ramp?: FlowFieldRampTokens;
|
|
218
216
|
}
|
|
219
217
|
/** The `--lens-fringe-*` knobs. */
|
|
@@ -255,7 +253,7 @@ export interface MorphingTextTokens {
|
|
|
255
253
|
leading?: string | number;
|
|
256
254
|
/** `--morphing-text-tracking` - Letter spacing. Default: `var(--tracking-display)`. */
|
|
257
255
|
tracking?: string | number;
|
|
258
|
-
/** `--morphing-text-smear` - How much letters blur
|
|
256
|
+
/** `--morphing-text-smear` - How much letters blur between words, 0 cutting clean. Default: `1`. */
|
|
259
257
|
smear?: string | number;
|
|
260
258
|
/** The `--morphing-text-rule-*` knobs. */
|
|
261
259
|
rule?: MorphingTextRuleTokens;
|
|
@@ -275,6 +273,11 @@ export interface OdometerTokens {
|
|
|
275
273
|
/** `--odometer-weight` - Digit weight. Default: `var(--weight-medium)`. */
|
|
276
274
|
weight?: string | number;
|
|
277
275
|
}
|
|
276
|
+
/** The scoped properties ThemeTransition publishes as its theming contract. */
|
|
277
|
+
export interface ThemeTransitionTokens {
|
|
278
|
+
/** `--theme-transition-layer` - The z-index the arriving page paints at, above every panel it covers. Default: `var(--layer-infinity)`. */
|
|
279
|
+
layer?: string | number;
|
|
280
|
+
}
|
|
278
281
|
/** The `--typing-lines-caret-*` knobs. */
|
|
279
282
|
export interface TypingLinesCaretTokens {
|
|
280
283
|
/** `--typing-lines-caret-ink` - The caret. Default: `var(--accent)`. */
|
|
@@ -321,7 +324,7 @@ export interface WeightFieldTokens {
|
|
|
321
324
|
peakWeight?: string | number;
|
|
322
325
|
/** `--weight-field-hover-padding` - How much a unit widens under the pointer. Default: `calc(1em / 12)`. */
|
|
323
326
|
hoverPadding?: string | number;
|
|
324
|
-
/** `--weight-field-stroke` - The text stroke every unit carries
|
|
327
|
+
/** `--weight-field-stroke` - The text stroke every unit carries, doubled on the peak letter. Default: `calc(1em * 125 / 6000)`. */
|
|
325
328
|
stroke?: string | number;
|
|
326
329
|
/** `--weight-field-duration` - How long a unit takes to settle at a new weight. Default: `400ms`. */
|
|
327
330
|
duration?: string | number;
|
|
@@ -330,35 +333,27 @@ export interface WeightFieldTokens {
|
|
|
330
333
|
}
|
|
331
334
|
/** The `--support-rail-row-*` knobs. */
|
|
332
335
|
export interface SupportRailRowTokens {
|
|
333
|
-
/** `--support-rail-row-pad-block` - Row padding on the block axis
|
|
336
|
+
/** `--support-rail-row-pad-block` - Row padding on the block axis. Default: `var(--space-3)`. */
|
|
334
337
|
padBlock?: string | number;
|
|
335
|
-
/** `--support-rail-row-pad-inline` - Row padding on the inline axis
|
|
338
|
+
/** `--support-rail-row-pad-inline` - Row padding on the inline axis. Default: `var(--space-4)`. */
|
|
336
339
|
padInline?: string | number;
|
|
337
340
|
}
|
|
338
341
|
/** The scoped properties SupportRail publishes as its theming contract. */
|
|
339
342
|
export interface SupportRailTokens {
|
|
340
|
-
/** `--support-rail-width` - Panel width
|
|
343
|
+
/** `--support-rail-width` - Panel width, capped by the container. Default: `318px`. */
|
|
341
344
|
width?: string | number;
|
|
342
345
|
/** The `--support-rail-row-*` knobs. */
|
|
343
346
|
row?: SupportRailRowTokens;
|
|
344
|
-
/** `--support-rail-surface` - The
|
|
347
|
+
/** `--support-rail-surface` - The tab, and the panel it morphs into. Default: `var(--bg-subtle)`. */
|
|
345
348
|
surface?: string | number;
|
|
346
|
-
/** `--support-rail-surface-raised` - The
|
|
349
|
+
/** `--support-rail-surface-raised` - The tab while hovered. Default: `var(--bg-surface)`. */
|
|
347
350
|
surfaceRaised?: string | number;
|
|
348
|
-
/** `--support-rail-line` - The
|
|
351
|
+
/** `--support-rail-line` - The surface's edge. Default: `var(--border-default)`. */
|
|
349
352
|
line?: string | number;
|
|
350
|
-
/** `--support-rail-line-soft` - Row dividers
|
|
353
|
+
/** `--support-rail-line-soft` - Row dividers. Default: `var(--border-subtle)`. */
|
|
351
354
|
lineSoft?: string | number;
|
|
352
|
-
/** `--support-rail-
|
|
353
|
-
accent?: string | number;
|
|
354
|
-
/** `--support-rail-live-color` - The live dot and its pulse. Default: `var(--success)`. */
|
|
355
|
-
liveColor?: string | number;
|
|
356
|
-
/** `--support-rail-radius` - The needle's outer corners. Default: `var(--radius-2xl)`. */
|
|
355
|
+
/** `--support-rail-radius` - The tab's outer corners. Default: `var(--radius-2xl)`. */
|
|
357
356
|
radius?: string | number;
|
|
358
|
-
/** `--support-rail-open-duration` - How long the panel takes to open. Default: `calc(var(--duration-slower) * 1.4)`. */
|
|
359
|
-
openDuration?: string | number;
|
|
360
|
-
/** `--support-rail-close-duration` - How long the panel takes to close. Default: `var(--duration-slower)`. */
|
|
361
|
-
closeDuration?: string | number;
|
|
362
357
|
}
|
|
363
358
|
/** Per-component knobs - retunes every instance of that component. */
|
|
364
359
|
export interface ComponentTokens {
|
|
@@ -372,6 +367,8 @@ export interface ComponentTokens {
|
|
|
372
367
|
morphingText?: MorphingTextTokens;
|
|
373
368
|
/** Odometer - its `--odometer-*` properties. */
|
|
374
369
|
odometer?: OdometerTokens;
|
|
370
|
+
/** ThemeTransition - its `--theme-transition-*` properties. */
|
|
371
|
+
themeTransition?: ThemeTransitionTokens;
|
|
375
372
|
/** TypingLines - its `--typing-lines-*` properties. */
|
|
376
373
|
typingLines?: TypingLinesTokens;
|
|
377
374
|
/** WeightField - its `--weight-field-*` properties. */
|
|
@@ -392,41 +389,41 @@ export interface TokenProperties {
|
|
|
392
389
|
'--warning'?: string | number;
|
|
393
390
|
/** `--danger` - Destructive actions and errors - the danger button ladder, ring, subtle, text and wash follow. Default: `oklch(0.545 0.196 27)`. */
|
|
394
391
|
'--danger'?: string | number;
|
|
395
|
-
/** `--neutral` - The gray ramp's hue - the accent by default, so chrome shares its temperature.
|
|
392
|
+
/** `--neutral` - The gray ramp's hue - the accent by default, so chrome shares its temperature. Default: `var(--accent)`. */
|
|
396
393
|
'--neutral'?: string | number;
|
|
397
|
-
/** `--radius` - Roundness - every --radius-<step> is a fixed ratio of it
|
|
394
|
+
/** `--radius` - Roundness - every --radius-<step> is a fixed ratio of it, 0 squaring every corner. Default: `0.5rem`. */
|
|
398
395
|
'--radius'?: string | number;
|
|
399
|
-
/** `--font-body` - The body face - every --type-* bundle follows. Default: `
|
|
396
|
+
/** `--font-body` - The body face - every --type-* bundle follows. The package loads no webfont; point this at yours. Default: `system-ui, -apple-system, 'Segoe UI', sans-serif`. */
|
|
400
397
|
'--font-body'?: string | number;
|
|
401
|
-
/** `--font-code` - The code face - --type-code follows. Default: `
|
|
398
|
+
/** `--font-code` - The code face - --type-code follows. The package loads no webfont; point this at yours. Default: `ui-monospace, 'SF Mono', 'Menlo', monospace`. */
|
|
402
399
|
'--font-code'?: string | number;
|
|
403
|
-
/** `--gray-0
|
|
400
|
+
/** `--gray-0` - The top of the ramp, not pure white: it carries --neutral like every rung below it. Default: `oklch(from var(--neutral) 0.995 0.002 h)`. Re-derived on every theme root. */
|
|
404
401
|
'--gray-0'?: string | number;
|
|
405
|
-
/** `--gray-50`. Default: `oklch(from var(--neutral) 0.984 0.003 h)`. */
|
|
402
|
+
/** `--gray-50`. Default: `oklch(from var(--neutral) 0.984 0.003 h)`. Re-derived on every theme root. */
|
|
406
403
|
'--gray-50'?: string | number;
|
|
407
|
-
/** `--gray-100`. Default: `oklch(from var(--neutral) 0.97 0.004 h)`. */
|
|
404
|
+
/** `--gray-100`. Default: `oklch(from var(--neutral) 0.97 0.004 h)`. Re-derived on every theme root. */
|
|
408
405
|
'--gray-100'?: string | number;
|
|
409
|
-
/** `--gray-150`. Default: `oklch(from var(--neutral) 0.954 0.005 h)`. */
|
|
406
|
+
/** `--gray-150`. Default: `oklch(from var(--neutral) 0.954 0.005 h)`. Re-derived on every theme root. */
|
|
410
407
|
'--gray-150'?: string | number;
|
|
411
|
-
/** `--gray-200`. Default: `oklch(from var(--neutral) 0.924 0.006 h)`. */
|
|
408
|
+
/** `--gray-200`. Default: `oklch(from var(--neutral) 0.924 0.006 h)`. Re-derived on every theme root. */
|
|
412
409
|
'--gray-200'?: string | number;
|
|
413
|
-
/** `--gray-300`. Default: `oklch(from var(--neutral) 0.874 0.007 h)`. */
|
|
410
|
+
/** `--gray-300`. Default: `oklch(from var(--neutral) 0.874 0.007 h)`. Re-derived on every theme root. */
|
|
414
411
|
'--gray-300'?: string | number;
|
|
415
|
-
/** `--gray-400`. Default: `oklch(from var(--neutral) 0.765 0.009 h)`. */
|
|
412
|
+
/** `--gray-400`. Default: `oklch(from var(--neutral) 0.765 0.009 h)`. Re-derived on every theme root. */
|
|
416
413
|
'--gray-400'?: string | number;
|
|
417
|
-
/** `--gray-500`. Default: `oklch(from var(--neutral) 0.642 0.011 h)`. */
|
|
414
|
+
/** `--gray-500`. Default: `oklch(from var(--neutral) 0.642 0.011 h)`. Re-derived on every theme root. */
|
|
418
415
|
'--gray-500'?: string | number;
|
|
419
|
-
/** `--gray-600`. Default: `oklch(from var(--neutral) 0.532 0.012 h)`. */
|
|
416
|
+
/** `--gray-600`. Default: `oklch(from var(--neutral) 0.532 0.012 h)`. Re-derived on every theme root. */
|
|
420
417
|
'--gray-600'?: string | number;
|
|
421
|
-
/** `--gray-700`. Default: `oklch(from var(--neutral) 0.422 0.012 h)`. */
|
|
418
|
+
/** `--gray-700`. Default: `oklch(from var(--neutral) 0.422 0.012 h)`. Re-derived on every theme root. */
|
|
422
419
|
'--gray-700'?: string | number;
|
|
423
|
-
/** `--gray-800`. Default: `oklch(from var(--neutral) 0.305 0.01 h)`. */
|
|
420
|
+
/** `--gray-800`. Default: `oklch(from var(--neutral) 0.305 0.01 h)`. Re-derived on every theme root. */
|
|
424
421
|
'--gray-800'?: string | number;
|
|
425
|
-
/** `--gray-900`. Default: `oklch(from var(--neutral) 0.225 0.008 h)`. */
|
|
422
|
+
/** `--gray-900`. Default: `oklch(from var(--neutral) 0.225 0.008 h)`. Re-derived on every theme root. */
|
|
426
423
|
'--gray-900'?: string | number;
|
|
427
|
-
/** `--gray-950`. Default: `oklch(from var(--neutral) 0.165 0.007 h)`. */
|
|
424
|
+
/** `--gray-950`. Default: `oklch(from var(--neutral) 0.165 0.007 h)`. Re-derived on every theme root. */
|
|
428
425
|
'--gray-950'?: string | number;
|
|
429
|
-
/** `--shadow-rgb` - Cool near-black
|
|
426
|
+
/** `--shadow-rgb` - Cool near-black on the white canvas. Default: `15 22 25`. Dark: `0 0 0`. */
|
|
430
427
|
'--shadow-rgb'?: string | number;
|
|
431
428
|
/** `--weight-regular`. Default: `400`. */
|
|
432
429
|
'--weight-regular'?: string | number;
|
|
@@ -480,7 +477,7 @@ export interface TokenProperties {
|
|
|
480
477
|
'--tracking-tight'?: string | number;
|
|
481
478
|
/** `--tracking-display`. Default: `-0.021em`. */
|
|
482
479
|
'--tracking-display'?: string | number;
|
|
483
|
-
/** `--type-display-lg` -
|
|
480
|
+
/** `--type-display-lg` - Size, leading, weight and tracking pre-composed - reach for these first. Default: `var(--weight-semibold) var(--size-display-lg)/var(--leading-display-lg) var(--font-body)`. Re-derived on every theme root. */
|
|
484
481
|
'--type-display-lg'?: string | number;
|
|
485
482
|
/** `--type-display`. Default: `var(--weight-semibold) var(--size-display)/var(--leading-display) var(--font-body)`. Re-derived on every theme root. */
|
|
486
483
|
'--type-display'?: string | number;
|
|
@@ -554,23 +551,25 @@ export interface TokenProperties {
|
|
|
554
551
|
'--radius-xl'?: string | number;
|
|
555
552
|
/** `--radius-2xl`. Default: `calc(var(--radius) * 2)`. Re-derived on every theme root. */
|
|
556
553
|
'--radius-2xl'?: string | number;
|
|
557
|
-
/** `--border-hairline
|
|
554
|
+
/** `--border-hairline`. Default: `1px`. */
|
|
558
555
|
'--border-hairline'?: string | number;
|
|
559
556
|
/** `--border-emphasis`. Default: `1.5px`. */
|
|
560
557
|
'--border-emphasis'?: string | number;
|
|
561
|
-
/** `--ring-width` - How far every focus ring reaches past the border box
|
|
558
|
+
/** `--ring-width` - How far every focus ring reaches past the border box. Default: `3px`. */
|
|
562
559
|
'--ring-width'?: string | number;
|
|
563
|
-
/** `--layer-overlay` - a band - each overlay adds its stack depth
|
|
560
|
+
/** `--layer-overlay` - a band - each overlay adds its stack depth on top. Default: `1000`. */
|
|
564
561
|
'--layer-overlay'?: string | number;
|
|
565
562
|
/** `--layer-toast`. Default: `1050`. */
|
|
566
563
|
'--layer-toast'?: string | number;
|
|
567
564
|
/** `--layer-tooltip`. Default: `1100`. */
|
|
568
565
|
'--layer-tooltip'?: string | number;
|
|
569
|
-
/** `--
|
|
566
|
+
/** `--layer-infinity`. Default: `2147483647`. */
|
|
567
|
+
'--layer-infinity'?: string | number;
|
|
568
|
+
/** `--shadow-strength` - Multiplies every shadow alpha - 3-4x on dark. Default: `1`. Dark: `3.5`. */
|
|
570
569
|
'--shadow-strength'?: string | number;
|
|
571
|
-
/** `--sheen-strength` - Multiplies every white top-light highlight
|
|
570
|
+
/** `--sheen-strength` - Multiplies every white top-light highlight. Default: `1`. Dark: `0.2`. */
|
|
572
571
|
'--sheen-strength'?: string | number;
|
|
573
|
-
/** `--glow-strength` - Multiplies the light a lifted hue fill casts around it - off on the white canvas
|
|
572
|
+
/** `--glow-strength` - Multiplies the light a lifted hue fill casts around it - off on the white canvas. Default: `0`. Dark: `1`. */
|
|
574
573
|
'--glow-strength'?: string | number;
|
|
575
574
|
/** `--shadow-xs`. Default: `0 1px 1px rgb(var(--shadow-rgb) / calc(0.04 * var(--shadow-strength)))`. Re-derived on every theme root. */
|
|
576
575
|
'--shadow-xs'?: string | number;
|
|
@@ -578,11 +577,11 @@ export interface TokenProperties {
|
|
|
578
577
|
'--shadow-sm'?: string | number;
|
|
579
578
|
/** `--shadow-md`. Default: `0 2px 4px rgb(var(--shadow-rgb) / calc(0.04 * var(--shadow-strength))), 0 6px 12px rgb(var(--shadow-rgb) / calc(0.07 * var(--shadow-strength)))`. Re-derived on every theme root. */
|
|
580
579
|
'--shadow-md'?: string | number;
|
|
581
|
-
/** `--shadow-lg
|
|
580
|
+
/** `--shadow-lg`. Default: `0 1px 2px rgb(var(--shadow-rgb) / calc(0.06 * var(--shadow-strength))), 0 4px 8px rgb(var(--shadow-rgb) / calc(0.04 * var(--shadow-strength))), 0 12px 28px rgb(var(--shadow-rgb) / calc(0.1 * var(--shadow-strength)))`. Re-derived on every theme root. */
|
|
582
581
|
'--shadow-lg'?: string | number;
|
|
583
582
|
/** `--shadow-xl`. Default: `0 1px 2px rgb(var(--shadow-rgb) / calc(0.06 * var(--shadow-strength))), 0 8px 16px rgb(var(--shadow-rgb) / calc(0.06 * var(--shadow-strength))), 0 24px 48px rgb(var(--shadow-rgb) / calc(0.14 * var(--shadow-strength)))`. Re-derived on every theme root. */
|
|
584
583
|
'--shadow-xl'?: string | number;
|
|
585
|
-
/** `--ring-color-accent` -
|
|
584
|
+
/** `--ring-color-accent` - Danger rings on its fill tone, the lighter face the destructive button rests on. Default: `color-mix(in oklab, var(--accent) 32%, transparent)`. Re-derived on every theme root. */
|
|
586
585
|
'--ring-color-accent'?: string | number;
|
|
587
586
|
/** `--ring-color-danger`. Default: `oklch(from var(--danger) 0.602 0.196 h / 0.3)`. Re-derived on every theme root. */
|
|
588
587
|
'--ring-color-danger'?: string | number;
|
|
@@ -590,10 +589,12 @@ export interface TokenProperties {
|
|
|
590
589
|
'--ring-color-warning'?: string | number;
|
|
591
590
|
/** `--ring-color-success`. Default: `color-mix(in oklab, var(--success) 30%, transparent)`. Re-derived on every theme root. */
|
|
592
591
|
'--ring-color-success'?: string | number;
|
|
593
|
-
/** `--ring-rest` -
|
|
592
|
+
/** `--ring-rest` - Outlines, not box-shadow, so a ring never collides with elevation and still follows border-radius. Default: `var(--ring-width) solid transparent`. Re-derived on every theme root. */
|
|
594
593
|
'--ring-rest'?: string | number;
|
|
595
594
|
/** `--ring-inset`. Default: `calc(var(--ring-width) * -1)`. Re-derived on every theme root. */
|
|
596
595
|
'--ring-inset'?: string | number;
|
|
596
|
+
/** `--ring-gutter` - The room a clipping container holds open for a child's ring. Default: `var(--ring-width)`. Re-derived on every theme root. */
|
|
597
|
+
'--ring-gutter'?: string | number;
|
|
597
598
|
/** `--ring-accent`. Default: `var(--ring-width) solid var(--ring-color-accent)`. Re-derived on every theme root. */
|
|
598
599
|
'--ring-accent'?: string | number;
|
|
599
600
|
/** `--ring-danger`. Default: `var(--ring-width) solid var(--ring-color-danger)`. Re-derived on every theme root. */
|
|
@@ -602,7 +603,7 @@ export interface TokenProperties {
|
|
|
602
603
|
'--ring-warning'?: string | number;
|
|
603
604
|
/** `--ring-success`. Default: `var(--ring-width) solid var(--ring-color-success)`. Re-derived on every theme root. */
|
|
604
605
|
'--ring-success'?: string | number;
|
|
605
|
-
/** `--glow-accent
|
|
606
|
+
/** `--glow-accent`. Default: `0 4px 16px oklch(from var(--accent) l c h / calc(0.4 * var(--glow-strength)))`. Re-derived on every theme root. */
|
|
606
607
|
'--glow-accent'?: string | number;
|
|
607
608
|
/** `--glow-danger`. Default: `0 4px 16px oklch(from var(--danger) 0.602 0.196 h / calc(0.4 * var(--glow-strength)))`. Re-derived on every theme root. */
|
|
608
609
|
'--glow-danger'?: string | number;
|
|
@@ -614,11 +615,11 @@ export interface TokenProperties {
|
|
|
614
615
|
'--duration-slow'?: string | number;
|
|
615
616
|
/** `--duration-slower` - large-surface movement - dialog, sheet, page-scale reveals. Default: `450ms`. Collapses to `1ms` under reduced motion. */
|
|
616
617
|
'--duration-slower'?: string | number;
|
|
617
|
-
/** `--duration-slowest` - hero-scale movement - card expansion, container transforms
|
|
618
|
+
/** `--duration-slowest` - hero-scale movement - card expansion, container transforms. Default: `900ms`. Collapses to `1ms` under reduced motion. */
|
|
618
619
|
'--duration-slowest'?: string | number;
|
|
619
|
-
/** `--duration-spin` - continuous loaders only
|
|
620
|
+
/** `--duration-spin` - continuous loaders only, outside the UI-transition scale. Default: `1000ms`. Collapses to `2000ms` under reduced motion. */
|
|
620
621
|
'--duration-spin'?: string | number;
|
|
621
|
-
/** `--duration-pulse` - ambient
|
|
622
|
+
/** `--duration-pulse` - ambient breathing, not collapsed under reduced motion. Default: `1600ms`. */
|
|
622
623
|
'--duration-pulse'?: string | number;
|
|
623
624
|
/** `--ease-standard`. Default: `cubic-bezier(0.2, 0, 0, 1)`. */
|
|
624
625
|
'--ease-standard'?: string | number;
|
|
@@ -630,7 +631,7 @@ export interface TokenProperties {
|
|
|
630
631
|
'--ease-spring'?: string | number;
|
|
631
632
|
/** `--ease-glide` - fast out, soft landing - a persistent element moving to a new target, never enter/exit. Default: `cubic-bezier( 0.32, 0.55, 0, 1 )`. */
|
|
632
633
|
'--ease-glide'?: string | number;
|
|
633
|
-
/** `--distance-sm` - 8px - settling into place
|
|
634
|
+
/** `--distance-sm` - 8px - settling into place. Default: `0.5rem`. */
|
|
634
635
|
'--distance-sm'?: string | number;
|
|
635
636
|
/** `--distance-md` - 16px - arriving from an adjacent position - page turns, tab panels, paged ranges. Default: `1rem`. */
|
|
636
637
|
'--distance-md'?: string | number;
|
|
@@ -666,19 +667,17 @@ export interface TokenProperties {
|
|
|
666
667
|
'--glass-shadow'?: string | number;
|
|
667
668
|
/** `--glass-shadow-hover`. Default: `0 2px 4px rgb(var(--shadow-rgb) / calc(0.06 * var(--shadow-strength))), 0 8px 18px rgb(var(--shadow-rgb) / calc(0.1 * var(--shadow-strength)))`. Re-derived on every theme root. */
|
|
668
669
|
'--glass-shadow-hover'?: string | number;
|
|
669
|
-
/** `--
|
|
670
|
-
'--text-on-accent'?: string | number;
|
|
671
|
-
/** `--bg-app` - The canvas is pure white and cards and panels share it, separated by hairlines and shadow the way print separates with rules rather than tint; subtle < muted < inset step one ramp stop apart. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.165 0.006 h)`. */
|
|
670
|
+
/** `--bg-app` - Canvas, cards and panels share the top of the ramp, separated by hairlines rather than tint. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.165 0.006 h)`. */
|
|
672
671
|
'--bg-app'?: string | number;
|
|
673
|
-
/** `--bg-surface`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.
|
|
672
|
+
/** `--bg-surface`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.165 0.006 h)`. */
|
|
674
673
|
'--bg-surface'?: string | number;
|
|
675
|
-
/** `--bg-surface-raised`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.
|
|
674
|
+
/** `--bg-surface-raised`. Default: `var(--gray-0)`. Dark: `oklch(from var(--neutral) 0.195 0.007 h)`. */
|
|
676
675
|
'--bg-surface-raised'?: string | number;
|
|
677
|
-
/** `--bg-subtle`. Default: `var(--gray-50)`. Dark: `oklch(from var(--neutral) 0.
|
|
676
|
+
/** `--bg-subtle`. Default: `var(--gray-50)`. Dark: `oklch(from var(--neutral) 0.154 0.006 h)`. */
|
|
678
677
|
'--bg-subtle'?: string | number;
|
|
679
|
-
/** `--bg-muted`. Default: `var(--gray-100)`. Dark: `oklch(from var(--neutral) 0.
|
|
678
|
+
/** `--bg-muted`. Default: `var(--gray-100)`. Dark: `oklch(from var(--neutral) 0.14 0.007 h)`. */
|
|
680
679
|
'--bg-muted'?: string | number;
|
|
681
|
-
/** `--bg-inset`. Default: `var(--gray-150)`. Dark: `oklch(from var(--neutral) 0.
|
|
680
|
+
/** `--bg-inset`. Default: `var(--gray-150)`. Dark: `oklch(from var(--neutral) 0.124 0.007 h)`. */
|
|
682
681
|
'--bg-inset'?: string | number;
|
|
683
682
|
/** `--bg-overlay`. Default: `color-mix(in oklab, var(--gray-900) 44%, transparent)`. Dark: `oklch(from var(--neutral) 0.06 0.004 h / 0.64)`. */
|
|
684
683
|
'--bg-overlay'?: string | number;
|
|
@@ -702,7 +701,7 @@ export interface TokenProperties {
|
|
|
702
701
|
'--border-default'?: string | number;
|
|
703
702
|
/** `--border-strong`. Default: `var(--gray-300)`. Dark: `oklch(from var(--neutral) 0.4 0.011 h)`. */
|
|
704
703
|
'--border-strong'?: string | number;
|
|
705
|
-
/** `--accent-fill` -
|
|
704
|
+
/** `--accent-fill` - The resting face of a filled control. Default: `var(--accent)`. Dark: `oklch(from var(--accent) calc(l - 0.06) calc(c - 0.01) h)`. Re-derived on every theme root. */
|
|
706
705
|
'--accent-fill'?: string | number;
|
|
707
706
|
/** `--accent-lift`. Default: `oklch(from var(--accent) calc(l + 0.075) calc(c - 0.006) h)`. Re-derived on every theme root. */
|
|
708
707
|
'--accent-lift'?: string | number;
|
|
@@ -720,11 +719,13 @@ export interface TokenProperties {
|
|
|
720
719
|
'--accent-wash'?: string | number;
|
|
721
720
|
/** `--text-accent`. Default: `var(--accent-active)`. Dark: `oklch(from var(--accent) calc(l + 0.14) calc(c - 0.012) h)`. Re-derived on every theme root. */
|
|
722
721
|
'--text-accent'?: string | number;
|
|
723
|
-
/** `--
|
|
722
|
+
/** `--text-on-accent` - The ink on a hue fill - the ramp's lightest rung in either polarity. Default: `var(--gray-0)`. Re-derived on every theme root. */
|
|
723
|
+
'--text-on-accent'?: string | number;
|
|
724
|
+
/** `--neutral-wash` - Translucent washes of the ink, never opaque near-whites. Default: `color-mix(in oklab, var(--text-secondary) 6%, transparent)`. Re-derived on every theme root. */
|
|
724
725
|
'--neutral-wash'?: string | number;
|
|
725
726
|
/** `--neutral-wash-press`. Default: `color-mix(in oklab, var(--text-secondary) 10%, transparent)`. Re-derived on every theme root. */
|
|
726
727
|
'--neutral-wash-press'?: string | number;
|
|
727
|
-
/** `--info` -
|
|
728
|
+
/** `--info` - The accent's hue one step down - repoint it for a hue of its own. Default: `var(--accent-hover)`. Re-derived on every theme root. */
|
|
728
729
|
'--info'?: string | number;
|
|
729
730
|
/** `--info-subtle`. Default: `oklch(from var(--info) 0.972 0.02 h)`. Dark: `oklch(from var(--info) 0.265 0.045 h)`. Re-derived on every theme root. */
|
|
730
731
|
'--info-subtle'?: string | number;
|
|
@@ -744,7 +745,7 @@ export interface TokenProperties {
|
|
|
744
745
|
'--warning-text'?: string | number;
|
|
745
746
|
/** `--warning-wash`. Default: `oklch(from var(--warning) 0.76 0.14 h / 0.12)`. Dark: `oklch(from var(--warning) 0.76 0.14 h / 0.18)`. Re-derived on every theme root. */
|
|
746
747
|
'--warning-wash'?: string | number;
|
|
747
|
-
/** `--danger-lift` -
|
|
748
|
+
/** `--danger-lift` - The destructive button's hover face, above --danger-fill. Default: `oklch(from var(--danger) 0.64 0.2 h)`. Re-derived on every theme root. */
|
|
748
749
|
'--danger-lift'?: string | number;
|
|
749
750
|
/** `--danger-fill`. Default: `oklch(from var(--danger) 0.602 0.196 h)`. Dark: `oklch(from var(--danger) 0.555 0.185 h)`. Re-derived on every theme root. */
|
|
750
751
|
'--danger-fill'?: string | number;
|
|
@@ -758,7 +759,7 @@ export interface TokenProperties {
|
|
|
758
759
|
'--danger-disabled'?: string | number;
|
|
759
760
|
/** `--danger-wash`. Default: `oklch(from var(--danger) 0.602 0.196 h / 0.1)`. Dark: `oklch(from var(--danger) 0.602 0.196 h / 0.16)`. Re-derived on every theme root. */
|
|
760
761
|
'--danger-wash'?: string | number;
|
|
761
|
-
/** `--glass-tint-neutral
|
|
762
|
+
/** `--glass-tint-neutral`. Default: `color-mix(in oklab, var(--text-muted) 13%, transparent)`. Re-derived on every theme root. */
|
|
762
763
|
'--glass-tint-neutral'?: string | number;
|
|
763
764
|
/** `--glass-tint-info`. Default: `color-mix(in oklab, var(--info) 17%, transparent)`. Re-derived on every theme root. */
|
|
764
765
|
'--glass-tint-info'?: string | number;
|
|
@@ -792,19 +793,28 @@ export interface ThemeTokens {
|
|
|
792
793
|
custom?: TokenProperties & Record<`--${string}`, string | number>;
|
|
793
794
|
}
|
|
794
795
|
/**
|
|
795
|
-
*
|
|
796
|
-
* `
|
|
797
|
-
*
|
|
798
|
-
* here extends the shipped dark theme rather than starting one.
|
|
796
|
+
* One palette, both polarities. `light` carries the palette itself - its decisions and the
|
|
797
|
+
* light roles; `dark` carries only what differs on dark surfaces, and every key `light`
|
|
798
|
+
* sets that `dark` leaves out is copied into it.
|
|
799
799
|
*/
|
|
800
|
-
export interface
|
|
801
|
-
/** The
|
|
802
|
-
base?: ThemeTokens;
|
|
803
|
-
/** Extends the shipped dark theme - the values that differ under `data-theme="dark"`. */
|
|
804
|
-
dark?: ThemeTokens;
|
|
805
|
-
/** Extends the shipped light theme, where a light island sits inside a dark page. */
|
|
800
|
+
export interface ThemePalette {
|
|
801
|
+
/** The palette - its decisions, and the roles the light polarity sets. */
|
|
806
802
|
light?: ThemeTokens;
|
|
807
|
-
|
|
803
|
+
/** What differs on dark surfaces. A delta over `light`, never a second palette. */
|
|
804
|
+
dark?: ThemeTokens;
|
|
805
|
+
/** How the palette is named in a picker. Defaults to its key, title-cased. */
|
|
806
|
+
name?: string;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* The palettes an app ships. `default` lands on `:root` and is the base every other
|
|
810
|
+
* palette layers over; every other key becomes a `[data-theme='<key>']` block, activated
|
|
811
|
+
* by setting that attribute on `<html>` or any subtree root. Polarity is the separate
|
|
812
|
+
* `data-polarity` attribute, so every palette carries both sides.
|
|
813
|
+
*/
|
|
814
|
+
export interface ThemeSet {
|
|
815
|
+
/** The base palette - what applies when `data-theme` names no other. */
|
|
816
|
+
default: ThemePalette;
|
|
817
|
+
[palette: string]: ThemePalette;
|
|
808
818
|
}
|
|
809
819
|
export declare const reducedMotionTokens: Readonly<Record<string, string>>;
|
|
810
820
|
declare module 'react' {
|
|
@@ -1,12 +1,35 @@
|
|
|
1
|
+
import type { ThemeTransitionSetting } from '../components/expressive/theme-transition/theme-transition';
|
|
2
|
+
import { type PolarityPreference } from './theme-store';
|
|
1
3
|
import { type ThemeSet, type ThemeTokens } from './theme-tokens.generated';
|
|
2
4
|
export type * from './theme-tokens.generated';
|
|
5
|
+
export type { ThemeTransitionEffect, ThemeTransitionOptions, ThemeTransitionSetting, } from '../components/expressive/theme-transition/theme-transition';
|
|
6
|
+
export type { Polarity, PolarityPreference, ThemeControls, ThemeState } from './theme-store';
|
|
7
|
+
export { useTheme } from './theme-sync';
|
|
3
8
|
export interface ZyncatThemeProps {
|
|
4
9
|
/**
|
|
5
|
-
* The app's
|
|
6
|
-
* `[data-theme='<key>']` block, activated by setting that attribute on
|
|
7
|
-
* or any subtree root.
|
|
10
|
+
* The app's palettes. `default` lands on `:root`; every other key becomes a
|
|
11
|
+
* `[data-theme='<key>']` block that layers over it, activated by setting that attribute on
|
|
12
|
+
* `<html>` or any subtree root. Each palette carries a `light` and a `dark` side, selected by
|
|
13
|
+
* `data-polarity`, and `dark` is a delta - what `light` sets and `dark` leaves out carries over.
|
|
8
14
|
*/
|
|
9
|
-
|
|
15
|
+
themes?: ThemeSet;
|
|
16
|
+
/** The palette a first visit gets, before a choice is stored. @default 'default' */
|
|
17
|
+
defaultTheme?: string;
|
|
18
|
+
/** The side a first visit gets. `system` follows the OS setting, and keeps following it. @default 'system' */
|
|
19
|
+
defaultPolarity?: PolarityPreference;
|
|
20
|
+
/** The localStorage key the choice persists under. @default 'zyncat-theme' */
|
|
21
|
+
storageKey?: string;
|
|
22
|
+
/** Write the stored choice onto `<html>` before first paint and register the palettes with `useTheme`.
|
|
23
|
+
* Off for a second `ZyncatTheme` whose palettes serve one subtree. @default true */
|
|
24
|
+
boot?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Animate every theme change as a full-page reveal: `tide` sweeps a wave across the page,
|
|
27
|
+
* `paint` throws splats that run together, and `bloom-circle`, `bloom-hexagon`, `bloom-star`,
|
|
28
|
+
* `bloom-petal` or `bloom-blob` grows that outline from the control that was pressed. An object
|
|
29
|
+
* adds `speed` and `intensity`. The arriving page is a live clone revealed by a clip; under
|
|
30
|
+
* reduced motion the swap is instant. The code loads on demand.
|
|
31
|
+
*/
|
|
32
|
+
transition?: ThemeTransitionSetting;
|
|
10
33
|
}
|
|
11
34
|
export declare function defineTheme(tokens: ThemeTokens): ThemeTokens;
|
|
12
|
-
export declare function ZyncatTheme({
|
|
35
|
+
export declare function ZyncatTheme({ themes, defaultTheme, defaultPolarity, storageKey, boot, transition, }: ZyncatThemeProps): import("react").JSX.Element;
|
package/dist/typing-lines.css
CHANGED
package/dist/typing-lines.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
'use client';import { loop } from './chunk-
|
|
1
|
+
'use client';import { loop } from './chunk-XKDR22VE.js';
|
|
2
2
|
import './chunk-VNVVG47J.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-6H3IJ752.js';
|
|
4
4
|
import { cx } from './chunk-QGNC7LH5.js';
|
|
5
5
|
import './typing-lines.css';
|
|
6
6
|
import { useRef, useEffect } from 'react';
|