Interlace Theme
@interlace/ui — the Interlace look as shadcn cssVars: points your --primary, --background, --radius and the rest at Interlace's burnt-orange brand tokens (light + dark, AAA). Opt-in; components work without it.
Preview
Rendered from the story the storybook (a11y) CI gate runs axe against — the preview can't show something that hasn't been verified.
Install
Two equivalent paths — the URL works in any shadcn-CLI setup; the alias works once you've registered @interlace in your components.json.
npx shadcn@latest add https://ds.interlace.tools/r/theme.jsonnpx shadcn@latest add @interlace/themeHistory
This component is at v2.0.0, first shipped in @interlace/ui 1.0.0. The version is stamped as a banner into the file the install writes, so the copy in your tree says which one you have — compare it with the number above before deciding whether to re-run the install.
@interlace/ui 2.0.03 entries
- Breakingmajor
Interlace no longer rewrites the host app's Tailwind theme. Installing one component used to redefine
max-w-sm(24rem became 1rem), movesm:from 640px to 480px, delete2xl:and change everyrounded-sm|md|lg. Spacing is now Tailwind's numeric scale, which follows--spacing. Radius derives from--radiusexactly as shadcn derives it. The only breakpoint Interlace declares is a newxs:tier at 480px, which Tailwind doesn't use. Components render pixel-for-pixel as before.Components- @interlace/accordion
- @interlace/alert
- @interlace/alert-dialog
- @interlace/article-card
- @interlace/article-list-grid
- @interlace/article-template
- @interlace/auth-template
- @interlace/author-byline
- @interlace/author-template
- @interlace/blog-home-template
- @interlace/box
- @interlace/breadcrumb
- @interlace/button
- @interlace/button-variants
- @interlace/callout
- @interlace/checkbox
- @interlace/code-block
- @interlace/code-editor
- @interlace/code-window
- @interlace/combobox
- @interlace/command-palette
- @interlace/container
- @interlace/context-menu
- @interlace/cta-section
- @interlace/dashboard-template
- @interlace/data-table
- @interlace/dialog
- @interlace/distribution
- @interlace/docs-page-template
- @interlace/dropdown-menu
- @interlace/empty-state
- @interlace/error-template
- @interlace/faq
- @interlace/feature-grid
- @interlace/figure
- @interlace/focus-cards
- @interlace/focus-ring
- @interlace/footer
- @interlace/grade-badge
- @interlace/grid
- @interlace/hero
- @interlace/hero-cosmic
- @interlace/hover-card
- @interlace/input
- @interlace/landing-template
- @interlace/lint-playground
- @interlace/metric-table
- @interlace/network-graph
- @interlace/newsletter-form
- @interlace/number-field
- @interlace/page-header
- @interlace/pagination
- @interlace/popover
- @interlace/prev-next-post
- @interlace/pricing-table
- @interlace/prose
- @interlace/radial-weave
- @interlace/registry-item-template
- @interlace/related-posts
- @interlace/scorecard-row
- @interlace/scorecard-template
- @interlace/section-boundary
- @interlace/select
- @interlace/settings-template
- @interlace/sheet
- @interlace/shimmer-button
- @interlace/skeleton
- @interlace/skeleton-variants
- @interlace/skip-link
- @interlace/stack
- @interlace/stat-card
- @interlace/stat-group
- @interlace/stat-strip
- @interlace/stats-template
- @interlace/sunny-background
- @interlace/tabs
- @interlace/tag-template
- @interlace/testimonial
- @interlace/textarea
- @interlace/theme-switcher
- @interlace/theme-tokens
- @interlace/time-series
- @interlace/timeline-map
- @interlace/toast
- @interlace/toc
- @interlace/toggle
- @interlace/tooltip
- @interlace/topbar
- Breakingmajor
Adding a component no longer restyles your app. Every component used to depend on
theme, which swapped yourfont-sansandfont-monofor Inter and JetBrains Mono, setimg { display: block }, drew an outline on every focusable element and recolouredbody. Components now depend oninterlace-base, which only adds tokens. A test compiles a stock shadcnglobals.csswith and without it and checks the app's own utilities come out the same. The Interlace look is now opt-in:themeis aregistry:themethat writes shadcn cssVars into your:rootand.dark, andinterlace-foundationcarries the fonts, the page preflight and the fumadocs bridge. Interlace'sanimate-accordion-down/upno longer replace tw-animate-css's versions. - Addedminor
Three additions for content sites. A
--highlight/--highlight-foregroundcolour pair (amber, AAA text in both schemes and in Harbor) with ahighlightButton variant, for the warm call-to-action that is not the brand primary. Badge gainssuccess,warning,infoandhighlighttones. And a--font-headingtoken: Typography h1–h6 and the hero headings read it, it falls back to--font-body, and--font-bodynow follows the app's own--font-sans, so a shadcn app's typeface reaches Interlace components with no setup. Set--font-heading: var(--font-serif)to give headings a serif without touching body text.
@interlace/ui 1.1.01 entry
- Changedpatch
The three entry animations in
styles/theme.cssnow run at 200ms with no delay, and the reduced-motion class list instyles/tokens.csscovers.animate-pulse..animate-fade-in-upwas 0.5s,.animate-slide-in-left0.5s behind a 0.3s delay, and.animate-scale-in0.4s behind a 0.2s delay — up to 800ms before the reader saw anything, against the 200ms entry ceilingMOTION_PHILOSOPHY.mdhas always set. All three are now0.2s ease-out both. The delays were the worse half: an entry animation is already laid out atopacity: 0, so a delay is time spent looking at nothing. Separately,.animate-pulse— the animationSkeletonrenders on every loading state — was missing from thetokens.cssreduced-motion list, along with.animate-meteorand.animate-meteor-effect. The universal clamp instyles/preflight.csswas already covering all three, so apps importingstyles/index.csswere never affected; apps that importtokens.cssandtheme.cssà la carte and skippreflight.csswere. All three are now listed. Both are held bypackages/ui/__tests__/motion-contract-lock.test.ts, which reads the ceiling out ofMOTION_PHILOSOPHY.mdrather than repeating it, and fails if any bareanimate-*utility inpackages/ui/srcis missing from the list.
@interlace/ui 1.0.01 entry
- Addedminor
The brand layer is forkable: the whole palette moved from Tailwind violet to the burnt-orange/green Interlace palette inside
@layer interlace.brandwith zero component edits, and the CSS baseline ships as one installablethemeitem — tokens, foundation, preflight (WCAG 2.2 SC 2.4.13 focus ring and the[data-min-viewport]contract), the shadcn↔fumadocs bridge, and the brand palette.
Accessibility
Every story for this component is rendered headlessly and checked with axe-core (wcag2aa, wcag22aa, best-practice, ACT) on every PR. That gate has no continue-on-error, so what ships has zero known violations.
What follows is what static analysis can see. Axe cannot press a key and never sees an overlay open, so the operable-without-a-mouse claim lives in Behavior instead, where the keyboard path is replayed step by step.
- Focus + keyboard behaviour
- Native element semantics — no interaction layer to get wrong.
- Focus ring (WCAG 2.2 SC 2.4.13)
- Not focusable — no focus indicator required.
- Reduced motion
- No animation to gate.
- ARIA in the source
- None — semantics come from the element or the Base UI primitive rather than hand-written ARIA.
Dependencies
- Base UI primitive
- Native / no Base UI dependency
- Lucide icons
- none
- NPM dependencies
- none
- Registry dependencies
Variables
What the shadcn CLI writes into your global stylesheet's :root and .dark.
:root {
--primary: var(--interlace-primary);
--primary-foreground: var(--interlace-primary-foreground);
--background: var(--interlace-background);
--foreground: var(--interlace-foreground);
--card: var(--interlace-card);
--card-foreground: var(--interlace-card-foreground);
--popover: var(--interlace-popover);
--popover-foreground: var(--interlace-popover-foreground);
--muted: var(--interlace-muted);
--muted-foreground: var(--interlace-muted-foreground);
--accent: var(--interlace-accent);
--accent-foreground: var(--interlace-accent-foreground);
--secondary: var(--interlace-secondary);
--secondary-foreground: var(--interlace-secondary-foreground);
--border: var(--interlace-border);
--input: var(--interlace-input);
--ring: var(--interlace-ring);
--destructive: var(--interlace-destructive);
--destructive-foreground: var(--interlace-destructive-foreground);
…35 more lines…Registry JSON
The raw registry record — what the shadcn CLI fetches.