VisorVisor

Release Notes

Changelog for the @loworbitstudio/visor-core package.

Marketing FX — Runtime-Keyed Accent Bridge

Visor's CSS var-chain architecture enables a runtime-keyed accent bridge: a one-line unlayered CSS rule that makes every interactive Visor atom track a runtime-animated variable live, including per-frame OKLab crossfades.

This pattern is now a first-class, documented, and CI-guarded Visor feature. See Runtime-Keyed Accent Bridge for the bridge block, per-scope override recipe, safe token families, and the CI guard that protects the var-chain contract.

The Blacklight marketing site's OKLab hero-carousel crossfade is the canonical reference implementation (BL-325). Link will be added when that wave lands.


@loworbitstudio/visor-core

0.21.0

Minor Changes

  • 503a779: npx visor add photo-backdrop ships PhotoBackdrop, the photo behind a surface, lifted from the Honcho kit's backdrop without its motion dependency. Changing current fades the new background in over the last once its photo has loaded, settling from a 1.06 zoom, as CSS animations (--photo-backdrop-* variables, defaulting to the theme's --motion-duration-page and in-out curve); reduced motion drops the zoom and makes the fade near-instant. Upcoming photos preload one at a time at low priority after the photo on screen, focal keeps the subject in frame, --photo-backdrop-fallback shows until the first photo loads, and a srcSet builder prop replaces Honcho's file naming. With no current it renders nothing.

    visor-core's glass switch now also matches any element holding a PhotoBackdrop as a direct child (:has(> [data-slot="photo-backdrop"])), so glass is on exactly where a photo is drawn.

0.20.0

Minor Changes

  • fab71e2: Stepper gains a rail variant: a side list of form sections, used vertically. Each StepperTrigger is one row-wide button holding a dot mark and its label (the trigger's children), with no circles, glyphs or separators; the current row's mark stretches to a pill and its trigger carries aria-current="step". The four states are one ink at 100/64/40/24%: the theme's --text-primary, or under data-glass="on" the glass ink in light (dark ink on the light glass panel) and, in dark, the glass layer's scrim ink (white) with FormDeck's soft label shadow. The default and prominent variants are unchanged. The theme engine adds a stepper component-token family (rail-gap, rail-padding, rail-mark-gap, rail-font-size, rail-font-weight, rail-letter-spacing, rail-mark-size, rail-mark-active-width) and three glass values for the dark photo look: scrim (dark glass under white labels on a photo, default rgb(0 0 0 / 0.55), so white clears 4.5:1 over any photo, even pure white), scrim-ink (default white) and ink-shadow. visor-core's [data-glass="on"] switch already copies every glass key generically, so with no switch change its built tokens.css now also sets --glass-on-scrim, --glass-on-scrim-ink and --glass-on-ink-shadow (and [data-glass="off"] clears them): that new output is visor-core's bump.

0.19.1

Patch Changes

  • 698b375: VI-841: forceSquircleFallback(css), a test-only hook that draws the Safari squircle fallback in any engine. It turns every @supports not (corner-shape: squircle) gate into @media all and turns native corner-shape off, so fallback tests keep working in a Playwright WebKit that draws corner-shape natively (1.64+). Production CSS is unchanged. The concentric scan (visor-core/test-utils) now reads a box drawing the fallback as a squircle even where the engine also reports a native corner.

0.19.0

Minor Changes

  • 2556e35: Visual change to defaults. Nested corners are now concentric by default. In SegmentedControl, the ToggleGroup outline track, the default Tabs list and ThemeSwitcher, the selected item's radius (the item, the sliding indicator, the hover fill and the focus ring) is now worked out in CSS as the track radius minus the track's padding and border. A theme can no longer let the two drift apart. On the default theme, SegmentedControl and outline ToggleGroup items go from 6px to 3px at sm and md, from 8px to 7px at lg and from 4px to 3px at xs. Tabs triggers are now pills inside the pill list. ThemeSwitcher is still a pill inside a pill. A theme that binds only --segmented-control-radius (or --tabs-list-radius) gets matching inner corners. --segmented-control-radius: 999px on its own now gives a round switch.

    --segmented-control-item-radius, --segmented-control-indicator-radius, --toggle-group-xs-item-radius and --tabs-trigger-radius still work as explicit overrides. Leave them unset to get the derived radius. The default ToggleGroup variant (no track) and the line Tabs variant are unchanged. @loworbitstudio/visor-core/test-utils exports expectConcentric(outer, inner) and measureConcentric. They measure the gap from the bounding rects and check inner = max(0, outer − gap) to within 0.5px. Re-copy with npx visor add segmented-control toggle-group tabs theme-switcher --overwrite.

  • c45c2fa: Nested corners are concentric across the catalog (VI-838). Tabs triggers and the ThemeSwitcher's end segment now sit the same distance from the track's end as from its top. The SegmentedControl / ToggleGroup sliding indicator is placed from fractional rects (it was up to 1px off one end) and follows its items when they resize, for example when web fonts land. The contract Meter's track is now a pill, with the bar inset 9px all round as a pill inside it (radius derived from the track). BillingSlider's colour layers clip to the rail's rounded ends. Menu items in Select, TimePicker, DropdownMenu, ContextMenu, Menubar and Combobox take the menu radius minus its padding (Select and TimePicker go from 2px to 4px on the default theme), and Menubar triggers fill the bar's height. Re-copy with npx visor add tabs theme-switcher toggle-group segmented-control meter billing-slider select time-picker dropdown-menu context-menu menubar combobox --overwrite.

    @loworbitstudio/visor-core/test-utils now exports scanConcentric, which finds every rounded box drawn inside another on a page (open shadow roots included) and checks inner = outer − gap with an even gap on both axes. Run it with page.evaluate(scanConcentric, { root: "main" }).

Patch Changes

  • db1e285: VI-839: squircle themes draw squircles in Safari. Where corner-shape is missing (Safari on macOS and iOS), a corners: squircle theme's base layer now defines --squircle-radius and --squircle-clip, and Button, Dialog, SegmentedControl, ToggleGroup, Meter, Badge and Chip draw the squircle from them: a circle at 0.54 of the radius under a clip-path: shape() that trims only what it draws outside the squircle, so focus rings and shadows stay whole, and edges redrawn on a squircle ring layer (--squircle-ring). Inputs, cards and tabs stay round in Safari: their halo or shadow hugs the box, which Safari cannot shape to a clip. Chromium and round themes are unchanged. The concentric scan (visor-core/test-utils) reads a fallback box as its squircle.

0.18.0

Minor Changes

  • bd602ae: VI-795: the glass layer. Themes bind glass per tone under components.glass (fill, blur, edge, lift, shadow, on-photo ink, and control fill, hover fill, ring, ink and blur). visor-core adds the [data-glass="on"] / [data-glass="off"] switch, which copies those values (or Visor's defaults) into --glass-on-* variables that components read with their solid look as the fallback. Glass is off unless a container turns it on.

0.17.3

Patch Changes

  • 0e937fb: StatCard takes theme hooks for its edge, corners, elevation and inset (--stat-card-border, --stat-card-radius, --stat-card-shadow, --stat-card-padding), the rule above the footer (--stat-card-footer-border) and its type (--stat-card-label-*, --stat-card-value-*, --stat-card-footer-* font size, weight, line height, tracking and colour), bindable as components.stat-card in a theme. Every hook falls back to the look that shipped, so unbound themes render unchanged. Paper binds a borderless summary card: no edge, no footer rule, 24px corners, no shadow, the desk hero value, and desk label and second-line type.

0.17.2

Patch Changes

  • 849c717: Add ResizableSplit, two panes side by side with a draggable divider. minStart and minEnd hold each pane's minimum width; size (controlled) or defaultSize sets the start pane's width in px, and onSizeChange reports it, so an app can remember it per device. The divider is a focusable role="separator" with aria-valuenow, aria-valuemin and aria-valuemax: arrows step by step (16px), Shift + arrows four times that, Home and End go to the minimums. A drag captures the pointer and turns off pointer events on both panes, so an iframe cannot swallow it. The new resizable-split component-token family (divider-color, divider-hover-color, divider-active-color) draws the line at rest, on hover and while dragging. npx visor add resizable-split.

0.17.1

Patch Changes

  • 983abd5: Banner takes intent="neutral" (ink ground, page-coloured text, no rule) with --banner-neutral-bg and --banner-neutral-text-color, plus a --banner-*-description-color hook per intent. Paper binds the neutral face (18px corners, no rule, no shadow) in light and dark.

0.17.0

Minor Changes

  • 9647c9c: Add LayerChart, a zoomable icicle, and SpanStrip, its day span strip. LayerChart takes a tree (data), a measure accessor (zero leaves the chart; a parent with no value sums its children), a focusId or defaultFocusId and onFocusChange(id, node, reason). Rows are layers: the focus's ancestors as compressed path rows, the focus row, then three layers below it at falling heights, with a gutter naming each layer. A click (or Enter) opens a block to full width and its children open below it, animated over 480ms (none under reduced motion); Esc goes up a layer and ← → move along the main row. Fills take one Paper project hue per top-level node (hue, or "tide" for the studio's investment), lighter by depth, and a kind: solid, covered (pale with a dot grid), not-billable (hatched, the label on a plate), unresolved (coral, the only coral), plus today (paler). Labels step down by width, children under 6px fold into one "+n" block at least 24px wide, and every block is a button named with its value. renderBlock is a slot at the foot of wide blocks (an estimate Meter), renderCard the hover card, and band an optional band under the rows where it is measured, with a note where it is not. SpanStrip draws a day's spans as 5-minute cells in lanes (attended and calls; agent in its own lane) on a time axis, with a legend of totals. New layer-chart component tokens (investment-*, alert-fill, alert-text, duration, easing, ground); Paper binds the investment hue to Tide and the unresolved fill to coral mixed into the page. npx visor add layer-chart.

Patch Changes

  • aea7420: VI-766: add ProportionBar, one measured total split into named parts with widths proportional to value. parts takes { label, value, fill? }; without fill a part reads --proportion-bar-fill-1 to -4 by position, "hatched", "striped" and "alert" are built in, and any other string is the part's CSS background. Parts are told apart by the ground between them, only the outer ends round, and a sliver still draws at 4px. size is default (30px) or thin (8px); legend adds swatch, label and value, with the alert part named in --proportion-bar-alert-text; an empty bar draws one neutral track. The bar is a role="img" whose name sums it ("186.5 h: On a package 92.25 h, …"). The theme engine adds the proportion-bar component-token family, and paper binds it to its money and hours colours (Slate / Deep ocean fills, Tide, Emerald stripes, coral alert). npx visor add proportion-bar.
  • bde0a16: Add BillingSlider, a range slider for how many hours a package bills. It takes min (the floor), max (the end, computed by the caller), step (0.25), marks[] (notches; past the mark with hatchPast the filled range stripes), evidence (value worked as a solid strip along the foot with a tick, agent as a dotted extension, proposed as a pale one with a dashed tick; a tick past max becomes an arrow), gap (stripes between the thumb and the evidence tick) and a Paper hue. The thumb is a tall pill with a value bubble while it has focus. Arrows step, Shift + arrows step four times, Home and End go to the floor and the end, Enter calls onValueCommit, Escape goes back to savedValue, and valueText sets aria-valuetext. status="saving" pulses the thumb; size="lg" is the hero track. The new billing-slider component-token family (track-bg, thumb-bg, thumb-grip, gap-color) is bound on Paper, with the gap in Emerald (money at stake). npx visor add billing-slider.

0.16.2

Patch Changes

  • 372e834: AdminShell (VI-770): the sidebar folds to an icon rail and back. collapsible draws a fold button beside the logo ("Collapse the sidebar" / "Expand the sidebar", with aria-expanded), and ⌘\ (Ctrl+\ off a Mac) toggles it; collapseShortcut picks another key or false. storageKey remembers the choice in localStorage (a private window opens expanded), defaultCollapsed sets the start, and collapsed / onCollapsedChange make it controlled. The shell and sidebar carry data-collapsed, and labels marked data-admin-shell-label are hidden visually in the rail but keep naming their items. The rail is desk-only. The theme engine adds rail-width (68px), rail-duration and rail-easing to the admin-shell family, and Paper folds on its 480ms cubic-bezier(0.2, 0.8, 0.2, 1).

0.16.1

Patch Changes

  • ed87108: VI-753: AdminShell's rules are now theme tokens. The block reads --admin-shell-sidebar-border, --admin-shell-sidebar-header-border, --admin-shell-sidebar-footer-border, --admin-shell-topbar-bg and --admin-shell-topbar-border, each falling back to the value it drew before, so an unbound theme renders unchanged. The theme engine adds them as the admin-shell component-token family (components.admin-shell in .visor.yaml). The paper theme binds the borders to none and the topbar to var(--surface-page), so its shell is borderless without app CSS.

  • 58091ed: VI-754: Paper declares the field family and a 13px desk type floor.

    • Paper now sets --input-bg, --textarea-bg, --select-bg, --number-input-bg, --tag-input-bg, --combobox-bg and --otp-bg to a 6% ink fill, and their -border tokens to transparent, in both modes. A root theme's field tokens can no longer inherit into a Paper scope. Focus and invalid rings still draw.
    • New typography.floor (px): any --font-size-* step below it is raised to it. Paper sets 13, so its --font-size-xs is 13px. Unset, output is unchanged.

0.16.0

Minor Changes

  • 7589183: VI-749: add paper, Low Orbit's shared theme (@loworbitstudio/visor-core/themes/paper, .paper-theme). Light is "Paper" and dark is "Paper at night", set in Satoshi, from Flight Deck's codified tokens. It ships the Paper desk scale (desktop density: --paper-desk-* type roles, 36px controls, 10/14/20/24/28 corners) and the 12 project hues as theme data (--paper-hue-<angle>-fill, -fill-strong, -ink, -solid, per mode). Every text pair a Visor component draws clears WCAG AA in both modes (VI-746). The theme engine gains a test that pins those pairs; its runtime code is unchanged. visor theme register keeps a custom-themes/ YAML on the theme sync path even when a stock group shares its label, so registering a custom Low Orbit theme no longer edits theme-config.ts.

0.15.2

Patch Changes

  • 1a0bbf9: Neutral theme: the primary interactive fill is darkened from #1798ad to #138092 (same teal hue) so the white label passes WCAG 2.2 AA text contrast (3.43:1 to 4.64:1) in light and dark. Dark-mode hover and active fills now step darker (#0f6b7a, #0c5663) instead of lighter, keeping white text at or above 4.5:1. Button, ToggleGroup, SegmentedControl and Badge pick this up through the theme.

  • 206e7cb: Class-scoped themes from the docs adapter now resolve visor-core's semantic aliases against the theme's own tokens (VI-695). --field-menu-bg, --chart-2 to --chart-5, --weight-*, --size-*, the motion and layout aliases and the rest are re-declared on .{slug}-theme, so they no longer inherit visor-core's :root default: on blacklight-app, Select, Combobox, DatePicker, DateRangePicker and TimePicker panels now use the theme's popover surface instead of navy. This matches what the nextjs adapter has done since VI-648. It applies to visor theme apply --adapter docs output, to visor-core's dist/themes/*.css, and to the theme CSS the docs site and visor render read.

    Twelve aliases whose visor-core value changes in dark mode (--sidebar-*, --border-input, --skeleton-from/-to, --chart-1) are left inheriting visor-core's mode-correct value, since the alias table holds only their light referent. They are listed as MODE_DEPENDENT_SEMANTIC_ALIASES (new export) and pinned against the emitted tokens.css. generateSemanticAliasDecls takes an optional { skip } set.

  • 0c5daa8: Scoped themes now re-substitute visor-core's twelve mode-dependent aliases with the right referent in each mode (VI-696). The twelve are --sidebar-*, --border-input, --skeleton-from/-to and --chart-1. Both the nextjs adapter (scopePrefix) and the docs adapter (.{slug}-theme) emit them.

    • Light: the scope block carries the light referent, as before.
    • Dark: the adapter's dark selectors re-declare them with the dark referent (for example --sidebar-bg: var(--color-neutral-900)). That covers the manual toggle and the prefers-color-scheme block. A dark-only theme gets the dark referents on its host instead.

    nextjs adapter. It used to re-declare all twelve flat with the light referent. A scoped theme in OS dark mode therefore rendered the Sidebar in the theme's near-white neutral-50, and --border-input in neutral-200. A dark-only scoped theme got the same light mappings in every mode. The manual toggle on body was not affected, because visor-core's own .dark rule matched the body.

    docs adapter. It used to skip the twelve, so they kept visor-core's own palette. This affects visor theme apply --adapter docs output, visor-core's dist/themes/*.css, and the theme CSS that the docs site and visor render read.

    New exports:

    • VISOR_CORE_DARK_SEMANTIC_ALIASES maps alias to dark referent. It is pinned against tokens.css.
    • generateSemanticAliasDecls takes an optional { table }.
    • collectDeclaredProperties takes an optional { exclude } list of selectors.

    MODE_DEPENDENT_SEMANTIC_ALIASES is now derived from the dark table. Output for :root-scoped themes is unchanged.

  • 3604f1a: Space and Modern Minimal themes: the primary interactive pair now passes WCAG 2.2 AA text contrast (4.5:1) in light and dark, hover and active included. Space darkens its fill from #5b6fff to #5063f5 (same hue, 4.07:1 to 4.73:1), and its dark hover and active step darker (#4556e6, #3646c4) instead of lighter. Modern Minimal light darkens its fill from #018e5f to #018458 (4.17:1 to 4.73:1); Modern Minimal dark keeps its neon fill and mint hover ramp and switches the label from white to black (2.39:1 to 8.77:1). Button, ToggleGroup, SegmentedControl and Badge pick this up through the theme.

0.15.1

Patch Changes

  • 694415a: > Republish (VI-684). The work below merged in #763, but its changeset declared only @loworbitstudio/visor and @loworbitstudio/visor-theme-engine. The theme CSS that @loworbitstudio/visor-core ships is generated by the engine, so it changed too, and nothing bumped it. The publish smoke caught it after VI-649 extended the smoke to every published package. This entry declares it against visor-core. No code changed.

    The stock theme files (dist/themes/blackout.css, modern-minimal.css, neutral.css, space.css) now carry --font-ascent and --font-descent, the body face's vertical metrics as em ratios. Input's padding nudge reads them to centre capitals in real theme fonts.

0.15.0

Minor Changes

  • 938b39a: > Republish (VI-646). The work below merged in #717 but its changeset declared

    "@loworbitstudio/visor" — the CLI — while the code it changed lives in packages/theme-engine and packages/tokens. Version Packages #718 released the CLI; neither @loworbitstudio/visor-theme-engine nor @loworbitstudio/visor-core was never bumped, so this fix sat on main unpublished. This entry re-declares it against the right package(s). No code changed.

    VI-639: --font-weight-semibold is a step on the weight ramp again, not the theme's heading weight, and the weights array a theme declares is now authoritative.

    semibold was emitted as typography.heading.weight, which is a different concept. On any theme whose heading weight is 500 it was identical to --font-weight-medium, so a component author asking for a step above medium silently got medium. Where the heading weight is 400 it collapsed onto normal. Where it is above 700 it inverted the ramp — strata shipped semibold: 800 over bold: 700. Meanwhile medium: 500 and bold: 700 were bare literals that ignored the declared weights entirely, so a theme declaring [200, 400, 600, 900] got tokens naming faces it never fetched.

    Why it could not simply be unpinned. --font-weight-semibold was the only channel a theme's heading weight had: packages/tokens defined --weight-heading: var(--font-weight-semibold), the engine emitted no per-theme value, and Heading defaults to a semibold weight. Changing semibold alone would have flattened every heading in every app.

    What changed

    • Role primitives. --font-weight-heading, --font-weight-body and --font-weight-display are emitted per theme from typography.<slot>.weight, and the semantic --weight-heading / --weight-body roles resolve through them. They are --font-weight-* primitives rather than the bare --weight-* names on purpose: the semantic names live in @layer visor-semantic, which wins over visor-primitives, so a theme writing them directly would be overridden by the tokens package on a :root-scoped consumer.
    • The named ramp resolves against loaded faces. On any theme declaring a weights array, normal / medium / semibold / bold resolve through the CSS font-matching algorithm (CSS Fonts 4 §5.2) against that set. The browser already performs this substitution at render time, so the emitted token becomes the weight that was already rendering — verified against Chrome's own engine across 23 target/face combinations. Themes that declare no weights array keep the historical literals.
    • The declared ladder is reachable. --font-weight-<n> is emitted for every weight in the array, following the --text-N / --space-N precedent from VI-451. Blacklight's 800 had no name before; BL-987 had to write a literal font-weight: 700.
    • Heading gains weight="heading", now its default. It follows --font-weight-heading, so heading weight keeps tracking the theme on every shipped theme while weight="semibold" becomes a genuine ramp step. The previous four values are unchanged.
    • Two build-time warnings. FONT_WEIGHTS_UNDECLARED when a theme loads from a hosted source but declares no weights array; FONT_WEIGHT_RAMP_COLLAPSED when a family cannot separate adjacent named steps. Warnings, not errors — substitution is legal CSS and every shipped theme relied on it.

    Migration. Eleven of the seventeen shipped themes emit the same rendered weights. Six change, and each is a correction: the three Blacklight themes get semibold: 700 instead of a second medium: 500; knowmentum gets semibold: 500 instead of a semibold identical to body; strata's inverted semibold: 800 becomes 700; sked gets the real 600 it loads instead of 700. Where medium moves (e.g. 500 → 400 on a [400, 700] family) the rendered face does not: 500 was already being substituted.

    A consumer that relied on --font-weight-semibold carrying the theme's heading weight should move to --font-weight-heading (or Heading's weight="heading").

0.14.0

Minor Changes

  • b4d4e38: VI-617: move the prefers-reduced-motion block into the visor-base cascade layer

    This changes cascade priority for every consumer of ./css, ./tokens, and . — read this before upgrading. It is a behavioural change, not an internal tidy.

    dist/tokens.css ships a global motion-safety rule:

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
    

    Until now this was emitted unlayered — outside every @layer. It is now emitted inside @layer visor-base, the first and lowest-priority layer. The declarations themselves, including !important, are unchanged.

    What is unaffected. Motion is still suppressed. Component animations live in unlayered .module.css classes, and an !important declaration beats a normal one regardless of layer, so the block keeps winning over every component's animation/transition. Verified in Chromium against the real skeleton (@keyframes) and button (transition) module CSS: under prefers-reduced-motion: reduce the computed animation-duration and transition-duration are 0.01ms before and after this change.

    What changes — and it is the opposite of what you might expect. !important declarations invert cascade-layer order: unlayered !important is the lowest-priority important author declaration, and the first-declared layer is the highest. So this block is now harder to override with !important, not easier:

    | Consumer rule (unlayered, loaded after visor-core) | Before | After | | -------------------------------------------------- | -------------------------------- | ------------------- | | normal declaration, no !important | visor-core wins | visor-core wins | | !important declaration | consumer wins (source order) | visor-core wins |

    If you rely on an unlayered !important rule to opt a surface out of global motion suppression, that rule will stop working on upgrade. Two supported ways to override the block:

    /* 1. Declare your own layer ahead of visor-base. */
    @layer app, visor-base;
    @layer app {
      .my-surface {
        animation-duration: 3s !important;
      }
    }
    
    <!-- 2. Inline style with !important. -->
    <div style="animation-duration: 3s !important"></div>
    

    Why make the change at all. Unlayered styles beat every layered style in the package, so this was the single highest-priority declaration visor-core shipped and the one rule the layer system could not reason about. It now sits in the same layer as every other element-level rule visor-core owns (visor-base, added in VI-616), which makes the package's cascade behaviour uniform and inspectable. dist/tokens.css now contains no depth-0 rules at all — every construct in the file is an @layer block.

  • 06446b9: VI-616: ship a visor-base layer — token-to-page binding + element reset

    visor-core now owns the element-level baseline instead of leaving each consumer and each component to rediscover it.

    New visor-base cascade layer. Added as the FIRST (lowest-priority) entry in both mirrored LAYER_ORDER declarations, so a consumer's own unlayered body {} and every component .module.css beat it unconditionally, while author-origin styles still outrank the UA stylesheet.

    New opt-in export @loworbitstudio/visor-core/reset (dist/reset.css) — the propagation half. input, textarea, select, button, optgroup { font: inherit }, global box-sizing: border-box, zeroed UA margin on form controls, button chrome normalisation, img/svg/video block sizing, and appearance: none for input[type=search|number]. It is a separate export: ., ./css, ./tokens and ./primitives emit no element rules, so consumers relying on Tailwind preflight are byte-unchanged.

    NextJS adapter now emits the origination half — a @layer visor-base block binding font-family: var(--font-body), color, background and font-size to body (mirroring what the docs adapter has always done), plus the @import "@loworbitstudio/visor-core/reset"; line for new scaffolds. Previously --font-sans was defined and bound to nothing, so font: inherit on a control faithfully propagated whatever the consumer hand-wrote. Opt out with includeBaseLayer: false.

    New missing-visor-base-layer warning in visor check design — fires when an app renders Visor form controls but imports neither the reset nor Tailwind preflight, and also when the installed visor-core predates the /reset export (a file-existence test for dist/reset.css, not a version comparison). Honours .visorrc.json disabledRules.

    Component sweep. Removed 24 redundant font-family: inherit / font: inherit declarations across components and blocks, and reconciled the drifted variants: hardcoded system-ui fallbacks behind body-font tokens now fall back to inherit, and color-picker's hardcoded mono stack now routes through var(--font-mono). The ~20 button-rendering components that were never patched need no patch. A new element-defaults-owned-by-base validator rule keeps it that way, deriving its native-control target set from the CLI's native map rather than a hardcoded path list.

0.13.0

Minor Changes

  • da15987: Add lit-surface elevation utilities — three opt-in CSS utility classes (.lit, .lit-soft, .lit-strong) with a live keyed accent halo via --lit-color (VI-568).

    Ported from Blacklight's .bl-lit / .bl-lit-soft / .bl-lit-strong globals where they power the carousel-keyed artist color glow on every framed surface.

    • .lit — standard depth: inset top highlight + deep drop shadows + color-mix accent halo at 22%
    • .lit-soft — gentle lift: inset highlight + single drop shadow, no halo
    • .lit-strong — dramatic depth: stronger drop shadows + color-mix accent halo at 30%
    • --lit-color — runtime color contract; defaults to var(--accent, var(--color-primary-500, #6366f1)); consumer may rewrite per-frame for live color tracking
    • Distributed via @loworbitstudio/visor-core/utilities (opt-in, not bundled into index.css)

0.12.0

Minor Changes

  • 72d4fed: Add --layout-content-max-width (1200px) and --layout-page-max-width (1440px) semantic tokens to the visor-semantic cascade layer. Themes can override these via flat-key overrides in their .visor.yaml.
  • c76c686: Add --layout-section-padding (96px) and --layout-section-padding-mobile (64px) semantic tokens for canonical vertical section rhythm. Themes can override these via flat-key overrides in .visor.yaml.

0.11.0

Minor Changes

  • b70fe97: Sparkline: add an entrance path-draw animation (animate, default true; duration, default 1500ms) that draws the line left→right on mount, respecting prefers-reduced-motion. animate={false} is unchanged from the prior static render. Adds the --motion-duration-1500 primitive to the motion-duration ladder (consumed by Progress entrance animation, VI-412).

  • 0121320: Add a 6-tier letter-spacing ramp to typography tokens (VI-447). The theme schema's typography.letter-spacing block now accepts xl | lg | md | sm | xs | tight and the engine emits a matching --letter-spacing-{xl,lg,md,sm,xs,tight} ramp, resolved per theme (em-based defaults: xl 0.16em → tight -0.01em, with md anchored at 0.05em).

    Additive and back-compatible: the legacy triad keys stay valid input and fold onto the ramp (normal→md, wide→lg, tight→tight), and the engine still emits --letter-spacing-normal (= md) plus a new --letter-spacing-wide (= lg) alias, so existing consumers resolve unchanged. Editorial themes can now carry a coherent rem-based letter-spacing system that the previous tight | normal | wide triad could not express.

  • 92f8a7c: Soften dark-mode status -subtle surfaces (VI-500). In dark mode, --surface-{success,warning,error,info}-subtle previously resolved to the fully opaque -900 shade (e.g. #7f1d1d), making tinted Alert/Banner/Toast backgrounds read as heavy, saturated fills. They now blend the -900 shade 12% toward --surface-card (color-mix(in srgb, var(--color-error-900) 12%, var(--surface-card))), keeping a faint hue cue while letting the dark surface read through — mirroring how the -50 shade sits gently on white in light mode (12% matches the -soft status tints). Light-mode values are unchanged. The token generator and validator now pass color-mix() expressions through verbatim.

0.10.0

Minor Changes

  • ef8e057: Introduces the --field-menu-bg semantic token (default var(--surface-popover)) and wires the four field-attached floating panels — Select content, Combobox listbox, DatePicker popover, and DateRangePicker popover — to use it. When --field-menu-bg is unset the fallback chain (var(--surface-popover, var(--surface-card, #ffffff))) preserves existing rendering identically. Themes that want the open menu to read as a continuation of the field trigger can override --field-menu-bg to match --surface-interactive-default. Non-field panels (DropdownMenu, ContextMenu, Menubar, Popover, Command) are untouched.

0.9.0

Minor Changes

  • fe490fd: VI-470 feat: brand block in theme schema + visor-brand layer emit.

    Adds a brand block to the Visor theme schema and a brand subsystem modeled on the fonts subsystem. Themes can declare per-slot brand assets (logo, brandmark, wordmark, monochrome, favicon, plus custom slots); the engine emits mode-scoped --brand-{variant} CSS variables (with explicit -light/-dark forced-mode aliases) and per-variant clearSpace/aspectRatio tokens into a dedicated visor-brand cascade layer, ordered immediately after visor-semantic.

    Phase 1 (no CDN): source: local resolves to public/-relative paths. Stock themes that omit a brand block fall back to the Visor default brand. The shared LAYER_ORDER declaration in both the theme-engine adapters and visor-core gains visor-brand for cascade consistency.

0.8.1

Patch Changes

  • 5a57598: VI-421 fix: Borderless/light covers all surface/interactive/border tokens — closes loop on VI-420's first-run signal.

    themes/borderless.visor.yaml's overrides.light block previously covered 10 tokens; the theme engine emitted 25 additional surface/interactive/border tokens with bright defaults (#ffffff, #f5f5f5, etc.), so any surface bound to surface-subtle, surface-interactive-*, surface-selected, surface-accent-subtle, status -subtle, surface-elev-*, interactive-secondary-*, interactive-ghost-*, or border-disabled rendered with bright backgrounds — and Borderless's near-white text became invisible. Exactly the leak class VI-420's new INCOMPLETE_OVERRIDE check flagged on first run, and the same shape as VI-417 (Blackout).

    Borderless/light now renders as a near-identical sibling of Borderless/dark, honoring the always-dark contract. All *-border tokens and border-disabled stay transparent to honor the "borderless" theme contract. Solid-hex values preserve Borderless's flat palette (Blackout uses rgba whites for glass; Borderless does not). Status -default colors stay vivid in both modes. No primitive changes; no API surface change; Borderless/dark untouched; other themes unaffected.

0.8.0

Minor Changes

  • fd2741c: VI-380 feat: add right-rail-list block — compact vertical list tuned for admin dashboard side rails.

    Each row pairs an optional leading slot (short label, avatar, badge, status dot), a primary label (typically a link), and an optional trailing meta value (count, value, or tone-tinted status word). Trailing carries a data-tone attribute and accepts default | mint | muted | warn | danger | info — extends r3's two-tone palette so the block pairs cleanly with the StatusDot tones landing alongside it.

    Supports compact density for tighter rails and an as prop (ul | ol | div) for the root element. Theme-portable: every color, size, and spacing value binds to a Visor semantic token, so the block adopts the active theme without modification. Net-new block; zero impact on existing components. Registered as category: data-display so npx visor add right-rail-list works.

  • ce98322: VI-382 feat: add StatusDot primitive — a 6×6px tone-tinted indicator dot.

    Ships a new components/ui/status-dot/ primitive with five tones (mint, warn, muted, danger, info) that resolve from Visor's saturated semantic surface tokens (--surface-success-default, --surface-warning-default, --text-tertiary, --surface-error-default, --surface-info-default). Reuses the same fill tokens as StatusBadge's leading indicator so the two read as one coherent system across admin surfaces.

    The dot is decorative by default (aria-hidden="true") — semantic status is expected to live in the adjacent label. Supplying aria-label flips it into a labeled image (role="img") for standalone usage where no adjacent text carries the meaning.

    Composes inside Badge, ActivityFeed leading slots, and table status cells. The 6px size and circular radius are intentional and fixed — for larger callouts, use StatusBadge instead.

  • 2149a78: VI-384 feat: DataTable row tone, clickable rows, and selected-row styling.

    Three additive extensions to the existing DataTable primitive — group rows + sticky group headers already shipped, so this ticket focuses on per-row affordances:

    1. Selected-row CSS rule. Wires the latent data-state="selected" attribute (already emitted by TanStack via row.getIsSelected() but unstyled) to var(--surface-selected). Closes a latent bug where toggling the selection checkbox left the row visually unchanged.

    2. rowTone prop. New (row) => "live" | "warn" | "scheduled" | "sold" | "draft" | "danger" | "info" | undefined callback. Returns a tone key per data row; the table stamps data-tone="<tone>" on the <tr> and the CSS layer maps each tone to a Visor surface token (--surface-success-subtle, --surface-warning-subtle, --surface-error-subtle, --surface-info-subtle). scheduled and draft render on the default surface — no tint — to keep visual signal focused on actionable rows. Tone vocabulary mirrors StatusBadge / StatusDot so a row tagged live reads as one signal with a live badge inside it.

    3. onRowClick prop. Opt-in clickable-row affordance. When supplied, data rows become keyboard-activatable: role="button", tabIndex={0}, click + Enter/Space dispatch the handler, and data-clickable="true" drives a hover and focus-visible affordance. The injected selection-checkbox cell stops propagation so toggling the checkbox does not also trigger the row click. When enableRowSelection is also on, the row keeps its semantic tr role (and drops role="button") to satisfy WCAG nested-interactive — click and keyboard handlers still fire.

    No breaking changes. All new props are optional and inert by default. The newly-styled data-state="selected" rows will visually change for existing consumers using enableRowSelection, but the attribute was always emitted — the fix simply adds the style that was missing.

  • 3c80397: VI-385 feat: add quick-actions primitive — vertical list of action rows pairing a left-aligned label with a right-aligned Kbd shortcut.

    Ports the r3 admin dashboard's "Quick" panel composition into a first-class Visor primitive. Sized for dashboard side-rail digests and command-palette previews. Display-only by default: rows render as plain <li> with semantic <kbd> chrome. Supplying onActivate flips rows into role="button" with tabIndex={0} and click + Enter/Space activation — mirroring the opt-in interactive pattern used elsewhere in Visor.

    Composes the existing Kbd primitive at size="sm" for each row. No new tokens — relies on --surface-card, --text-secondary, and standard spacing/font-size tokens. Registered as category: navigation so npx visor add quick-actions works.

  • d79c98d: VI-387 feat: admin-dashboard layout="split" mode with mainCol + sideCol slots.

    Adds an additive 2-column body layout to the admin-dashboard block. The existing single-column flow (PageHeader → stat grid → optional secondaryRegion → activity feed) is preserved as layout="single" and remains the default — every current consumer renders byte-for-byte unchanged.

    When layout="split" is set, the block renders a 2-column body grid below the KPI strip: mainCol (left, primary content) and sideCol (right rail). The caller composes both columns — the default activity feed and secondaryRegion are not rendered in split mode (a dev-only console.warn fires if either is supplied alongside layout="split").

    Two tunable CSS custom properties on the block root let themes retune the layout without touching block internals:

    • --admin-dashboard-side-col-width (default 320px) — right-rail width
    • --admin-dashboard-stack-bp (default 960px) — container-query breakpoint at which sideCol stacks below mainCol

    The body element exposes data-layout="split" for downstream styling hooks; columns expose data-slot="admin-dashboard-main-col" / data-slot="admin-dashboard-side-col". No breaking changes — mainCol and sideCol are optional and only consulted when layout="split".

  • 3795ac6: VI-389 feat: admin-list-page adds customFilterBar and footerStatus slots.

    Two optional, additive slot props for the admin-list-page block:

    1. customFilterBar?: ReactNode — replaces the default <FilterBar> entirely. When supplied, the block renders the supplied node inside the header region (wrapped in data-slot="admin-list-page-custom-filter-bar") and ignores the FilterBar-specific props (searchValue, onSearchChange, searchPlaceholder, filters, activeFilters, onClearFilters, resultsCount). Mixing the custom bar with any of those props logs a dev-mode console.warn. hideFilterBar still wins over both default and custom bars. Unblocks editorial-density compositions (removable chip clusters, "Add filter" pills, trailing icon buttons) that the rigid FilterBar shape cannot express.

    2. footerStatus?: ReactNode — always-on info row rendered below the table, inside the table section, wrapped in data-slot="admin-list-page-footer-status". Independent of BulkActionBar (selection-gated, sticky/inline) — the two can coexist; footerStatus renders below BulkActionBar so the always-on info anchors the bottom of the table chrome. Typical content is a selection count, total, and Kbd hint cluster.

    No breaking changes. Both new props default to undefined; render output is byte-for-byte identical for any consumer not using them.

  • e2431d4: VI-390 + VI-392 feat: admin-list-page forwards DataTable rows / rowTone / onRowClick and makes data optional.

    Three new optional pass-through props for the admin-list-page block plus one signature relaxation:

    1. rows?: DataTableRow<TData>[] — discriminated-union row list ({kind:"group"|"data"}) forwarded as-is to DataTable. Lets the block carry interleaved group headers and data rows (e.g., "Tonight / This week / Later" sections) without dropping to bare data-table. When rows is supplied, data is ignored; dev-mode console.warn fires if both are passed. Also forwards an optional groupRowRenderer?: (group: DataTableGroupRow) => ReactNode for custom group cell content.

    2. rowTone?: (row: TData) => DataTableRowTone | undefined — per-row semantic tone callback (live / warn / scheduled / sold / draft / danger / info) forwarded as-is to DataTable. Tones resolve to Visor surface tokens at the CSS layer for subtle background tinting.

    3. onRowClick?: (row: TData) => void — per-row click handler forwarded as-is to DataTable. When supplied, every data row becomes a keyboard-activatable target (click + Enter/Space). Typical use: open a detail drawer for the clicked row.

    4. data?: TData[] is now optional — the prop was previously required even when consumers supplied rows or rendered a custom table body. Defaults to [] when omitted, which yields DataTable's empty state.

    No breaking changes. All new props default to undefined; existing consumers that pass data unchanged render byte-for-byte identical output.

  • c048baa: VI-391 feat: status-badge adds 5 admin-ui event tones — live, warn, scheduled, sold, draft.

    Extends the status prop enum with the admin-v7-r3 event vocabulary so consumers can use StatusBadge directly for events tables and content lifecycle UIs without rolling their own local status chips. Each new tone maps to an existing Visor semantic color group — no new tokens are introduced and existing tones are unchanged:

    • live → success (active/positive event)
    • warn → warning (needs attention)
    • scheduled → info (upcoming/planned)
    • sold → success (positive completed outcome)
    • draft → neutral (unpublished/muted)

    Backwards-compatible. The existing 9 statuses (healthy, degraded, down, failed, running, pending, queued, idle, complete) render identically.

Patch Changes

  • e8398a6: VI-417 fix: Blackout/light covers all surface/interactive/border tokens — fixes events-route white-on-white.

    themes/blackout.visor.yaml's overrides.light block previously covered ~16 tokens; the theme engine emitted ~19 additional surface/interactive/border tokens with bright defaults (#ffffff, #f5f5f5, etc.), so any surface bound to surface-elev-0/1/2, surface-selected, status -subtle, interactive-secondary-*, interactive-ghost-*, or border-disabled rendered with bright backgrounds — and Blackout's near-white text became invisible (events-route white-on-white).

    Blackout/light now renders as a near-identical sibling of Blackout/dark — just barely lighter — across every route, honoring the always-dark contract. Status -default colors stay vivid in both modes. No primitive changes; no API surface change; Blackout/dark untouched; other themes unaffected.

0.7.0

Minor Changes

  • 177728b: VI-349 — Round-1 retrofit fixes for marketing-grade consumers.

    Marquee — Default .item/.separator line-height bumped from tight to normal so descenders (g, y, p, q, j) clear the band's overflow boundary at marketing-display sizes. Default durationSec bumped from 25 to 40 for a calmer scroll at display scale.

    StationSpectrum — Dropped the .station:last-child flex-end override that made dot 05 read as misaligned with 01–04. All dots now align flex-start within equal-width columns; the rail's right offset is computed from --station-count so the line terminates exactly at the last dot center for any N (verified at 3, 5, 7).

    BentoTile (BREAKING) — New layout prop with default "stacked": media renders on top with its own aspect ratio, body is a sibling block below. layout="overlay" retains the previous body-over-media behavior. Consumers depending on the old default must pass layout="overlay" explicitly. Exposes data-layout for consumer styling hooks.

    NameRoster — Exposes 14 --roster-* CSS custom properties on .roster covering item typography (size, weight, letter-spacing, line-height), colors (default, hover, highlighted), dot (size, color, hover, highlighted, glow), and hover transform. Defaults resolve to the current visual output. The hardcoded filter: brightness() hover effect is replaced by --roster-dot-color-hover; consumers wanting a brightness shift use color-mix() against the token.

Patch Changes

  • 8f444af: Rebalance SEMANTIC_TEXT_MAP so the auto-derived text scale clears WCAG AA contrast by default for any reasonable input neutral. text-secondary now maps to neutral 700/300 (light/dark) and text-tertiary to neutral 600/400 — both fixed-L shades. Previously text-tertiary landed on neutral 400 (L 0.65), giving ~3.5:1 contrast on white and forcing every stock theme to override the entire text scale. text-primary (900/50) and text-disabled (300/600) are unchanged. Stock themes (neutral) drop their defensive text overrides; modern-minimal, blackout, and space keep theirs as intentional brand language. Borderless dark text-secondary contrast improves from 2.96:1 to 6.77:1.
  • 0e6fce5: Extend theme-text-contrast regression rule (scripts/rules/theme-text-contrast.ts) to validate text-primary, text-secondary, and text-tertiary against surface-card, surface-muted, and surface-popover in addition to page background — 24 checks per theme (3 tokens × 4 surfaces × 2 modes). Surfaces with alpha (rgba) are alpha-composited over the resolved page background before the WCAG 2.1 ratio is computed; the existing composite() helper is reused. Catches the gray-on-gray / light-on-light failure mode that motivated this work (e.g., text-tertiary on surface-muted), which previously passed because only the page-bg pairing was checked. Stock theme YAMLs (neutral, space, borderless) gained narrow surface-muted overrides (and, for borderless, explicit text/surface overrides for both modes) so palette-derived elevated surfaces still clear AA. text-disabled and text-ghost remain exempt per WCAG 1.4.3.

0.6.0

Minor Changes

  • VI-312: Ship every dist/*.css file pre-wrapped in matching CSS @layer blocks (visor-primitives, visor-semantic, visor-adaptive) with a layer-order declaration prepended. Generated themes from visor theme apply --adapter nextjs now win the cascade against visor-core's defaults without consumer intervention. Unlayered consumer overrides written after @import "@loworbitstudio/visor-core" continue to win — the documented override pattern is unchanged.

0.5.0

Minor Changes

  • 7ec9229: Ship stock themes (blackout, modern-minimal, neutral, space) as npm subpath exports. Consumers can now import '@loworbitstudio/visor-core/themes/blackout' and apply the matching .{slug}-theme class.

0.4.1

Patch Changes

  • 84e3cb5: Document WCAG AA contrast ratios for text tokens and add migration note for consumers with local overrides.

0.2.0

Minor Changes

  • Initial release of Visor design tokens — CSS custom properties for primitives, semantic tokens, and light/dark themes.