@mkbabb/glass-ui 3.12.0 → 3.13.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/dist/{CardAction-DuArVky-.js → CardAction-Cj2eycQ2.js} +2 -2
- package/dist/{CommandShortcut-CefCj5mt.js → CommandShortcut-RowNEO6i.js} +4 -4
- package/dist/{ContextMenuSubContent-Bhg4f5jX.js → ContextMenuSubContent-BQmxTAdw.js} +4 -4
- package/dist/{DataTable-CUHMukiQ.js → DataTable-BCddn3T3.js} +3 -3
- package/dist/{DialogContent-BRkT1cjP.js → DialogContent-Dl9WkAoS.js} +3 -3
- package/dist/{DialogFooter-Gprw8H_A.js → DialogFooter-Blu4t7tJ.js} +2 -2
- package/dist/{HoverPopover-2LOIW34a.js → HoverPopover-CISOJQuZ.js} +1 -1
- package/dist/{IconTooltip-Cus0fvK0.js → IconTooltip-DPzE09X9.js} +1 -1
- package/dist/MetricBadge-C9QMz1KT.js +79 -0
- package/dist/{Notification-DLMhblXR.js → Notification-DdwNxIrI.js} +2 -2
- package/dist/{NumberFieldContent-BbLOh8RU.js → NumberFieldContent-CqaN-SvN.js} +3 -3
- package/dist/{PopoverContent-BId6ggf_.js → PopoverContent-BYwt2-4x.js} +1 -1
- package/dist/{ScrollingText-BPP84wKo.js → ScrollingText-DfFrwSph.js} +1 -1
- package/dist/{SelectScrollDownButton-T32cVFeM.js → SelectScrollDownButton-CiDUxfEj.js} +6 -6
- package/dist/{Switch-Ch-k3Rv-.js → Switch-CsIuYP_e.js} +1 -1
- package/dist/{TabsList-B8CVOQPC.js → TabsList-Dttss653.js} +9 -5
- package/dist/{Toaster-1rYWrmAm.js → Toaster-D6q4HtXu.js} +50 -47
- package/dist/{ToggleGroupItem-COu_4IW4.js → ToggleGroupItem-D_AHlRw9.js} +18 -22
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +5 -2
- package/dist/api.js +2 -2
- package/dist/aurora.js +69 -69
- package/dist/{badge-CaoFJzRb.js → badge-UILT_3pZ.js} +1 -1
- package/dist/badge.js +1 -1
- package/dist/{button-DN39cGqL.js → button-ChXMfsud.js} +12 -12
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +8 -8
- package/dist/{check-BBKKKSTf.js → check-njhk-vfu.js} +1 -1
- package/dist/{chevron-down-BSkTP2aL.js → chevron-down-DKkxb4VV.js} +1 -1
- package/dist/{chevron-right-sDM0Yvrf.js → chevron-right-CPXbqQQz.js} +1 -1
- package/dist/{chevron-up-CCOD_FTz.js → chevron-up-n_24SqI-.js} +1 -1
- package/dist/coalesceMetric-5qIeZnTx.js +13 -0
- package/dist/{color-C5ls_QF7.js → color-CUYeFbgd.js} +9 -7
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +8 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +5 -62
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +16 -0
- package/dist/components/custom/constellation/Constellation.vue.d.ts +74 -6
- package/dist/components/custom/constellation/composables/createConstellationField.d.ts +41 -0
- package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +35 -0
- package/dist/components/custom/constellation/constants.d.ts +61 -0
- package/dist/components/custom/constellation/constellationDraw.d.ts +30 -0
- package/dist/components/custom/constellation/constellationField.d.ts +116 -149
- package/dist/components/custom/constellation/constellationInteraction.d.ts +132 -0
- package/dist/components/custom/constellation/index.d.ts +5 -2
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +11 -0
- package/dist/components/custom/dock/DockRail.vue.d.ts +88 -0
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +3 -4
- package/dist/components/custom/dock/GlassDock.vue.d.ts +5 -118
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +36 -0
- package/dist/components/custom/dock/composables/index.d.ts +1 -0
- package/dist/components/custom/dock/composables/useDockClickIntegrity.d.ts +23 -0
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +15 -0
- package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +44 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +165 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +44 -0
- package/dist/components/custom/dock/constants.d.ts +48 -0
- package/dist/components/custom/dock/index.d.ts +3 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +5 -37
- package/dist/components/custom/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +17 -0
- package/dist/components/custom/fourier-field/presets.d.ts +54 -0
- package/dist/components/custom/goo-blob/composables/buildMetaballProgram.d.ts +18 -0
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +41 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +4 -3
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -8
- package/dist/components/custom/goo-blob/constants.d.ts +52 -0
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +2 -2
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +37 -0
- package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +6 -0
- package/dist/components/custom/labeled-field/LabeledSlider.vue.d.ts +6 -0
- package/dist/components/custom/labeled-field/LabeledSwitch.vue.d.ts +6 -0
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +11 -18
- package/dist/components/custom/metric-badge/index.d.ts +1 -0
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +15 -4
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +6 -4
- package/dist/components/custom/tabs/constants.d.ts +12 -0
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +84 -0
- package/dist/components/custom/underline/index.d.ts +2 -0
- package/dist/components/custom/underline/types.d.ts +56 -0
- package/dist/components/ui/card/Card.vue.d.ts +15 -3
- package/dist/components/ui/drawer/Drawer.vue.d.ts +1 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
- package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +6 -3
- package/dist/components/ui/slider/index.d.ts +22 -19
- package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +4 -1
- package/dist/components/ui/toast/use-toast.d.ts +2 -2
- package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/components/ui/toggle/index.d.ts +1 -1
- package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -7
- package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +1 -3
- package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +0 -13
- package/dist/composables/color/index.d.ts +12 -0
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +1 -21
- package/dist/composables/glass/index.d.ts +0 -1
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +59 -0
- package/dist/composables/glass/useSpecularTracking.d.ts +12 -3
- package/dist/composables/motion/core/index.d.ts +1 -1
- package/dist/composables/motion/curves.d.ts +48 -0
- package/dist/composables/motion/index.d.ts +2 -0
- package/dist/composables/motion/springPresets.d.ts +33 -0
- package/dist/composables/motion/suite.d.ts +2 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +85 -0
- package/dist/composables/motion/useSpringMount.d.ts +1 -1
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +336 -222
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +48 -20
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +705 -365
- package/dist/dockContext-BegmJVmx.js +17 -0
- package/dist/dom.js +5 -5
- package/dist/{dropdown-menu-D77jX6Df.js → dropdown-menu-DzkkyBwX.js} +11 -8
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +39 -80
- package/dist/forms.js +5 -5
- package/dist/fourier-field.js +134 -99
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +86 -20
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +222 -212
- package/dist/goo-blob.js +243 -212
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +28 -18
- package/dist/{math-DTpRVC0e.js → math-U6-RrLmV.js} +18 -2
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -21
- package/dist/metric-stack.js +35 -34
- package/dist/{minimize-2-lcXOuc6V.js → minimize-2-BV31Ob_h.js} +1 -1
- package/dist/motion-core.js +32 -137
- package/dist/motion-curves.d.ts +1 -0
- package/dist/motion-curves.js +130 -0
- package/dist/motion.js +38 -37
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BP_ALM0m.js → presets-BKVyQfbt.js} +1 -14
- package/dist/progress.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/{search-nbkvr2dC.js → search-BSGrf2Sk.js} +1 -1
- package/dist/search.js +9 -9
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-VZEtNFvO.js → sheet-1fChZjtw.js} +3 -3
- package/dist/sheet.js +1 -1
- package/dist/{slider-ClgpP7EB.js → slider-B-JP2JlI.js} +4 -4
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/springPresets--YdWTHtm.js +40 -0
- package/dist/stacked-icons.js +6 -6
- package/dist/styles/animations.css +29 -114
- package/dist/styles/cards.css +55 -0
- package/dist/styles/components.css +4 -1
- package/dist/styles/configurator.css +42 -0
- package/dist/styles/dock/layer-group.css +83 -25
- package/dist/styles/dock/layers.css +23 -1
- package/dist/styles/dock/morph-bridge.css +123 -0
- package/dist/styles/dock/morph.css +175 -45
- package/dist/styles/dock/overflow.css +51 -1
- package/dist/styles/dock/rail-extend.css +300 -0
- package/dist/styles/dock/shell.css +63 -105
- package/dist/styles/dock-controls/dark-mode-toggle.css +109 -0
- package/dist/styles/dock-controls/icon-button.css +133 -0
- package/dist/styles/dock-controls/tab-button.css +202 -0
- package/dist/styles/dock-controls/touch-floor.css +94 -0
- package/dist/styles/dock-controls/triggers.css +128 -0
- package/dist/styles/dock-controls.css +30 -595
- package/dist/styles/dock.css +2 -0
- package/dist/styles/drawer.css +2 -0
- package/dist/styles/floating-panel.css +17 -0
- package/dist/styles/glass/a11y-fallback.css +245 -0
- package/dist/styles/glass/ladder.css +337 -0
- package/dist/styles/glass/material.css +238 -0
- package/dist/styles/glass/progress-rail.css +78 -0
- package/dist/styles/glass/squircle.css +66 -0
- package/dist/styles/glass/surfaces.css +306 -0
- package/dist/styles/glass-refract.css +2 -0
- package/dist/styles/glass.css +31 -1188
- package/dist/styles/hover-popover.css +2 -0
- package/dist/styles/index.css +28 -14
- package/dist/styles/instrument-chassis.css +4 -0
- package/dist/styles/paper.css +2 -68
- package/dist/styles/segmented-tabs.css +275 -0
- package/dist/styles/theme/bridges.css +337 -0
- package/dist/styles/theme/dark.css +7 -0
- package/dist/styles/theme/literals.css +94 -0
- package/dist/styles/theme/radius.css +95 -0
- package/dist/styles/theme.css +26 -529
- package/dist/styles/tokens/color-radius.css +260 -0
- package/dist/styles/tokens/dark-arm.css +200 -0
- package/dist/styles/tokens/glass.css +440 -0
- package/dist/styles/tokens/light-dark.css +158 -0
- package/dist/styles/tokens/offsets-sizing.css +500 -0
- package/dist/styles/tokens/property-regs.css +169 -0
- package/dist/styles/tokens/scale-paper.css +366 -0
- package/dist/styles/tokens/scheme-motion.css +334 -0
- package/dist/styles/tokens/shadow.css +166 -0
- package/dist/styles/tokens.css +22 -2360
- package/dist/styles/typography.css +75 -21
- package/dist/styles/utilities/a11y-overrides.css +140 -0
- package/dist/styles/utilities/animate.css +26 -0
- package/dist/styles/utilities/base.css +365 -0
- package/dist/styles/utilities/btn.css +401 -0
- package/dist/styles/utilities/components.css +317 -0
- package/dist/styles/utilities.css +19 -1318
- package/dist/styles/view-transition.css +0 -51
- package/dist/switch.js +1 -1
- package/dist/tabs.js +91 -82
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/underline.d.ts +1 -0
- package/dist/underline.js +85 -0
- package/dist/{useAnimatedNumber-Bcpy5Etf.js → useAnimatedNumber-C5I3wWd8.js} +1 -1
- package/dist/{useConfiguratorState-DxAqksK6.js → useConfiguratorState-DAoeHVue.js} +8 -8
- package/dist/{useGlobalDark-CAhOXNLO.js → useGlobalDark-yhL4Wp-s.js} +3 -22
- package/dist/useLiquidFlex-BL0lLLN2.js +30 -0
- package/dist/useRAFLoop-Bxv0o6L5.js +109 -0
- package/dist/{useScrollProgress-CffFGLa5.js → useScrollProgress-Dlvx-L3v.js} +1 -1
- package/dist/useSpecularTracking-Bo5su68i.js +32 -0
- package/dist/useSpringMount-CI2jOstM.js +108 -0
- package/dist/{useTouchGate-WFyJYsth.js → useTouchGate-Dg7MQI1G.js} +1 -1
- package/dist/utils/coalesceMetric.d.ts +29 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vReveal-CqaCz_mC.js +44 -0
- package/dist/watercolor-dot.js +11 -9
- package/dist/{x-Dfsegz9Y.js → x-BUwTKe50.js} +1 -1
- package/package.json +78 -58
- package/src/styles/animations.css +29 -114
- package/src/styles/cards.css +53 -0
- package/src/styles/configurator.css +42 -0
- package/src/styles/dock/layer-group.css +83 -25
- package/src/styles/dock/layers.css +23 -1
- package/src/styles/dock/morph-bridge.css +123 -0
- package/src/styles/dock/morph.css +175 -45
- package/src/styles/dock/overflow.css +51 -1
- package/src/styles/dock/rail-extend.css +300 -0
- package/src/styles/dock/shell.css +63 -105
- package/src/styles/dock-controls/dark-mode-toggle.css +109 -0
- package/src/styles/dock-controls/icon-button.css +133 -0
- package/src/styles/dock-controls/tab-button.css +202 -0
- package/src/styles/dock-controls/touch-floor.css +94 -0
- package/src/styles/dock-controls/triggers.css +128 -0
- package/src/styles/dock-controls.css +30 -595
- package/src/styles/dock.css +2 -0
- package/src/styles/floating-panel.css +15 -0
- package/src/styles/glass/a11y-fallback.css +245 -0
- package/src/styles/glass/ladder.css +337 -0
- package/src/styles/glass/material.css +238 -0
- package/src/styles/glass/progress-rail.css +78 -0
- package/src/styles/glass/squircle.css +66 -0
- package/src/styles/glass/surfaces.css +306 -0
- package/src/styles/glass.css +31 -1188
- package/src/styles/index.css +28 -14
- package/src/styles/paper.css +2 -68
- package/src/styles/segmented-tabs.css +271 -0
- package/src/styles/theme/bridges.css +337 -0
- package/src/styles/theme/dark.css +7 -0
- package/src/styles/theme/literals.css +94 -0
- package/src/styles/theme/radius.css +95 -0
- package/src/styles/theme.css +26 -529
- package/src/styles/tokens/color-radius.css +260 -0
- package/src/styles/tokens/dark-arm.css +200 -0
- package/src/styles/tokens/glass.css +440 -0
- package/src/styles/tokens/light-dark.css +158 -0
- package/src/styles/tokens/offsets-sizing.css +500 -0
- package/src/styles/tokens/property-regs.css +169 -0
- package/src/styles/tokens/scale-paper.css +366 -0
- package/src/styles/tokens/scheme-motion.css +334 -0
- package/src/styles/tokens/shadow.css +166 -0
- package/src/styles/tokens.css +22 -2360
- package/src/styles/typography.css +75 -21
- package/src/styles/utilities/a11y-overrides.css +140 -0
- package/src/styles/utilities/animate.css +26 -0
- package/src/styles/utilities/base.css +365 -0
- package/src/styles/utilities/btn.css +401 -0
- package/src/styles/utilities/components.css +317 -0
- package/src/styles/utilities.css +19 -1318
- package/src/styles/view-transition.css +0 -51
- package/dist/DeckProgress-Dmk4_AKN.js +0 -23
- package/dist/InstrumentRail-CUJ05YVG.js +0 -44
- package/dist/MetricBadge-BZVWIxNy.js +0 -80
- package/dist/components/custom/deck-progress/DeckProgress.vue.d.ts +0 -27
- package/dist/components/custom/deck-progress/index.d.ts +0 -2
- package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +0 -57
- package/dist/components/custom/dialog-native/index.d.ts +0 -1
- package/dist/components/custom/handmark/HandMark.vue.d.ts +0 -29
- package/dist/components/custom/handmark/brush.d.ts +0 -242
- package/dist/components/custom/handmark/freehand.d.ts +0 -69
- package/dist/components/custom/handmark/geometry.d.ts +0 -50
- package/dist/components/custom/handmark/index.d.ts +0 -21
- package/dist/components/custom/handmark/ink.d.ts +0 -11
- package/dist/components/custom/handmark/texture.d.ts +0 -39
- package/dist/components/custom/handmark/types.d.ts +0 -53
- package/dist/components/custom/handmark/useHandMark.d.ts +0 -87
- package/dist/components/custom/instrument-rail/InstrumentRail.vue.d.ts +0 -91
- package/dist/components/custom/instrument-rail/index.d.ts +0 -2
- package/dist/composables/motion/useRouteTransition.d.ts +0 -42
- package/dist/deck-progress.d.ts +0 -1
- package/dist/deck-progress.js +0 -2
- package/dist/dockContext-BKeIMmNk.js +0 -9
- package/dist/handmark.d.ts +0 -1
- package/dist/handmark.js +0 -663
- package/dist/instrument-rail.d.ts +0 -1
- package/dist/instrument-rail.js +0 -2
- package/dist/styles/instrument-rail.css +0 -127
- package/dist/useGlassRenderer-D7YGOYiM.js +0 -69
- package/dist/useSpecularTracking-BVRZsRHA.js +0 -26
- package/dist/useSpringMount-BJSHcLl3.js +0 -113
- package/dist/useViewTransition-DaN5Zrox.js +0 -21
- package/dist/vReveal-zUIQk-rJ.js +0 -53
- package/src/styles/instrument-rail.css +0 -127
- /package/dist/{ContextMenuContent-DDa0v27s.js → ContextMenuContent-CT3AS1WX.js} +0 -0
- /package/dist/{HoverCardContent-B6CcQ8He.js → HoverCardContent-Csywg3YF.js} +0 -0
- /package/dist/{Input-xuDwALQR.js → Input-DWQQIOC4.js} +0 -0
- /package/dist/{InstrumentChassis-C2f6cBaQ.js → InstrumentChassis-UUJX0-mW.js} +0 -0
- /package/dist/{Label-zRfbQdCn.js → Label-r3WzWrsj.js} +0 -0
- /package/dist/{ModalOverlay-B1GkAjNb.js → ModalOverlay-DVLI2VRr.js} +0 -0
- /package/dist/{PaperBackdrop-CqwjnfLv.js → PaperBackdrop-DIXTtVq6.js} +0 -0
- /package/dist/{Progress-iEuD9pxG.js → Progress-DwlUKGbr.js} +0 -0
- /package/dist/{SelectGroup-BFiod7X2.js → SelectGroup-aumMgWLs.js} +0 -0
- /package/dist/{SelectSeparator-C4Ql0gzV.js → SelectSeparator-BQ_1Fcbp.js} +0 -0
- /package/dist/{Separator-D7sD7RKj.js → Separator-0JE6LtNu.js} +0 -0
- /package/dist/{TooltipProvider-CmZzCuaG.js → TooltipProvider-B3MkB_8P.js} +0 -0
- /package/dist/{compile-BOXjLUxu.js → compile-B7NGOBcP.js} +0 -0
- /package/dist/{constants-yKeKnE84.js → constants-CS75AWHG.js} +0 -0
- /package/dist/{createContext-B44Sah_H.js → createContext-BM46COQ-.js} +0 -0
- /package/dist/{createLucideIcon-B6uNAU9G.js → createLucideIcon-DydS2qgk.js} +0 -0
- /package/dist/{menuItemVariants-CCoBNkU5.js → menuItemVariants-DPiEarb0.js} +0 -0
- /package/dist/{supportsCssTimeline-C5oe0lnD.js → supportsCssTimeline-BWenxvHU.js} +0 -0
- /package/dist/{useIntersectionPause-Cck5Uxk8.js → useIntersectionPause-Cc-H9ees.js} +0 -0
- /package/dist/{useInterval-Dsmqwi03.js → useInterval-iHludrxk.js} +0 -0
- /package/dist/{useKeyboardShortcuts-CyIYrndH.js → useKeyboardShortcuts-Be3w_Rwk.js} +0 -0
- /package/dist/{useResizeObserver-CWCbk5Px.js → useResizeObserver-BhgdhOIj.js} +0 -0
- /package/dist/{useResolveTokenColor-r9pnNjqK.js → useResolveTokenColor-Dvn2RZJW.js} +0 -0
- /package/dist/{useSortable-C8ReQ50P.js → useSortable-muI29agz.js} +0 -0
- /package/dist/{useTextHighlight-CWEi25hf.js → useTextHighlight-DmRYkOBx.js} +0 -0
- /package/dist/{useTimer-3xqf_54b.js → useTimer-Dzarvzuk.js} +0 -0
- /package/dist/{useUserInvalidAria-DoJKMZ3s.js → useUserInvalidAria-B2h6jAM_.js} +0 -0
- /package/dist/{useViewportReady-RIr5Wgkh.js → useViewportReady-B40FK4Pa.js} +0 -0
package/src/styles/theme.css
CHANGED
|
@@ -1,536 +1,33 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* theme.css — Tailwind CSS v4 @theme block
|
|
2
|
+
* theme.css — Tailwind CSS v4 @theme block (thin @import root over theme/*.css)
|
|
3
3
|
*
|
|
4
4
|
* Maps every CSS custom property from tokens.css + typography.css to a
|
|
5
5
|
* Tailwind utility-generating token. References vars (not literals) so
|
|
6
6
|
* consumers can override at :root / .dark without rebuilding Tailwind.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
8
|
+
* AZ.W-CARVE — the four @theme constructs were CARVED into cohesive
|
|
9
|
+
* theme/*.css partials (each under the no-god-module 500-line bound),
|
|
10
|
+
* @import-ed below in CASCADE ORDER. The ordering is load-bearing: `@theme
|
|
11
|
+
* inline` (bridges) substitutes values, and the leading plain `@theme` radius
|
|
12
|
+
* aliases must precede the inline bridges (a re-ordered split would drop a
|
|
13
|
+
* value-identical `rounded-*` utility — the radius header note in
|
|
14
|
+
* theme/radius.css records the exact collision). Tailwind v4 registers
|
|
15
|
+
* `@theme` variables across `@import`ed files BY DESIGN (the "sharing across
|
|
16
|
+
* projects" pattern), so the four constructs span four partials with ZERO
|
|
17
|
+
* surface delta:
|
|
18
|
+
* 1. theme/radius.css — the LEADING plain `@theme`: radius primitives +
|
|
19
|
+
* semantic radius aliases + the corner-SHAPE axis.
|
|
20
|
+
* 2. theme/bridges.css — the `@theme inline`: the tokens.css `var(--token)`
|
|
21
|
+
* BRIDGES (color/shadow/blur/duration/ease/typography).
|
|
22
|
+
* 3. theme/literals.css — the trailing plain `@theme`: directly-authored
|
|
23
|
+
* LITERALS (--animate-*, opacity, text-shadow).
|
|
24
|
+
* 4. theme/dark.css — the `@variant dark` class-based dark-mode variant.
|
|
25
|
+
*
|
|
26
|
+
* @import-ed by index.css (cascade rung after typography.css); the carve keeps
|
|
27
|
+
* the SAME @layer/source position → byte-isomorphic dist (the no-god-module
|
|
28
|
+
* import-order gate is the witness).
|
|
24
29
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
@theme
|
|
29
|
-
--radius: 0.625rem;
|
|
30
|
-
--radius-xs: 4px;
|
|
31
|
-
--radius-sm: 4px;
|
|
32
|
-
--radius-md: 6px;
|
|
33
|
-
--radius-xl: 12px;
|
|
34
|
-
--radius-2xl: 1rem;
|
|
35
|
-
/* AW.W3b — a finite radius rung above --radius-2xl (16px), below
|
|
36
|
-
--radius-pill (the stadium). The big-dock card shell's corner geometry. */
|
|
37
|
-
--radius-3xl: 1.5rem;
|
|
38
|
-
--radius-pill: 9999px;
|
|
39
|
-
|
|
40
|
-
/* Semantic radius aliases — plain @theme (not inline; see header note).
|
|
41
|
-
Value-identical siblings (e.g. --radius-card + --radius-dialog) would
|
|
42
|
-
collapse + drop a rounded-* utility under inline; plain mints each
|
|
43
|
-
alias's own var. */
|
|
44
|
-
--radius-lg: var(--radius);
|
|
45
|
-
--radius-card: var(--radius-2xl);
|
|
46
|
-
--radius-panel: var(--radius-xl);
|
|
47
|
-
--radius-dialog: var(--radius-2xl);
|
|
48
|
-
--radius-input: var(--radius);
|
|
49
|
-
--radius-button: var(--radius);
|
|
50
|
-
/* AW.W25 — form-radius unification. `--radius-field` is the non-pill field
|
|
51
|
-
rung the multi-line / stepper form atoms (Textarea, NumberFieldInput)
|
|
52
|
-
resolve so a multi-line box stops inheriting the `9999px` stadium pill;
|
|
53
|
-
single-line controls (Input, SelectTrigger) keep the pill. `--radius-control`
|
|
54
|
-
is the semantic control-corner rung that retires the raw `rounded-sm` (4px)
|
|
55
|
-
on Checkbox + base Tabs onto a softer, named radius. One geometry language
|
|
56
|
-
across the form family — token + class only, no new primitive. */
|
|
57
|
-
--radius-field: var(--radius-2xl);
|
|
58
|
-
--radius-control: var(--radius-md);
|
|
59
|
-
--radius-badge: var(--radius-pill);
|
|
60
|
-
--radius-dock: var(--radius-pill);
|
|
61
|
-
/* AW.W3b — the big-dock card shell's default (comfortable-density) radius.
|
|
62
|
-
The density-scaled --dock-card-radius (dock.css) resolves through this. */
|
|
63
|
-
--radius-dock-card: var(--radius-3xl);
|
|
64
|
-
--radius-tooltip: var(--radius-lg);
|
|
65
|
-
|
|
66
|
-
/* ── AX.W56 — the corner-SHAPE axis (parallel to the corner-RADIUS ladder above).
|
|
67
|
-
`corner-shape` only changes the CURVE within the `border-radius` box; the
|
|
68
|
-
region is still the `--radius-*` token. These are plain @theme (the radius
|
|
69
|
-
siblings' rationale applies — each alias is its own override point, and the
|
|
70
|
-
semantic shapes are value-identical keywords that must not collapse under
|
|
71
|
-
inline). Chrome 139+ only (~65% global May 2026); the un-gated `border-radius`
|
|
72
|
-
round stays the cross-engine CONTRACT and the `@supports (corner-shape:
|
|
73
|
-
superellipse(2))` gate (glass.css/dock.css) is the PE tier. NEVER make
|
|
74
|
-
corner-shape the contract — Safari/Firefox have no positive signal through 2026.
|
|
75
|
-
|
|
76
|
-
Superellipse exponent (MDN authoritative): `superellipse(K)` paints
|
|
77
|
-
|x|^(2K) + |y|^(2K) = 1, so the curve exponent n = 2K. The CSS `squircle`
|
|
78
|
-
keyword == `superellipse(2)` == n=4 — the iOS-idiomatic web squircle. The
|
|
79
|
-
k-PRIMITIVE band (a consumer dials 1.7–2.4 to taste; W42's dock-morph calc()s
|
|
80
|
-
its animated k against this ONE vocabulary — do not re-define a second k). */
|
|
81
|
-
--corner-k-squircle: 2; /* the squircle — superellipse(2), n=4 */
|
|
82
|
-
--corner-k-soft: 1.7; /* gentler, between round and squircle — n≈3.4 */
|
|
83
|
-
--corner-k-sharp: 2.4; /* crisper square-bias for large surfaces — n≈4.8 */
|
|
84
|
-
|
|
85
|
-
/* Semantic per-surface SHAPE aliases — the rounded-vs-squircle POLICY.
|
|
86
|
-
Cards, pills/buttons, small docks, and panels stay ROUND (the superellipse is
|
|
87
|
-
imperceptible at a 16px card radius or a stadium pill — dropping it there is
|
|
88
|
-
visually free). The big-dock card shell (the large --radius-dock-card / 24px
|
|
89
|
-
surface) is the one site where the squircle READS — the iOS-26 idiom the dock
|
|
90
|
-
wants. A consumer opts an additional large-radius surface in by re-pointing its
|
|
91
|
-
`--corner-shape-<surface>` at `superellipse(var(--corner-k-squircle))`. */
|
|
92
|
-
--corner-shape-card: round;
|
|
93
|
-
--corner-shape-pill: round;
|
|
94
|
-
--corner-shape-panel: round;
|
|
95
|
-
--corner-shape-bigdock: superellipse(var(--corner-k-squircle));
|
|
96
|
-
/* AX.W56(R1) — the overlay-band glass surfaces W54 makes glass-default
|
|
97
|
-
(Dialog + Sheet content) ride the squircle alongside the big-dock. They
|
|
98
|
-
sit at the large `--radius-dialog` (16px) modal radius where the
|
|
99
|
-
superellipse READS — the same iOS-26 idiom. @supports-gated in glass.css
|
|
100
|
-
over the `border-radius` round CONTRACT; a consumer dials either back to
|
|
101
|
-
round by re-pointing the alias. */
|
|
102
|
-
--corner-shape-dialog: superellipse(var(--corner-k-squircle));
|
|
103
|
-
--corner-shape-sheet: superellipse(var(--corner-k-squircle));
|
|
104
|
-
/* AX.W59 — the spectrum slider's track-height thumb reads as a SQUIRCLE
|
|
105
|
-
(the iOS color-picker idiom). It rides the same --corner-k-squircle
|
|
106
|
-
vocabulary; @supports-gated in Slider.vue over a --radius-* round
|
|
107
|
-
fallback. A consumer dials it to round (a circular knob) or to soft. */
|
|
108
|
-
--corner-shape-thumb: superellipse(var(--corner-k-squircle));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@theme inline {
|
|
112
|
-
/* ═══════════════════════════════════════════════
|
|
113
|
-
Typography — size scale → text-* utilities
|
|
114
|
-
═══════════════════════════════════════════════ */
|
|
115
|
-
--text-admin-label: var(--type-admin-label);
|
|
116
|
-
--text-micro: var(--type-micro);
|
|
117
|
-
--text-caption: var(--type-caption);
|
|
118
|
-
--text-small: var(--type-small);
|
|
119
|
-
--text-body: var(--type-body);
|
|
120
|
-
--text-prose: var(--type-prose);
|
|
121
|
-
--text-subheading: var(--type-subheading);
|
|
122
|
-
--text-heading: var(--type-heading);
|
|
123
|
-
--text-title: var(--type-title);
|
|
124
|
-
/* AX.W50 D17 — the picker-family type-scale → `text-dropdown` /
|
|
125
|
-
`text-dropdown-secondary` utilities, bridging the `--dropdown-text` token pair
|
|
126
|
-
(tokens.css §10, a specialization of W51's `--control-text` comfort register)
|
|
127
|
-
so a Tailwind `text-dropdown` utility resolves the family scale. Mirrors the
|
|
128
|
-
`--text-small: var(--type-small)` ladder-bridge idiom above. */
|
|
129
|
-
--text-dropdown: var(--dropdown-text);
|
|
130
|
-
--text-dropdown-secondary: var(--dropdown-text-secondary);
|
|
131
|
-
--text-display: var(--type-display-1);
|
|
132
|
-
--text-display-1: var(--type-display-1);
|
|
133
|
-
--text-display-2: var(--type-display-2);
|
|
134
|
-
--text-display-3: var(--type-display-3);
|
|
135
|
-
--text-display-4: var(--type-display-4);
|
|
136
|
-
--text-display-5: var(--type-display-5);
|
|
137
|
-
|
|
138
|
-
/* Line heights → leading-* utilities */
|
|
139
|
-
--leading-micro: var(--type-leading-micro);
|
|
140
|
-
--leading-caption: var(--type-leading-caption);
|
|
141
|
-
--leading-small: var(--type-leading-small);
|
|
142
|
-
--leading-body: var(--type-leading-body);
|
|
143
|
-
--leading-prose: var(--type-leading-prose);
|
|
144
|
-
--leading-heading: var(--type-leading-heading);
|
|
145
|
-
--leading-display: var(--type-leading-display);
|
|
146
|
-
|
|
147
|
-
/* Letter spacing → tracking-* utilities */
|
|
148
|
-
--tracking-tight: var(--type-tracking-tight);
|
|
149
|
-
--tracking-snug: var(--type-tracking-snug);
|
|
150
|
-
--tracking-normal: var(--type-tracking-normal);
|
|
151
|
-
--tracking-wide: var(--type-tracking-wide);
|
|
152
|
-
--tracking-wider: var(--type-tracking-wider);
|
|
153
|
-
--tracking-caps: var(--type-tracking-caps);
|
|
154
|
-
|
|
155
|
-
/* ═══════════════════════════════════════════════
|
|
156
|
-
Font families → font-* utilities
|
|
157
|
-
|
|
158
|
-
ONE brand register, bridged from tokens.css §0's --font-stack-* source.
|
|
159
|
-
--font-text is the body/heading/prose/display register (Plus Jakarta
|
|
160
|
-
Sans). --font-serif is a bridge alias for the demo configurator's "serif"
|
|
161
|
-
control slot — it resolves to the SAME text register (the library carries
|
|
162
|
-
no display-serif voice). A consumer rebrands the whole text register by
|
|
163
|
-
overriding --font-text once.
|
|
164
|
-
═══════════════════════════════════════════════ */
|
|
165
|
-
--font-text: var(--font-stack-text);
|
|
166
|
-
--font-display: var(--font-stack-display);
|
|
167
|
-
--font-serif: var(--font-stack-text);
|
|
168
|
-
--font-sans: var(--font-stack-sans);
|
|
169
|
-
--font-mono: var(--font-stack-mono);
|
|
170
|
-
|
|
171
|
-
/* ═══════════════════════════════════════════════
|
|
172
|
-
Colors — core
|
|
173
|
-
═══════════════════════════════════════════════ */
|
|
174
|
-
--color-border: var(--border);
|
|
175
|
-
/* AQ.W2 §3d — the whisper-alpha border hairline rung (border-border-soft /
|
|
176
|
-
bg-border-soft utilities). Auto-dark via --border. */
|
|
177
|
-
--color-border-soft: var(--border-soft);
|
|
178
|
-
--color-input: var(--input);
|
|
179
|
-
--color-ring: var(--ring);
|
|
180
|
-
--color-background: var(--background);
|
|
181
|
-
--color-foreground: var(--foreground);
|
|
182
|
-
|
|
183
|
-
--color-primary: var(--primary);
|
|
184
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
185
|
-
|
|
186
|
-
--color-secondary: var(--secondary);
|
|
187
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
188
|
-
|
|
189
|
-
--color-muted: var(--muted);
|
|
190
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
191
|
-
/* AU.W8b.4 — the muted-foreground-strong bridge (text-muted-foreground-strong
|
|
192
|
-
utility). The base token already exists (tokens.css:362); only the
|
|
193
|
-
--color-muted-foreground bridge was present. CardDescription consumes
|
|
194
|
-
text-muted-foreground-strong through this. NOT @property-registered (a
|
|
195
|
-
design-token color; registration would break light-dark() re-resolution). */
|
|
196
|
-
--color-muted-foreground-strong: var(--muted-foreground-strong);
|
|
197
|
-
|
|
198
|
-
--color-accent: var(--accent);
|
|
199
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
200
|
-
|
|
201
|
-
--color-destructive: var(--destructive);
|
|
202
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
203
|
-
|
|
204
|
-
--color-popover: var(--popover);
|
|
205
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
206
|
-
|
|
207
|
-
--color-card: var(--card);
|
|
208
|
-
--color-card-foreground: var(--card-foreground);
|
|
209
|
-
|
|
210
|
-
/* R0G-5 — bg-surface-public-data-panel utility. */
|
|
211
|
-
--color-surface-public-data-panel: var(--surface-public-data-panel);
|
|
212
|
-
|
|
213
|
-
--color-shadow: var(--shadow);
|
|
214
|
-
|
|
215
|
-
/* Semantic foregrounds — bg-{success,warning,info}-foreground +
|
|
216
|
-
text-{success,warning,info}-foreground. Companions to the existing
|
|
217
|
-
--color-{success,warning,info} bridges below. R5 vocab.γ gap row 4. */
|
|
218
|
-
--color-success-foreground: var(--success-foreground);
|
|
219
|
-
--color-warning-foreground: var(--warning-foreground);
|
|
220
|
-
--color-info-foreground: var(--info-foreground);
|
|
221
|
-
|
|
222
|
-
/* Muted-tinted rungs — bg-muted-soft / bg-muted-medium. */
|
|
223
|
-
--color-muted-soft: var(--muted-soft);
|
|
224
|
-
--color-muted-medium: var(--muted-medium);
|
|
225
|
-
|
|
226
|
-
/* AU.W8b.4 — glass-tier surface/border bridges (bg-glass-quiet /
|
|
227
|
-
border-glass-quiet). Companions to the existing --shadow-glass-quiet
|
|
228
|
-
bridge below; lets the Toggle `card` variant compose bg-glass-quiet /
|
|
229
|
-
border-glass-quiet / shadow-glass-quiet instead of bg-[var(--glass-…)]
|
|
230
|
-
arbitrary wraps. NOT @property-registered (design-token colors —
|
|
231
|
-
registration snapshots the resolved color + breaks light-dark()). */
|
|
232
|
-
--color-glass-quiet: var(--glass-bg-quiet);
|
|
233
|
-
--color-glass-border-quiet: var(--glass-border-quiet);
|
|
234
|
-
|
|
235
|
-
/* Foreground-tint rungs — bg-surface-tint-{4,6,8,10,12,15,18,22,25}. */
|
|
236
|
-
--color-surface-tint-4: var(--surface-tint-4);
|
|
237
|
-
--color-surface-tint-6: var(--surface-tint-6);
|
|
238
|
-
--color-surface-tint-8: var(--surface-tint-8);
|
|
239
|
-
--color-surface-tint-10: var(--surface-tint-10);
|
|
240
|
-
--color-surface-tint-12: var(--surface-tint-12);
|
|
241
|
-
--color-surface-tint-15: var(--surface-tint-15);
|
|
242
|
-
--color-surface-tint-18: var(--surface-tint-18);
|
|
243
|
-
--color-surface-tint-22: var(--surface-tint-22);
|
|
244
|
-
--color-surface-tint-25: var(--surface-tint-25);
|
|
245
|
-
--color-surface-tint-35: var(--surface-tint-35);
|
|
246
|
-
--color-surface-tint-40: var(--surface-tint-40);
|
|
247
|
-
--color-surface-tint-70: var(--surface-tint-70);
|
|
248
|
-
|
|
249
|
-
/* Surface-tint tier aliases (V.W3.T10) — semantic names mapped to
|
|
250
|
-
the canonical numeric scale. Lets consumers compose
|
|
251
|
-
`bg-surface-tint-quiet|floating|modal` without picking a numeric
|
|
252
|
-
rung; the alias resolves to the rung that matches the surface
|
|
253
|
-
tier's canonical opacity. Quiet ≈ 6% (light backdrop tint),
|
|
254
|
-
floating ≈ 12% (panel-tier tint), modal ≈ 18% (heavy modal tint). */
|
|
255
|
-
--color-surface-tint-quiet: var(--surface-tint-6);
|
|
256
|
-
--color-surface-tint-floating: var(--surface-tint-12);
|
|
257
|
-
--color-surface-tint-modal: var(--surface-tint-18);
|
|
258
|
-
|
|
259
|
-
/* Overlay scrims — bg-overlay-scrim{,-strong,-subtle}. */
|
|
260
|
-
--color-overlay-scrim: var(--overlay-scrim);
|
|
261
|
-
--color-overlay-scrim-strong: var(--overlay-scrim-strong);
|
|
262
|
-
--color-overlay-scrim-subtle: var(--overlay-scrim-subtle);
|
|
263
|
-
|
|
264
|
-
/* ═══════════════════════════════════════════════
|
|
265
|
-
Colors — section palette (13-stop)
|
|
266
|
-
═══════════════════════════════════════════════ */
|
|
267
|
-
--color-section-0: var(--section-color-0);
|
|
268
|
-
--color-section-1: var(--section-color-1);
|
|
269
|
-
--color-section-2: var(--section-color-2);
|
|
270
|
-
--color-section-3: var(--section-color-3);
|
|
271
|
-
--color-section-4: var(--section-color-4);
|
|
272
|
-
--color-section-5: var(--section-color-5);
|
|
273
|
-
--color-section-6: var(--section-color-6);
|
|
274
|
-
--color-section-7: var(--section-color-7);
|
|
275
|
-
--color-section-8: var(--section-color-8);
|
|
276
|
-
--color-section-9: var(--section-color-9);
|
|
277
|
-
--color-section-10: var(--section-color-10);
|
|
278
|
-
--color-section-11: var(--section-color-11);
|
|
279
|
-
--color-section-12: var(--section-color-12);
|
|
280
|
-
|
|
281
|
-
--color-section-heading: var(--section-heading);
|
|
282
|
-
--color-accent-pink: var(--accent-pink);
|
|
283
|
-
--color-accent-red: var(--accent-red);
|
|
284
|
-
|
|
285
|
-
/* ═══════════════════════════════════════════════
|
|
286
|
-
Colors — viz basis
|
|
287
|
-
═══════════════════════════════════════════════ */
|
|
288
|
-
--color-viz-fourier: var(--viz-fourier);
|
|
289
|
-
--color-viz-chebyshev: var(--viz-chebyshev);
|
|
290
|
-
--color-viz-legendre: var(--viz-legendre);
|
|
291
|
-
--color-viz-amber: var(--viz-amber);
|
|
292
|
-
--color-viz-green: var(--viz-green);
|
|
293
|
-
|
|
294
|
-
/* ═══════════════════════════════════════════════
|
|
295
|
-
Colors — semantic UI accents
|
|
296
|
-
═══════════════════════════════════════════════ */
|
|
297
|
-
--color-tier-featured: var(--tier-featured);
|
|
298
|
-
--color-tier-saved: var(--tier-saved);
|
|
299
|
-
--color-like: var(--like);
|
|
300
|
-
--color-success: var(--success);
|
|
301
|
-
--color-warning: var(--warning);
|
|
302
|
-
--color-info: var(--info);
|
|
303
|
-
--color-delete: var(--delete);
|
|
304
|
-
|
|
305
|
-
/* ═══════════════════════════════════════════════
|
|
306
|
-
Colors — gold + rainbow accents (kept for consumers)
|
|
307
|
-
═══════════════════════════════════════════════ */
|
|
308
|
-
--color-gold: var(--gold);
|
|
309
|
-
--color-gold-light: var(--gold-light);
|
|
310
|
-
--color-gold-dark: var(--gold-dark);
|
|
311
|
-
--color-gold-deep: var(--gold-deep);
|
|
312
|
-
/* D6.b — the gilt family: the rim (gilt edge) + the legible gold ink. The
|
|
313
|
-
`@theme` bridge surfaces `text-gold-ink` / `border-gold-rim` utilities
|
|
314
|
-
beside the existing gold quad. `--gold-ink` clears cream-law ② on `--card`
|
|
315
|
-
in both arms (proof:gold-ink-contrast). */
|
|
316
|
-
--color-gold-rim: var(--gold-rim);
|
|
317
|
-
--color-gold-ink: var(--gold-ink);
|
|
318
|
-
|
|
319
|
-
--color-rainbow-red: var(--rainbow-red);
|
|
320
|
-
--color-rainbow-orange: var(--rainbow-orange);
|
|
321
|
-
--color-rainbow-yellow: var(--rainbow-yellow);
|
|
322
|
-
--color-rainbow-green: var(--rainbow-green);
|
|
323
|
-
--color-rainbow-blue: var(--rainbow-blue);
|
|
324
|
-
--color-rainbow-indigo: var(--rainbow-indigo);
|
|
325
|
-
--color-rainbow-violet: var(--rainbow-violet);
|
|
326
|
-
|
|
327
|
-
/* ═══════════════════════════════════════════════
|
|
328
|
-
Z-index → z-* utilities
|
|
329
|
-
═══════════════════════════════════════════════ */
|
|
330
|
-
--z-index-behind: var(--z-behind);
|
|
331
|
-
--z-index-background: var(--z-background);
|
|
332
|
-
--z-index-content: var(--z-content);
|
|
333
|
-
--z-index-controls: var(--z-controls);
|
|
334
|
-
--z-index-bar: var(--z-bar);
|
|
335
|
-
--z-index-header: var(--z-header);
|
|
336
|
-
--z-index-dock: var(--z-dock);
|
|
337
|
-
--z-index-panel: var(--z-panel);
|
|
338
|
-
--z-index-overlay: var(--z-overlay);
|
|
339
|
-
--z-index-hovercard: var(--z-hovercard);
|
|
340
|
-
--z-index-tooltip: var(--z-tooltip);
|
|
341
|
-
--z-index-popover: var(--z-popover);
|
|
342
|
-
--z-index-modal: var(--z-modal);
|
|
343
|
-
--z-index-fullscreen: var(--z-fullscreen);
|
|
344
|
-
--z-index-toast: var(--z-toast);
|
|
345
|
-
--z-index-toggle: var(--z-toggle);
|
|
346
|
-
--z-index-max: var(--z-max);
|
|
347
|
-
|
|
348
|
-
/* The radius PRIMITIVES + the semantic radius aliases (→ rounded-*
|
|
349
|
-
utilities) live in the LEADING plain @theme block above — plain, not
|
|
350
|
-
inline, so value-identical aliases never collide during candidate
|
|
351
|
-
resolution. See the order/collision note there. */
|
|
352
|
-
|
|
353
|
-
/* ═══════════════════════════════════════════════
|
|
354
|
-
Sizing → h-*, min-w-*, and spacing utilities
|
|
355
|
-
═══════════════════════════════════════════════ */
|
|
356
|
-
--height-chart-compact: var(--chart-height-compact);
|
|
357
|
-
--height-chart-default: var(--chart-height-default);
|
|
358
|
-
--height-chart-large: var(--chart-height-large);
|
|
359
|
-
--min-width-input-sm: var(--input-min-width-sm);
|
|
360
|
-
--spacing-chart-margin: var(--chart-margin);
|
|
361
|
-
/* AU.W8b.4 — w-popover utility (Combobox list width). Lifts `w-[200px]`. */
|
|
362
|
-
--width-popover: var(--popover-width);
|
|
363
|
-
|
|
364
|
-
/* Golden-ratio spacing — p-phi-5 / m-phi-6 etc. via Tailwind's spacing
|
|
365
|
-
utilities. φ² and φ³ rungs for hero/chassis padding ladder. */
|
|
366
|
-
--spacing-phi-5: var(--space-phi-5);
|
|
367
|
-
--spacing-phi-6: var(--space-phi-6);
|
|
368
|
-
|
|
369
|
-
/* V.W2 T13 — Icon-size ladder bridge → `size-icon-*`/`h-icon-*`/`w-icon-*`
|
|
370
|
-
utilities. Consumers can compose via `class="size-icon-2xl"` etc.
|
|
371
|
-
directly without the `size-[var(--icon-2xl)]` arbitrary-property form. */
|
|
372
|
-
--spacing-icon-xs: var(--icon-xs);
|
|
373
|
-
--spacing-icon-sm: var(--icon-sm);
|
|
374
|
-
--spacing-icon-md: var(--icon-md);
|
|
375
|
-
--spacing-icon-lg: var(--icon-lg);
|
|
376
|
-
--spacing-icon-xl: var(--icon-xl);
|
|
377
|
-
--spacing-icon-2xl: var(--icon-2xl);
|
|
378
|
-
--spacing-icon-3xl: var(--icon-3xl);
|
|
379
|
-
--spacing-icon-hero: var(--icon-hero);
|
|
380
|
-
|
|
381
|
-
/* ═══════════════════════════════════════════════
|
|
382
|
-
Shadows → shadow-* utilities
|
|
383
|
-
═══════════════════════════════════════════════ */
|
|
384
|
-
--shadow-cartoon: var(--cartoon-shadow);
|
|
385
|
-
--shadow-cartoon-hover: var(--cartoon-shadow-hover);
|
|
386
|
-
--shadow-soft: var(--soft-shadow);
|
|
387
|
-
--shadow-elevated: var(--elevated-shadow);
|
|
388
|
-
--shadow-modal: var(--modal-shadow);
|
|
389
|
-
|
|
390
|
-
--shadow-card: var(--card-shadow);
|
|
391
|
-
--shadow-dock: var(--dock-shadow);
|
|
392
|
-
--shadow-dock-collapsed: var(--dock-shadow-collapsed);
|
|
393
|
-
|
|
394
|
-
--shadow-glass-wash: var(--glass-shadow-wash);
|
|
395
|
-
--shadow-glass-quiet: var(--glass-shadow-quiet);
|
|
396
|
-
--shadow-glass-resting: var(--glass-shadow-resting);
|
|
397
|
-
--shadow-glass-floating: var(--glass-shadow-floating);
|
|
398
|
-
--shadow-glass-overlay: var(--glass-shadow-overlay);
|
|
399
|
-
|
|
400
|
-
--shadow-cartoon-sm: var(--cartoon-shadow-sm);
|
|
401
|
-
--shadow-cartoon-md: var(--cartoon-shadow-md);
|
|
402
|
-
--shadow-cartoon-lg: var(--cartoon-shadow-lg);
|
|
403
|
-
|
|
404
|
-
/* ═══════════════════════════════════════════════
|
|
405
|
-
Blur → blur-* and backdrop-blur-* utilities
|
|
406
|
-
═══════════════════════════════════════════════ */
|
|
407
|
-
--blur-glass-wash: var(--glass-blur-wash-radius);
|
|
408
|
-
--blur-glass-quiet: var(--glass-blur-quiet-radius);
|
|
409
|
-
--blur-glass-resting: var(--glass-blur-resting-radius);
|
|
410
|
-
--blur-glass-floating: var(--glass-blur-floating-radius);
|
|
411
|
-
--blur-glass-overlay: var(--glass-blur-overlay-radius);
|
|
412
|
-
--blur-dock: var(--glass-blur-dock-radius);
|
|
413
|
-
|
|
414
|
-
/* ═══════════════════════════════════════════════
|
|
415
|
-
Easing → ease-* utilities
|
|
416
|
-
═══════════════════════════════════════════════ */
|
|
417
|
-
--ease-spring-smooth: var(--spring-smooth);
|
|
418
|
-
--ease-spring-snappy: var(--spring-snappy);
|
|
419
|
-
--ease-spring-bouncy: var(--spring-bouncy);
|
|
420
|
-
--ease-spring-gentle: var(--spring-gentle);
|
|
421
|
-
|
|
422
|
-
--ease-standard: var(--motion-ease-standard);
|
|
423
|
-
--ease-out: var(--motion-ease-out);
|
|
424
|
-
--ease-in: var(--motion-ease-in);
|
|
425
|
-
--ease-out-expo: var(--motion-ease-out-expo);
|
|
426
|
-
--ease-apple: var(--motion-ease-apple);
|
|
427
|
-
--ease-spring: var(--spring-snappy);
|
|
428
|
-
--ease-decelerate: var(--motion-ease-out);
|
|
429
|
-
--ease-accelerate: var(--motion-ease-in);
|
|
430
|
-
|
|
431
|
-
/* ═══════════════════════════════════════════════
|
|
432
|
-
Duration → duration-* utilities
|
|
433
|
-
═══════════════════════════════════════════════ */
|
|
434
|
-
--transition-duration-instant: var(--duration-instant);
|
|
435
|
-
--transition-duration-fast: var(--duration-fast);
|
|
436
|
-
--transition-duration-normal: var(--duration-normal);
|
|
437
|
-
--transition-duration-slow: var(--duration-slow);
|
|
438
|
-
--transition-duration-panel: var(--duration-panel);
|
|
439
|
-
--transition-duration-xl: var(--duration-xl);
|
|
440
|
-
--transition-duration-xxl: var(--duration-xxl);
|
|
441
|
-
--transition-duration-sparkle: var(--duration-sparkle);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
/* ═══════════════════════════════════════════════════════════════════════
|
|
445
|
-
Directly-authored LITERALS — plain @theme (the override surface here is
|
|
446
|
-
the namespaced var itself, not a tokens.css bridge, so these mint their
|
|
447
|
-
global variable). Radius primitives, the --animate-* composites (literal
|
|
448
|
-
keyframe name + var() timing — no tokens.css twin to double), and the
|
|
449
|
-
opacity rungs.
|
|
450
|
-
═══════════════════════════════════════════════════════════════════════ */
|
|
451
|
-
@theme {
|
|
452
|
-
/* ═══════════════════════════════════════════════
|
|
453
|
-
Animation → animate-* utilities
|
|
454
|
-
═══════════════════════════════════════════════ */
|
|
455
|
-
--animate-floating-panel-in: floating-panel-in var(--duration-fast) var(--ease-out);
|
|
456
|
-
--animate-tooltip-in: tooltip-in var(--duration-fast) var(--ease-out);
|
|
457
|
-
--animate-fade-in: fade-in var(--duration-normal) var(--spring-smooth);
|
|
458
|
-
--animate-scale-in: scale-in var(--duration-normal) var(--spring-smooth);
|
|
459
|
-
--animate-slide-up: slide-up var(--duration-normal) var(--spring-smooth);
|
|
460
|
-
--animate-dock-in: dock-in var(--duration-panel) var(--spring-snappy) both;
|
|
461
|
-
/* ── Shimmer family: documented duration offset ──────────────────────────
|
|
462
|
-
The shimmer ladder is intentionally non-paired-by-name:
|
|
463
|
-
- `--animate-shimmer` reads `--duration-shimmer-fast` (3s) — fast loop
|
|
464
|
-
tempo for the band-pass shimmer pattern (skeleton, marketing).
|
|
465
|
-
- `--animate-shimmer-sweep` and `--animate-gold-shimmer` both read the
|
|
466
|
-
unsuffixed `--duration-shimmer` (5s) — slower one-pass sweep for
|
|
467
|
-
brand-polish moments (Complete! gold-shimmer headline, hero lifts).
|
|
468
|
-
The fast/canonical split exists because the two shimmer modes (looping
|
|
469
|
-
band-pass vs one-pass sweep) want different tempos. The pre-V audit
|
|
470
|
-
(C-c §5.3) flagged this as a "naming inversion"; it is intentional —
|
|
471
|
-
documented here so the offset is searchable. The orphan
|
|
472
|
-
`--duration-shimmer-slow` (8s) was excised in V.W2 T5. */
|
|
473
|
-
--animate-shimmer: shimmer var(--duration-shimmer-fast) linear infinite;
|
|
474
|
-
--animate-shimmer-sweep: shimmer-sweep var(--duration-shimmer) ease-in-out infinite;
|
|
475
|
-
--animate-gold-shimmer: gold-shimmer-slide var(--duration-shimmer) linear infinite;
|
|
476
|
-
--animate-shake: shake 0.5s ease-in-out;
|
|
477
|
-
|
|
478
|
-
/* ═══════════════════════════════════════════════
|
|
479
|
-
Opacity → opacity-* utilities
|
|
480
|
-
|
|
481
|
-
Bridges the canonical `--opacity-disabled` (0.5) and
|
|
482
|
-
`--opacity-icon-muted` (0.8) rungs from tokens.css §11. Tailwind
|
|
483
|
-
v4 generates `opacity-disabled` / `opacity-icon-muted` utilities
|
|
484
|
-
(and the `disabled:opacity-disabled` modifier form) from these
|
|
485
|
-
@theme declarations; the values match tokens.css line 550-551.
|
|
486
|
-
|
|
487
|
-
Consumers replace 18+ hardcoded `disabled:opacity-50` literals
|
|
488
|
-
across the primitive slice with `disabled:opacity-disabled`.
|
|
489
|
-
(Per audit U.W0.C-a §1.2 / §gap.4 — U12.)
|
|
490
|
-
═══════════════════════════════════════════════ */
|
|
491
|
-
--opacity-disabled: 0.5;
|
|
492
|
-
--opacity-icon-muted: 0.8;
|
|
493
|
-
|
|
494
|
-
/* ═══════════════════════════════════════════════
|
|
495
|
-
text-shadow → text-shadow-* utilities (AW.W26)
|
|
496
|
-
|
|
497
|
-
text-shadow is the lone shadow family that shipped no `@theme` bridge
|
|
498
|
-
(Tailwind v4.1 minted the `text-shadow-{2xs,xs,sm,md,lg}` utilities). The
|
|
499
|
-
rungs are warm-`--shadow-color`-derived via `color-mix` per the box-shadow
|
|
500
|
-
ladder (tokens.css §7) + the cartoon-shadow precept's one-source chain, so
|
|
501
|
-
they re-tint under `.dark` BY CONSTRUCTION — `--shadow-color: var(--foreground)`
|
|
502
|
-
flips light→dark with no hardcoded `.dark` re-declaration. The hand-rolled
|
|
503
|
-
multi-stop `text-shadow:` literals in `.depth-text` (utilities.css) +
|
|
504
|
-
`.text-engraved` (typography.css) now compose these tokens. */
|
|
505
|
-
--text-shadow-2xs: 0 1px 0 color-mix(in srgb, var(--shadow-color) 12%, transparent);
|
|
506
|
-
--text-shadow-xs: 0 1px 1px color-mix(in srgb, var(--shadow-color) 16%, transparent);
|
|
507
|
-
--text-shadow-sm: 0 1px 0 color-mix(in srgb, var(--shadow-color) 14%, transparent),
|
|
508
|
-
0 2px 3px color-mix(in srgb, var(--shadow-color) 18%, transparent);
|
|
509
|
-
--text-shadow-md: 0 1px 0 color-mix(in srgb, var(--shadow-color) 16%, transparent),
|
|
510
|
-
0 2px 4px color-mix(in srgb, var(--shadow-color) 20%, transparent),
|
|
511
|
-
0 4px 8px color-mix(in srgb, var(--shadow-color) 14%, transparent);
|
|
512
|
-
--text-shadow-lg: 0 1px 0 color-mix(in srgb, var(--shadow-color) 18%, transparent),
|
|
513
|
-
0 2px 4px color-mix(in srgb, var(--shadow-color) 22%, transparent),
|
|
514
|
-
0 6px 12px color-mix(in srgb, var(--shadow-color) 18%, transparent);
|
|
515
|
-
|
|
516
|
-
/* Two IDENTITY text-shadow tokens — the hard offset STAMP (`.depth-text`)
|
|
517
|
-
+ the two-stop EMBOSS (`.text-engraved`). These hold the multi-stop
|
|
518
|
-
literals INSIDE the `@theme` defs so the utilities compose `var(--text-shadow-*)`
|
|
519
|
-
and no raw `text-shadow:` literal survives in `utilities.css`/`typography.css`
|
|
520
|
-
(AW.W26 gate 4). Both are `--shadow-color`/surface-tint-derived, so they
|
|
521
|
-
re-tint under `.dark` BY CONSTRUCTION. */
|
|
522
|
-
--text-shadow-depth: 1px 1px 0 var(--shadow),
|
|
523
|
-
2px 2px 0 var(--shadow),
|
|
524
|
-
3px 3px 0 var(--shadow),
|
|
525
|
-
4px 4px 0 var(--shadow),
|
|
526
|
-
5px 5px 0 var(--shadow),
|
|
527
|
-
5px 5px 1px color-mix(in srgb, var(--shadow-color) 10%, transparent),
|
|
528
|
-
2px 2px 2px color-mix(in srgb, var(--shadow-color) 20%, transparent),
|
|
529
|
-
4px 4px 5px color-mix(in srgb, var(--shadow-color) 25%, transparent),
|
|
530
|
-
6px 6px 10px color-mix(in srgb, var(--shadow-color) 15%, transparent);
|
|
531
|
-
--text-shadow-engraved: 0 1px 0 color-mix(in srgb, var(--background) 30%, transparent),
|
|
532
|
-
0 -1px 0 var(--surface-tint-8);
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
/* Class-based dark mode */
|
|
536
|
-
@variant dark (&:where(.dark, .dark *));
|
|
30
|
+
@import "./theme/radius.css";
|
|
31
|
+
@import "./theme/bridges.css";
|
|
32
|
+
@import "./theme/literals.css";
|
|
33
|
+
@import "./theme/dark.css";
|