@mkbabb/glass-ui 3.13.0 → 4.0.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-XH4YBVEK.js +158 -0
- package/dist/{CommandShortcut-RowNEO6i.js → CommandShortcut-DdtWXxOK.js} +57 -52
- package/dist/{ContextMenuSubContent-BQmxTAdw.js → ContextMenuSubContent-B0Vs6atR.js} +1 -1
- package/dist/{DataTable-BCddn3T3.js → DataTable-C464Zbqd.js} +99 -97
- package/dist/DialogContent-DDE6pQBU.js +103 -0
- package/dist/{DialogFooter-Blu4t7tJ.js → DialogFooter-8eZbdmPc.js} +1 -1
- package/dist/FadingScroll-DwNnvKMs.js +76 -0
- package/dist/{HoverPopover-CISOJQuZ.js → HoverPopover-Dpzwvc4t.js} +1 -1
- package/dist/IconChip-BDw1j5mu.js +54 -0
- package/dist/{MetricBadge-C9QMz1KT.js → MetricBadge-BpC0R_Ec.js} +1 -1
- package/dist/{Notification-DdwNxIrI.js → Notification-DKjKsQq8.js} +8 -8
- package/dist/{NumberFieldContent-CqaN-SvN.js → NumberFieldContent-1VtwDSgf.js} +1 -1
- package/dist/PopoverContent-BTorlp--.js +127 -0
- package/dist/{Progress-DwlUKGbr.js → Progress-hAT4gqGH.js} +97 -77
- package/dist/{ScrollingText-DfFrwSph.js → ScrollingText-CUVFTWk2.js} +2 -2
- package/dist/{SelectScrollDownButton-CiDUxfEj.js → SelectScrollDownButton-C1jb3b3K.js} +22 -6
- package/dist/{Switch-CsIuYP_e.js → Switch-Dr--uLGH.js} +1 -1
- package/dist/{Toaster-D6q4HtXu.js → Toaster-Bm_HQSpc.js} +6 -6
- package/dist/{ToggleGroupItem-D_AHlRw9.js → ToggleGroupItem-Dzk9hWsF.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +8 -5
- package/dist/api.js +2 -2
- package/dist/aurora.js +132 -117
- package/dist/{button-ChXMfsud.js → button-BNDWhAZb.js} +2 -2
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +97 -141
- package/dist/collapsible.js +1 -1
- package/dist/color-swatch.d.ts +1 -0
- package/dist/color-swatch.js +47 -0
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/constants/presets.d.ts +28 -0
- package/dist/components/custom/aurora/constants/renderMode.d.ts +2 -0
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/color-swatch/ColorSwatch.vue.d.ts +22 -0
- package/dist/components/custom/color-swatch/index.d.ts +1 -0
- package/dist/components/custom/configurator/Configurator.vue.d.ts +19 -8
- package/dist/components/custom/constellation/Constellation.vue.d.ts +18 -206
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +26 -0
- package/dist/components/custom/constellation/constellationField.d.ts +2 -369
- package/dist/components/custom/constellation/constellationTypes.d.ts +369 -0
- package/dist/components/custom/constellation/index.d.ts +1 -1
- package/dist/components/custom/dock/DockRail.vue.d.ts +17 -16
- package/dist/components/custom/dock/DockSection.vue.d.ts +69 -0
- package/dist/components/custom/dock/DockSeparator.vue.d.ts +49 -1
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +5 -5
- package/dist/components/custom/dock/constants.d.ts +35 -0
- package/dist/components/custom/dock/index.d.ts +2 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
- package/dist/components/custom/fading-scroll/FadingScroll.vue.d.ts +25 -0
- package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +31 -0
- package/dist/components/custom/fading-scroll/constants.d.ts +19 -0
- package/dist/components/custom/fading-scroll/index.d.ts +2 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +7 -0
- 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/glass-panel/GlassPanel.vue.d.ts +8 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -1
- package/dist/components/custom/goo-blob/constants.d.ts +6 -1
- package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/custom/handmark/brush.d.ts +269 -0
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +89 -0
- package/dist/components/custom/handmark/constants.d.ts +39 -0
- package/dist/components/custom/handmark/freehand.d.ts +69 -0
- package/dist/components/custom/handmark/geometry.d.ts +52 -0
- package/dist/components/custom/handmark/index.d.ts +27 -0
- package/dist/components/custom/handmark/ink.d.ts +11 -0
- package/dist/components/custom/handmark/texture.d.ts +39 -0
- package/dist/components/custom/handmark/types.d.ts +62 -0
- package/dist/components/custom/icon-chip/IconChip.vue.d.ts +4 -0
- package/dist/components/custom/icon-chip/index.d.ts +2 -0
- package/dist/components/custom/icon-chip/types.d.ts +72 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +15 -2
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +39 -0
- package/dist/components/custom/pager-dots/index.d.ts +2 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +20 -25
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +30 -21
- package/dist/components/custom/tabs/constants.d.ts +9 -3
- package/dist/components/custom/tabs/index.d.ts +1 -1
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +14 -0
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +19 -0
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +41 -0
- package/dist/components/ui/card/Card.vue.d.ts +1 -1
- package/dist/components/ui/carousel/index.d.ts +0 -1
- package/dist/components/ui/command/Command.vue.d.ts +3 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -3
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +5 -0
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +3 -0
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +14 -3
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +27 -4
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +6 -0
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +3 -0
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +23 -1
- package/dist/composables/motion/useViewTransition.d.ts +36 -1
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +92 -94
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +10 -4
- 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 +510 -321
- package/dist/{dockContext-BegmJVmx.js → dockContext-Bu1Avy-a.js} +1 -1
- package/dist/dom.js +5 -5
- package/dist/{dropdown-menu-DzkkyBwX.js → dropdown-menu-BJ7E9js_.js} +2 -2
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +42 -38
- package/dist/fading-scroll.d.ts +1 -0
- package/dist/fading-scroll.js +2 -0
- package/dist/forms.js +3 -3
- package/dist/fourier-field.js +38 -37
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +39 -36
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +129 -145
- package/dist/goo-blob.js +86 -81
- package/dist/handmark.d.ts +1 -0
- package/dist/handmark.js +707 -0
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-chip.d.ts +1 -0
- package/dist/icon-chip.js +2 -0
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/{math-U6-RrLmV.js → math-DeuJwLFx.js} +11 -3
- package/dist/{menuItemVariants-DPiEarb0.js → menuItemVariants-DWRQXBxJ.js} +10 -4
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -22
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +33 -32
- package/dist/motion-curves.js +1 -1
- package/dist/motion.js +4 -4
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.d.ts +1 -0
- package/dist/pager-dots.js +91 -0
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BKVyQfbt.js → presets-BW2b-fr1.js} +14 -1
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +5 -5
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-1fChZjtw.js → sheet-CquRYOAw.js} +59 -55
- package/dist/sheet.js +1 -1
- package/dist/{slider-B-JP2JlI.js → slider-DQ95MET2.js} +7 -7
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/styles/animations.css +11 -26
- package/dist/styles/components.css +1 -1
- package/dist/styles/configurator.css +35 -0
- package/dist/styles/dock/density.css +19 -0
- package/dist/styles/dock/overflow.css +15 -0
- package/dist/styles/dock/rail-extend.css +168 -71
- package/dist/styles/dock/section.css +59 -0
- package/dist/styles/dock/shell.css +34 -5
- package/dist/styles/dock-controls/icon-button.css +11 -1
- package/dist/styles/dock-controls/tab-button.css +24 -83
- package/dist/styles/dock-controls/triggers.css +7 -0
- package/dist/styles/dock.css +6 -3
- package/dist/styles/drawer.css +46 -0
- package/dist/styles/feedback-tone.css +104 -0
- package/dist/styles/glass/ladder.css +68 -22
- package/dist/styles/glass/surface-axis.css +113 -0
- package/dist/styles/glass/surfaces.css +88 -12
- package/dist/styles/glass.css +5 -2
- package/dist/styles/icon-chip.css +149 -0
- package/dist/styles/index.css +67 -5
- package/dist/styles/instrument-chassis.css +42 -0
- package/dist/styles/menu.css +127 -0
- package/dist/styles/segmented-tabs.css +160 -89
- package/dist/styles/select.css +50 -0
- package/dist/styles/theme/bridges.css +11 -1
- package/dist/styles/tokens/color-radius.css +40 -13
- package/dist/styles/tokens/dark-arm.css +124 -16
- package/dist/styles/tokens/glass.css +83 -23
- package/dist/styles/tokens/light-dark.css +48 -19
- package/dist/styles/tokens/offsets-sizing.css +62 -0
- package/dist/styles/tokens/property-regs.css +3 -10
- package/dist/styles/tokens/scale-paper.css +45 -2
- package/dist/styles/tokens/scheme-motion.css +32 -14
- package/dist/styles/transitions.css +7 -7
- package/dist/styles/typography/scale.css +153 -0
- package/dist/styles/typography/semantic.css +220 -0
- package/dist/styles/typography/utilities.css +159 -0
- package/dist/styles/typography.css +23 -507
- package/dist/styles/utilities/a11y-overrides.css +33 -4
- package/dist/styles/utilities/base.css +177 -1
- package/dist/styles/utilities/btn.css +18 -201
- package/dist/styles/view-transition.css +4 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.js +154 -183
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +3 -1
- package/dist/toggle-group.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-C_3wZLx4.js} +1 -1
- package/dist/useConfiguratorState-kiIlun8I.js +303 -0
- package/dist/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-C28t0VWJ.js} +22 -3
- package/dist/{useRAFLoop-Bxv0o6L5.js → useRAFLoop-CdwJ7284.js} +1 -1
- package/dist/{useSpringMount-CI2jOstM.js → useSpringMount-CvopqiFr.js} +1 -1
- package/dist/useSurfaceAxis-CMnF2zHb.js +7 -0
- package/dist/{useTouchGate-Dg7MQI1G.js → useTouchGate-28Tk2-t2.js} +1 -1
- package/dist/{vReveal-CqaCz_mC.js → useViewTransition-COsPjQVZ.js} +15 -12
- package/dist/vReveal-D9k0jADx.js +10 -0
- package/dist/watercolor-dot.js +12 -5
- package/package.json +71 -7
- package/src/styles/animations.css +11 -26
- package/src/styles/configurator.css +35 -0
- package/src/styles/dock/density.css +19 -0
- package/src/styles/dock/overflow.css +15 -0
- package/src/styles/dock/rail-extend.css +168 -71
- package/src/styles/dock/section.css +59 -0
- package/src/styles/dock/shell.css +34 -5
- package/src/styles/dock-controls/icon-button.css +11 -1
- package/src/styles/dock-controls/tab-button.css +24 -83
- package/src/styles/dock-controls/triggers.css +7 -0
- package/src/styles/dock.css +6 -3
- package/src/styles/drawer.css +42 -0
- package/src/styles/feedback-tone.css +104 -0
- package/src/styles/glass/ladder.css +68 -22
- package/src/styles/glass/surface-axis.css +113 -0
- package/src/styles/glass/surfaces.css +88 -12
- package/src/styles/glass.css +5 -2
- package/src/styles/icon-chip.css +149 -0
- package/src/styles/index.css +66 -4
- package/src/styles/instrument-chassis.css +42 -0
- package/src/styles/menu.css +127 -0
- package/src/styles/segmented-tabs.css +156 -87
- package/src/styles/select.css +50 -0
- package/src/styles/theme/bridges.css +11 -1
- package/src/styles/tokens/color-radius.css +40 -13
- package/src/styles/tokens/dark-arm.css +124 -16
- package/src/styles/tokens/glass.css +83 -23
- package/src/styles/tokens/light-dark.css +48 -19
- package/src/styles/tokens/offsets-sizing.css +62 -0
- package/src/styles/tokens/property-regs.css +3 -10
- package/src/styles/tokens/scale-paper.css +45 -2
- package/src/styles/tokens/scheme-motion.css +32 -14
- package/src/styles/transitions.css +7 -7
- package/src/styles/typography/scale.css +153 -0
- package/src/styles/typography/semantic.css +220 -0
- package/src/styles/typography/utilities.css +159 -0
- package/src/styles/typography.css +23 -507
- package/src/styles/utilities/a11y-overrides.css +33 -4
- package/src/styles/utilities/base.css +177 -1
- package/src/styles/utilities/btn.css +18 -201
- package/src/styles/view-transition.css +4 -1
- package/dist/CardAction-Cj2eycQ2.js +0 -157
- package/dist/DialogContent-Dl9WkAoS.js +0 -100
- package/dist/PopoverContent-BYwt2-4x.js +0 -121
- package/dist/TabsList-Dttss653.js +0 -105
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
- package/dist/components/custom/underline/index.d.ts +0 -2
- package/dist/components/custom/underline/types.d.ts +0 -56
- package/dist/components/ui/carousel/CarouselDots.vue.d.ts +0 -4
- package/dist/underline.d.ts +0 -1
- package/dist/underline.js +0 -85
- package/dist/useConfiguratorState-DAoeHVue.js +0 -287
- /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-C_s6fG7r.js} +0 -0
- /package/dist/{ContextMenuContent-CT3AS1WX.js → ContextMenuContent-ON3x7cuk.js} +0 -0
- /package/dist/{HoverCardContent-Csywg3YF.js → HoverCardContent-DkMaQzH5.js} +0 -0
- /package/dist/{IconTooltip-DPzE09X9.js → IconTooltip-DSjasZIt.js} +0 -0
- /package/dist/{Input-DWQQIOC4.js → Input-DVG_J0ne.js} +0 -0
- /package/dist/{Label-r3WzWrsj.js → Label-Ck9SWEKM.js} +0 -0
- /package/dist/{ModalOverlay-DVLI2VRr.js → ModalOverlay-CkPRRgl_.js} +0 -0
- /package/dist/{PaperBackdrop-DIXTtVq6.js → PaperBackdrop-nBKe0vkB.js} +0 -0
- /package/dist/{SelectGroup-aumMgWLs.js → SelectGroup-Dcczq44n.js} +0 -0
- /package/dist/{SelectSeparator-BQ_1Fcbp.js → SelectSeparator-DK2y1Bun.js} +0 -0
- /package/dist/{Separator-0JE6LtNu.js → Separator-BArl4OaB.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-CBt_VvXa.js} +0 -0
- /package/dist/{color-CUYeFbgd.js → color-DweYl7pE.js} +0 -0
- /package/dist/{compile-B7NGOBcP.js → compile-EXXzEr1q.js} +0 -0
- /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
- /package/dist/{createContext-BM46COQ-.js → createContext-B2RaZ-b8.js} +0 -0
- /package/dist/{prng-D27-B3tK.js → prng-Cg22zv8g.js} +0 -0
- /package/dist/{springPresets--YdWTHtm.js → springPresets-WXaLbu8u.js} +0 -0
- /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
- /package/dist/{useInterval-iHludrxk.js → useInterval-CNdua40W.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
- /package/dist/{useLiquidFlex-BL0lLLN2.js → useLiquidFlex-C12hXwOZ.js} +0 -0
- /package/dist/{useResizeObserver-BhgdhOIj.js → useResizeObserver-V6nq5gJb.js} +0 -0
- /package/dist/{useResolveTokenColor-Dvn2RZJW.js → useResolveTokenColor-NUG2zYAW.js} +0 -0
- /package/dist/{useScrollProgress-Dlvx-L3v.js → useScrollProgress-D7bYU2RK.js} +0 -0
- /package/dist/{useSortable-muI29agz.js → useSortable-BVqlJRBR.js} +0 -0
- /package/dist/{useTextHighlight-DmRYkOBx.js → useTextHighlight-NmBM5V_4.js} +0 -0
- /package/dist/{useTimer-Dzarvzuk.js → useTimer-B_PAasDL.js} +0 -0
- /package/dist/{useUserInvalidAria-B2h6jAM_.js → useUserInvalidAria-CDfJuakL.js} +0 -0
- /package/dist/{useViewportReady-B40FK4Pa.js → useViewportReady-CvBcCYDf.js} +0 -0
|
@@ -1,20 +1,39 @@
|
|
|
1
1
|
/* ════════════════════════════════════════════════════════════════════════
|
|
2
|
-
The
|
|
3
|
-
|
|
4
|
-
(`--spring-snappy`) with the volume-preserving travel-squish.
|
|
2
|
+
The standardized SegmentedTabs grammar (BA.W-TABS). ONE indicator engine,
|
|
3
|
+
TWO materials, ONE orientation axis.
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
· PILL (DEFAULT) — THE GLASS MATERIAL. The track rides `--glass-bg-quiet`
|
|
6
|
+
+ a hairline edge; the active indicator is the selected-reads-as-
|
|
7
|
+
glass plate (`--glass-bg-floating`, the W-REGISTER-IOS tier — a
|
|
8
|
+
glass tint FORWARD of the track, NEVER a saturated hue, never an
|
|
9
|
+
opaque `bg-card`). It GLIDES + SQUISHES. Absorbs the retired
|
|
10
|
+
`segmented` value (one register — the user kept it by name).
|
|
11
|
+
· UNDERLINE — THE PAPER MATERIAL. NO plate, NO blur, NO track surface — the
|
|
12
|
+
2px `--foreground` ink hairline riding the shared `.paper-ink-mark`
|
|
13
|
+
register (W-SURFACE-AXIS mints it; CONSUMED here, never re-minted).
|
|
14
|
+
The engine drives the hairline's inline position/width only. It
|
|
15
|
+
SLIDES (no squish — a hairline does not deform).
|
|
16
|
+
|
|
17
|
+
ORIENTATION is axis-derived (horizontal default · vertical). The vertical
|
|
18
|
+
indicator tracks the BLOCK axis (the R10-2 horizontal-only-utilities slab class
|
|
19
|
+
is structurally impossible — the engine keys off a computed `dim`). Vertical
|
|
20
|
+
underline = the leading-edge ink rail (the math-paper `border-l` read).
|
|
21
|
+
|
|
22
|
+
Carved out of the SFC `<style scoped>` into a styles/ partial (the drawer.css
|
|
23
|
+
precedent), `@import`-ed into styles/index.css in cascade order. Every selector
|
|
24
|
+
is class/attribute-based (no Vue `data-v-*` scope hash), so the rules paint
|
|
25
|
+
un-scoped — the `.segmented-tabs`-family classes the template emits carry them.
|
|
10
26
|
|
|
11
27
|
`--bouncy-track-trim` is the token the track padding, the indicator
|
|
12
28
|
`inset-block`, AND the `anchor()` offset all read so they cannot drift (the W20
|
|
13
29
|
magic-number lock). `--stretch` is the JS-written travel-squish scalar (1 at
|
|
14
30
|
rest); the indicator pairs it reciprocally (stretch X, compress Y →
|
|
15
|
-
volume-preserving).
|
|
31
|
+
volume-preserving). The glide + squish read ONE clock — `--tab-indicator-duration`
|
|
32
|
+
(= `--spring-snappy-duration`, the W-GLASS-CAL calibrated snappy settle, ~0.34s)
|
|
33
|
+
— so the channels cannot desync and the generic-300ms sub-pixel tail is gone.
|
|
16
34
|
════════════════════════════════════════════════════════════════════════ */
|
|
17
35
|
|
|
36
|
+
/* ── The PILL track (the glass material — DEFAULT) ── */
|
|
18
37
|
.segmented-tabs {
|
|
19
38
|
--bouncy-track-trim: 0.1875rem;
|
|
20
39
|
--bouncy-track-radius: 0.4375rem;
|
|
@@ -28,10 +47,22 @@
|
|
|
28
47
|
grid-auto-columns: 1fr;
|
|
29
48
|
padding: var(--bouncy-track-trim);
|
|
30
49
|
border-radius: var(--bouncy-track-radius);
|
|
31
|
-
/*
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
/* BA.W-TABS — the pill track rides the glass quiet tier (the warm glass
|
|
51
|
+
material, the no-gray register) + a hairline edge. NOT a `--surface-tint`
|
|
52
|
+
gray plate (the R10-5 no-gray cut). */
|
|
53
|
+
background: var(--glass-bg-quiet);
|
|
54
|
+
backdrop-filter: var(--glass-blur-quiet);
|
|
55
|
+
-webkit-backdrop-filter: var(--glass-blur-quiet);
|
|
56
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 24%, transparent);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ── The vertical orientation axis (the block stack) ── */
|
|
60
|
+
.segmented-tabs--vertical {
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
grid-auto-flow: unset;
|
|
64
|
+
grid-auto-columns: unset;
|
|
65
|
+
align-items: stretch;
|
|
35
66
|
}
|
|
36
67
|
|
|
37
68
|
@media (min-width: 640px) {
|
|
@@ -42,13 +73,16 @@
|
|
|
42
73
|
}
|
|
43
74
|
}
|
|
44
75
|
|
|
45
|
-
/* ── The shared indicator body ── */
|
|
76
|
+
/* ── The shared indicator body (the PILL plate) ── */
|
|
46
77
|
.segmented-indicator {
|
|
47
78
|
position: absolute;
|
|
48
|
-
/*
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
79
|
+
/* BA.W-TABS — the active pill indicator rides the glass FLOATING tier (the
|
|
80
|
+
W-REGISTER-IOS "selected reads as glass" register), reading FORWARD of the
|
|
81
|
+
quiet-tier track. A glass tint, NEVER a saturated `--foreground` fill or an
|
|
82
|
+
opaque `bg-card`. */
|
|
83
|
+
background: var(--glass-bg-floating);
|
|
84
|
+
backdrop-filter: var(--glass-blur-floating);
|
|
85
|
+
-webkit-backdrop-filter: var(--glass-blur-floating);
|
|
52
86
|
z-index: 0;
|
|
53
87
|
inset-block: var(--bouncy-track-trim);
|
|
54
88
|
border-radius: var(--bouncy-slider-radius);
|
|
@@ -62,46 +96,69 @@
|
|
|
62
96
|
scale: var(--stretch) calc(1 / var(--stretch));
|
|
63
97
|
}
|
|
64
98
|
|
|
99
|
+
/* Vertical: the indicator deforms on the BLOCK axis (compress X / stretch Y) and
|
|
100
|
+
pads on the inline axis instead. */
|
|
101
|
+
.segmented-tabs--vertical .segmented-indicator {
|
|
102
|
+
inset-block: auto;
|
|
103
|
+
inset-inline: var(--bouncy-track-trim);
|
|
104
|
+
scale: calc(1 / var(--stretch)) var(--stretch);
|
|
105
|
+
}
|
|
106
|
+
|
|
65
107
|
@media (prefers-reduced-motion: no-preference) {
|
|
66
108
|
.segmented-indicator {
|
|
67
|
-
/*
|
|
68
|
-
|
|
69
|
-
|
|
109
|
+
/* ONE composited transform pair (translate+scale) on ONE calibrated
|
|
110
|
+
clock — the glide + the squish share `--tab-indicator-duration` so they
|
|
111
|
+
cannot desync (the R10-2 multi-property-desync class collapsed). */
|
|
112
|
+
transition: scale var(--tab-indicator-duration) var(--spring-snappy);
|
|
70
113
|
}
|
|
71
114
|
}
|
|
72
115
|
|
|
73
116
|
/* Fallback (JS-measured) path — the indicator is moved by inline
|
|
74
|
-
`transform`/`width` writes; animate those alongside the squish scale
|
|
117
|
+
`transform`/`width` writes; animate those alongside the squish scale on the ONE
|
|
118
|
+
calibrated clock. */
|
|
75
119
|
.segmented-indicator--js {
|
|
76
120
|
transition:
|
|
77
|
-
transform var(--duration
|
|
78
|
-
width var(--duration
|
|
79
|
-
|
|
121
|
+
transform var(--tab-indicator-duration) var(--spring-snappy),
|
|
122
|
+
width var(--tab-indicator-duration) var(--spring-snappy),
|
|
123
|
+
height var(--tab-indicator-duration) var(--spring-snappy),
|
|
124
|
+
scale var(--tab-indicator-duration) var(--spring-snappy),
|
|
80
125
|
opacity var(--duration-fast) ease;
|
|
81
126
|
}
|
|
82
127
|
|
|
83
128
|
/* Anchor path — the indicator tethers to the active button's `anchor-name`.
|
|
84
129
|
`inset` reads the anchor's edges; the browser interpolates `inset` between
|
|
85
130
|
buttons on selection (the glide), and the JS `--stretch` write deforms it
|
|
86
|
-
(the squish) on the SAME
|
|
131
|
+
(the squish) on the SAME calibrated clock. */
|
|
87
132
|
@supports (position-anchor: --x) {
|
|
88
133
|
.segmented-indicator--anchor {
|
|
89
134
|
position-anchor: --gl-tab-active;
|
|
135
|
+
/* The four edge longhands tether to the active button's anchor edges (the
|
|
136
|
+
inline-trimmed band over the full anchor block extent). NO `inset-block:
|
|
137
|
+
auto` shorthand here — it would reset the block longhands above it to auto
|
|
138
|
+
and collapse the indicator to height 0 (the live-found clobber). */
|
|
90
139
|
inset-block-start: calc(anchor(top) + 0.1875rem);
|
|
91
140
|
inset-block-end: calc(anchor(bottom) + 0.1875rem);
|
|
92
141
|
inset-inline-start: anchor(left);
|
|
93
142
|
inset-inline-end: anchor(right);
|
|
94
|
-
inset-block: auto;
|
|
95
143
|
opacity: 1;
|
|
96
144
|
}
|
|
145
|
+
/* Vertical: the anchor band runs the FULL block extent of the active button
|
|
146
|
+
(the indicator tracks the column, not the row) with the inline axis trimmed. */
|
|
147
|
+
.segmented-tabs--vertical .segmented-indicator--anchor {
|
|
148
|
+
inset-block-start: anchor(top);
|
|
149
|
+
inset-block-end: anchor(bottom);
|
|
150
|
+
inset-inline-start: calc(anchor(left) + 0.1875rem);
|
|
151
|
+
inset-inline-end: calc(anchor(right) + 0.1875rem);
|
|
152
|
+
}
|
|
97
153
|
@media (prefers-reduced-motion: no-preference) {
|
|
98
154
|
.segmented-indicator--anchor {
|
|
99
155
|
transition:
|
|
100
|
-
inset var(--duration
|
|
101
|
-
scale var(--duration
|
|
156
|
+
inset var(--tab-indicator-duration) var(--spring-snappy),
|
|
157
|
+
scale var(--tab-indicator-duration) var(--spring-snappy);
|
|
102
158
|
}
|
|
103
159
|
}
|
|
104
|
-
.segmented-tabs:not(.segmented-tabs--underline) .segmented-tab[aria-pressed="true"]
|
|
160
|
+
.segmented-tabs:not(.segmented-tabs--underline) .segmented-tab[aria-pressed="true"],
|
|
161
|
+
.segmented-tabs:not(.segmented-tabs--underline) .segmented-tab[aria-selected="true"] {
|
|
105
162
|
anchor-name: --gl-tab-active;
|
|
106
163
|
}
|
|
107
164
|
}
|
|
@@ -111,11 +168,20 @@
|
|
|
111
168
|
inset-block: 0.25rem;
|
|
112
169
|
border-radius: 0.375rem;
|
|
113
170
|
}
|
|
171
|
+
.segmented-tabs--vertical .segmented-indicator {
|
|
172
|
+
inset-block: auto;
|
|
173
|
+
inset-inline: 0.25rem;
|
|
174
|
+
}
|
|
114
175
|
@supports (position-anchor: --x) {
|
|
115
176
|
.segmented-indicator--anchor {
|
|
116
177
|
inset-block-start: calc(anchor(top) + 0.25rem);
|
|
117
178
|
inset-block-end: calc(anchor(bottom) + 0.25rem);
|
|
118
|
-
|
|
179
|
+
}
|
|
180
|
+
.segmented-tabs--vertical .segmented-indicator--anchor {
|
|
181
|
+
inset-block-start: anchor(top);
|
|
182
|
+
inset-block-end: anchor(bottom);
|
|
183
|
+
inset-inline-start: calc(anchor(left) + 0.25rem);
|
|
184
|
+
inset-inline-end: calc(anchor(right) + 0.25rem);
|
|
119
185
|
}
|
|
120
186
|
}
|
|
121
187
|
}
|
|
@@ -161,33 +227,8 @@
|
|
|
161
227
|
filter: blur(0.5px);
|
|
162
228
|
}
|
|
163
229
|
|
|
164
|
-
/* ──
|
|
165
|
-
.
|
|
166
|
-
border-radius: var(--radius-pill);
|
|
167
|
-
background: var(--surface-tint-6);
|
|
168
|
-
padding: 0.125rem;
|
|
169
|
-
gap: 0.125rem;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.segmented-tabs--pill .segmented-indicator {
|
|
173
|
-
border-radius: var(--radius-pill);
|
|
174
|
-
background: var(--foreground);
|
|
175
|
-
box-shadow: none;
|
|
176
|
-
inset-block: 0.125rem;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.segmented-tabs--pill .segmented-tab {
|
|
180
|
-
border-radius: var(--radius-pill);
|
|
181
|
-
padding: 0.125rem 0.625rem;
|
|
182
|
-
font-size: 0.75rem;
|
|
183
|
-
font-weight: 500;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.segmented-tabs--pill .segmented-tab[aria-pressed="true"] {
|
|
187
|
-
color: var(--background);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/* ── Underline variant ── (the panel-nav `role=tablist` strip) */
|
|
230
|
+
/* ── Underline variant ── (THE PAPER MATERIAL — the panel-nav `role=tablist` strip)
|
|
231
|
+
NO plate, NO blur, NO track surface — only the ink hairline paints. */
|
|
191
232
|
.segmented-tabs--underline {
|
|
192
233
|
display: flex;
|
|
193
234
|
grid-auto-flow: unset;
|
|
@@ -195,7 +236,27 @@
|
|
|
195
236
|
gap: 0.25rem;
|
|
196
237
|
padding: 0;
|
|
197
238
|
background: none;
|
|
239
|
+
backdrop-filter: none;
|
|
240
|
+
-webkit-backdrop-filter: none;
|
|
241
|
+
box-shadow: none;
|
|
198
242
|
border-radius: 0;
|
|
243
|
+
/* BA.W-SURFACE-AXIS scope 8 — the underline indicator COMPOSES the shared
|
|
244
|
+
`.paper-ink-mark` PAPER ink-hairline register (the 2px --foreground ink mark
|
|
245
|
+
on a paper surface — no plate, no blur, no glass). The register tokens are
|
|
246
|
+
declared here on the host; the `::before` pseudo reads them. ≥2 consumers
|
|
247
|
+
with the math-paper section rail (a HORIZONTAL underline here, a VERTICAL
|
|
248
|
+
left-edge rail there — the SAME mark register, parameterized weight/color).
|
|
249
|
+
The register itself lives in glass/surface-axis.css (CONSUMED, never
|
|
250
|
+
re-minted — a shape gap triumvirates at the minting wave). */
|
|
251
|
+
--paper-ink-mark-weight: 2px;
|
|
252
|
+
--paper-ink-mark-color: var(--foreground);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* Vertical underline = the leading-edge ink rail (the math-paper `border-l` read).
|
|
256
|
+
The hairline runs the block extent of the active tab on its inline-start edge. */
|
|
257
|
+
.segmented-tabs--underline.segmented-tabs--vertical {
|
|
258
|
+
flex-direction: column;
|
|
259
|
+
align-items: stretch;
|
|
199
260
|
}
|
|
200
261
|
|
|
201
262
|
/* The active tab is the anchor the underline rule tethers to. */
|
|
@@ -204,28 +265,44 @@
|
|
|
204
265
|
}
|
|
205
266
|
|
|
206
267
|
/* The underline indicator pseudo, position-anchored to the active tab; the
|
|
207
|
-
browser interpolates `inset` between anchors on selection
|
|
208
|
-
reads the same `--stretch` squish the slider does (one
|
|
268
|
+
browser interpolates `inset` between anchors on selection on the ONE calibrated
|
|
269
|
+
clock, and the `scale` reads the same `--stretch` squish the slider does (one
|
|
270
|
+
indicator grammar). */
|
|
209
271
|
.segmented-tabs--underline::before {
|
|
210
272
|
content: "";
|
|
211
273
|
position: absolute;
|
|
212
274
|
position-anchor: --gl-tab-active;
|
|
213
|
-
|
|
275
|
+
/* BA.W-SURFACE-AXIS scope 8 — the 2px ink mark reads the shared
|
|
276
|
+
`.paper-ink-mark` register (weight + --foreground ink) the host declares. */
|
|
277
|
+
inset-block-start: calc(anchor(bottom) - var(--paper-ink-mark-weight, 2px));
|
|
214
278
|
inset-inline-start: anchor(left);
|
|
215
279
|
inset-inline-end: anchor(right);
|
|
216
|
-
block-size: 2px;
|
|
217
|
-
background: var(--foreground);
|
|
280
|
+
block-size: var(--paper-ink-mark-weight, 2px);
|
|
281
|
+
background: var(--paper-ink-mark-color, var(--foreground));
|
|
218
282
|
border-radius: var(--radius-sm);
|
|
219
283
|
transform-origin: center;
|
|
220
284
|
scale: var(--stretch) 1;
|
|
221
285
|
}
|
|
222
286
|
|
|
287
|
+
/* Vertical underline pseudo — the ink mark is a VERTICAL leading-edge rail (the
|
|
288
|
+
`border-l` read): a 2px-wide column on the active tab's inline-start edge,
|
|
289
|
+
running its full block extent. */
|
|
290
|
+
.segmented-tabs--underline.segmented-tabs--vertical::before {
|
|
291
|
+
inset-block-start: anchor(top);
|
|
292
|
+
inset-block-end: anchor(bottom);
|
|
293
|
+
inset-inline-start: calc(anchor(left) - var(--paper-ink-mark-weight, 2px));
|
|
294
|
+
inset-inline-end: auto;
|
|
295
|
+
block-size: auto;
|
|
296
|
+
inline-size: var(--paper-ink-mark-weight, 2px);
|
|
297
|
+
scale: 1 var(--stretch);
|
|
298
|
+
}
|
|
299
|
+
|
|
223
300
|
@media (prefers-reduced-motion: no-preference) {
|
|
224
301
|
.segmented-tabs--underline::before {
|
|
225
|
-
/* control register — the glide + the squish on
|
|
302
|
+
/* control register — the glide + the squish on the ONE calibrated clock. */
|
|
226
303
|
transition:
|
|
227
|
-
inset var(--duration
|
|
228
|
-
scale var(--duration
|
|
304
|
+
inset var(--tab-indicator-duration) var(--spring-snappy),
|
|
305
|
+
scale var(--tab-indicator-duration) var(--spring-snappy);
|
|
229
306
|
}
|
|
230
307
|
}
|
|
231
308
|
|
|
@@ -235,7 +312,11 @@
|
|
|
235
312
|
display: none;
|
|
236
313
|
}
|
|
237
314
|
.segmented-tabs--underline .segmented-tab[aria-selected="true"] {
|
|
238
|
-
border-bottom: 2px solid var(--foreground);
|
|
315
|
+
border-bottom: var(--paper-ink-mark-weight, 2px) solid var(--foreground);
|
|
316
|
+
}
|
|
317
|
+
.segmented-tabs--underline.segmented-tabs--vertical .segmented-tab[aria-selected="true"] {
|
|
318
|
+
border-bottom: none;
|
|
319
|
+
border-inline-start: var(--paper-ink-mark-weight, 2px) solid var(--foreground);
|
|
239
320
|
}
|
|
240
321
|
}
|
|
241
322
|
|
|
@@ -243,29 +324,17 @@
|
|
|
243
324
|
padding: 0.375rem 0.75rem;
|
|
244
325
|
font-size: inherit;
|
|
245
326
|
border-radius: 0.25rem;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
.
|
|
250
|
-
|
|
327
|
+
/* The tab-text colour cross-fade rides the fast generic clock (the §6 doctrine
|
|
328
|
+
— a colour shift is a bezier ease, never a spring), matching the pill tab
|
|
329
|
+
buttons. The INDICATOR glide is the only channel on the calibrated spring
|
|
330
|
+
clock. */
|
|
331
|
+
transition: color var(--duration-fast) ease;
|
|
251
332
|
}
|
|
252
333
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
* tracks so tab text never clips; the container scrolls horizontally.
|
|
256
|
-
*/
|
|
257
|
-
.segmented-tabs--scroll,
|
|
258
|
-
.segmented-tabs--auto {
|
|
259
|
-
display: flex;
|
|
260
|
-
grid-auto-flow: unset;
|
|
261
|
-
grid-auto-columns: unset;
|
|
262
|
-
overflow-x: auto;
|
|
263
|
-
overflow-y: hidden;
|
|
264
|
-
width: 100%;
|
|
334
|
+
.segmented-tabs--underline.segmented-tabs--vertical .segmented-tab {
|
|
335
|
+
text-align: start;
|
|
265
336
|
}
|
|
266
337
|
|
|
267
|
-
.segmented-tabs--
|
|
268
|
-
|
|
269
|
-
padding-inline-end: calc(0.125rem + var(--mask-fade-width));
|
|
270
|
-
scroll-padding-inline: var(--mask-fade-width);
|
|
338
|
+
.segmented-tabs--underline .segmented-tab:hover {
|
|
339
|
+
color: color-mix(in oklab, var(--foreground) 70%, transparent);
|
|
271
340
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* select.css — the Select content collision-bound, pre-compiled (BA.W-EMISSION).
|
|
3
|
+
*
|
|
4
|
+
* THE DEFECT (BA-VJS-A2-WO1 / valuejs-fold A-2): SelectContent.vue authored its
|
|
5
|
+
* collision-bound as a Tailwind ARBITRARY-BRACKET utility
|
|
6
|
+
* [max-height:var(--reka-popper-available-height,60dvh)]
|
|
7
|
+
* which is correct in SOURCE but compiles ONLY into a `dist/*.js` render-function
|
|
8
|
+
* chunk no consumer content-scan reaches (and the P9 emitComponentUtilities
|
|
9
|
+
* safelist rejects fully-arbitrary bracket tokens by construction). So in every
|
|
10
|
+
* consumer the bound NEVER painted — `getComputedStyle(content).maxHeight === "none"`
|
|
11
|
+
* — and a 16-item dropdown rendered 745px tall, overflowing a 900px viewport by
|
|
12
|
+
* 125px (the value.js U-DROPDOWN capture, the binding RED evidence).
|
|
13
|
+
*
|
|
14
|
+
* THE FIX: move the bound to a PRECOMPILED rule that ships in `dist/glass-ui.css`
|
|
15
|
+
* regardless of consumer JIT reach — it is a plain attribute-selector rule, not a
|
|
16
|
+
* Tailwind utility, so it always emits. The cap is the kf donor's default
|
|
17
|
+
* `min(24rem, 60dvh)` (kf design-idioms.css `--easing-dropdown-max-h`; the U8
|
|
18
|
+
* bounded-scroll reference), TIGHTENED by reka's measured
|
|
19
|
+
* `--reka-popper-available-height` on a short viewport via the inner `min()`.
|
|
20
|
+
* `overflow-y: auto` (already on the content via the CVA base) gives the inner
|
|
21
|
+
* scroll. The behaviour is identical to the authored class — it now SHIPS.
|
|
22
|
+
*
|
|
23
|
+
* --select-content-max-h is the ONE retint knob (a consumer widens/narrows the cap
|
|
24
|
+
* by overriding it on any ancestor). The default folds reka's available-height in:
|
|
25
|
+
* when reka reports a height (popper measured), the bound is the MIN of that and
|
|
26
|
+
* the 24rem/60dvh ceiling, so the panel never exceeds the viewport AND never grows
|
|
27
|
+
* past the comfortable ceiling.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
:root {
|
|
31
|
+
/* The comfortable ceiling — the kf donor default. */
|
|
32
|
+
--select-content-max-h: min(24rem, 60dvh);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-slot="select-content"] {
|
|
36
|
+
/* The collision-bound: the comfortable ceiling, tightened by reka's measured
|
|
37
|
+
available height on a short viewport. `--reka-popper-available-height` is
|
|
38
|
+
written by reka-ui's popper-positioner; on a tall viewport it exceeds the
|
|
39
|
+
ceiling (so the ceiling wins) and on a short one it clamps the panel to the
|
|
40
|
+
space below the trigger (so the panel bottoms inside the viewport). When reka
|
|
41
|
+
has not yet measured, the fallback is the ceiling alone. */
|
|
42
|
+
max-height: min(
|
|
43
|
+
var(--select-content-max-h),
|
|
44
|
+
var(--reka-popper-available-height, var(--select-content-max-h))
|
|
45
|
+
);
|
|
46
|
+
/* The inner-scroll affordance ships with the bound (the CVA base also sets
|
|
47
|
+
overflow-y-auto; restated here so the bound + scroll travel together as one
|
|
48
|
+
precompiled contract). */
|
|
49
|
+
overflow-y: auto;
|
|
50
|
+
}
|
|
@@ -211,6 +211,14 @@
|
|
|
211
211
|
--color-gold-dark: var(--gold-dark);
|
|
212
212
|
--color-gold-deep: var(--gold-deep);
|
|
213
213
|
|
|
214
|
+
/* BA.W-ATLAS-RECONCILE C-3 — the silver structure metal (gold's mirror; the
|
|
215
|
+
InstrumentChassis `variant="structure"` register). The @theme namespace var
|
|
216
|
+
a `text-silver`/`bg-silver` utility resolves through. */
|
|
217
|
+
--color-silver: var(--silver);
|
|
218
|
+
--color-silver-light: var(--silver-light);
|
|
219
|
+
--color-silver-dark: var(--silver-dark);
|
|
220
|
+
--color-silver-deep: var(--silver-deep);
|
|
221
|
+
|
|
214
222
|
--color-rainbow-red: var(--rainbow-red);
|
|
215
223
|
--color-rainbow-orange: var(--rainbow-orange);
|
|
216
224
|
--color-rainbow-yellow: var(--rainbow-yellow);
|
|
@@ -333,5 +341,7 @@
|
|
|
333
341
|
--transition-duration-panel: var(--duration-panel);
|
|
334
342
|
--transition-duration-xl: var(--duration-xl);
|
|
335
343
|
--transition-duration-xxl: var(--duration-xxl);
|
|
336
|
-
|
|
344
|
+
/* BA.W-GLASS-CAL — `--transition-duration-sparkle` bridge DELETED with the
|
|
345
|
+
`--duration-sparkle` token (the disco retirement); no `duration-sparkle`
|
|
346
|
+
utility consumer. */
|
|
337
347
|
}
|
|
@@ -23,28 +23,55 @@
|
|
|
23
23
|
5 → 6 : 10 L (muted text → strong-muted text, secondary register)
|
|
24
24
|
|
|
25
25
|
Semantic aliases re-point into the scale — no back-compat shims.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
|
|
27
|
+
BA.W-NO-GRAY — THE WARM-CHROMA FLOOR (R10-5 "No gray."). The ladder was
|
|
28
|
+
SPECIFIED warm (hue 48) but RESOLVED achromatic — at 6-10% sat across
|
|
29
|
+
L40-95 the painted OKLab chroma landed C 0.0055-0.0155 (below the ~0.020
|
|
30
|
+
perceptual gray floor) AND at hsl-48 the OKLab hue mapped to ~95° (a
|
|
31
|
+
yellow-green), NOT the warm-amber the --foreground ink carries (hsl-24 →
|
|
32
|
+
OKLab H≈56°). The fix is CHROMA-ONLY at constant L: warm the hue toward
|
|
33
|
+
the foreground register (hsl 28-34 → OKLab H 62-72°, warm MATERIAL not a
|
|
34
|
+
cast) AND lift the saturation off the gray floor. The L is unchanged (the
|
|
35
|
+
contrast contract — AA re-ratified, ±0.01 of HEAD). The mid/low-L rungs
|
|
36
|
+
clear the strong floor C≥0.020; the L90 chip is gamut-bound (it cannot
|
|
37
|
+
carry 0.020 at L90 without a visible cast — the triumvirate "tinted not
|
|
38
|
+
warm" trigger), so it lifts to a materially-warm C≈0.013 (~2.4× HEAD).
|
|
39
|
+
Machine-locked by proof:no-gray + tests-visual/no-gray.spec.ts. */
|
|
40
|
+
--neutral-0: hsl(40 30% 98%); /* L 98 — page surface (warm-cream, KEEP-NEUTRAL surface) */
|
|
41
|
+
--neutral-1: hsl(38 26% 95%); /* L 95 — soft field bg */
|
|
42
|
+
--neutral-2: hsl(34 28% 90%); /* L 90 — chip / tab-inactive bg (warm, gamut-bound C≈0.013) */
|
|
43
|
+
--neutral-3: hsl(33 30% 82%); /* L 82 — hover / highlight bg (warm, C≈0.025) */
|
|
44
|
+
--neutral-4: hsl(32 26% 70%); /* L 70 — subtle border (warm, C≈0.036) */
|
|
45
|
+
--neutral-5: hsl(30 22% 40%); /* L 40 — muted text (warm, C≈0.043; WCAG AA: 5.21:1 vs page / 4.90:1 vs muted) */
|
|
33
46
|
/* W7-α' (AK-FD1) — strong-muted text rung. One principled ladder step
|
|
34
47
|
(10 L darker, the 5→6 cadence above) past muted text toward
|
|
35
48
|
--foreground (L10). Sits at the 1/3 point of the L40→L10 muted→primary
|
|
36
49
|
gap: legible secondary text that reads less-faint than muted but not as
|
|
37
50
|
assertive as primary. By-COLOUR per the canon (a neutral step, not an
|
|
38
|
-
alpha mute)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
alpha mute). BA.W-NO-GRAY — re-saturated onto the warm identity in
|
|
52
|
+
lockstep with the ladder (hsl 28 24% — OKLab H 62°, C≈0.038, the warm
|
|
53
|
+
register; L held at 30). WCAG AA: 7.88:1 vs L98 page / 7.43:1 vs L95
|
|
54
|
+
muted (cf. neutral-5's 5.21:1) — comfortably above the 4.5:1 body floor. */
|
|
55
|
+
--neutral-6: hsl(28 24% 30%); /* L 30 — strong-muted text (secondary register, warm) */
|
|
42
56
|
|
|
43
57
|
--background: var(--neutral-0);
|
|
44
58
|
--foreground: hsl(24 10% 10%);
|
|
45
|
-
--card
|
|
59
|
+
/* BA.W-NO-GRAY L1 — the warm-bias glass PLATE. --card was `var(--neutral-0)`
|
|
60
|
+
(the near-achromatic L98 page, OKLab C 0.0017) — so every glass plate
|
|
61
|
+
(Card/Button/Toast/Popover/Dialog/Sheet, all --card-derived) composited a
|
|
62
|
+
flat gray slab over a flat backdrop (the G1/G8 defect, the user's "no gray
|
|
63
|
+
... for cards, buttons"). Glass is TRANSMISSIVE — over a flat page there
|
|
64
|
+
is nothing behind to modulate, so the plate is its own near-neutral cream.
|
|
65
|
+
--card DECOUPLES from the page to a warm-cream value carrying a real OKLab
|
|
66
|
+
chroma (hsl 36 48% 97% → OKLab C 0.0062 at warm H 75°, L kept ~98 so the
|
|
67
|
+
page-card SURFACE read is byte-stable), so the plate reads WARM over ANY
|
|
68
|
+
backdrop — the plate floor (composited C ≥ 0.0035, ~2× HEAD) the gamut
|
|
69
|
+
allows a near-white translucent surface. The DARK --card is W-DARK-MATERIAL's
|
|
70
|
+
lifted hsl(24 8% 16%) (NOT re-warmed here — the dark register is its work).
|
|
71
|
+
Bounded: the cream family, never a tinted cast (the triumvirate bar). */
|
|
72
|
+
--card: hsl(36 48% 97%);
|
|
46
73
|
--card-foreground: var(--foreground);
|
|
47
|
-
--popover: var(--
|
|
74
|
+
--popover: var(--card);
|
|
48
75
|
--popover-foreground: var(--foreground);
|
|
49
76
|
|
|
50
77
|
/* R0G-5 (AO.W4) — warm-neutral public-data panel surface. One warmth step
|