/lux-visual-systems-tri-swiss:lux-visual-systems-tri-swissfrom lux-visual-systems-tri-swiss
Lux Visual Systems - Tri-Swiss — Lux Solari's house design system, sibling to lux-visual-systems-lux-swiss (Lux Swiss, formerly Duotone Swiss), sharing the same Space Mono/Space Grotesk typography core (with a Geist Mono/Geist Sans flavor available in both). A tri-tone visual language (ink + cream, a Swiss Red accent, and a governed non-semantic highlight) Swiss-minimalist layout, visible borders, no shadows, and Space Mono / Space Grotesk typography. Use this skill whenever building, styling, or restyling ANY user interface: React/Next/Svelte/Vue components, HTML pages, landing pages, dashboards, buttons, cards, forms, navigation, modals, tags, charts, or Tailwind/CSS themes — even when the user does not name the design system explicitly. Apply it by default so every project shares the same aesthetic. Also trigger on phrases like "make this look good", "style this", "apply my design system", "tri-tone", "swiss", "give it a theme", or when starting a new frontend from scratch. When another design language is explicitly requested (Material, shadcn defaults untouched, a client's brand kit, or the sibling lux-visual-systems-lux-swiss/Lux Visual Systems - Lux Swiss system specifically), defer to that instead.
Trending skills
7-day visitors to each skill page
Ships in lux-visual-systems-tri-swiss. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A strict, minimalist visual language built around the same Space Mono/Space Grotesk typography core as its sibling system (a Geist Mono/Geist Sans flavor is available in both — see Typography). Two structural colors plus one strong accent plus a governed, non-semantic highlight; hard borders, generous whitespace, monospace labels. The whole point is restraint: every element earns its place or is removed, and most difference is still expressed through typography, spacing, and contrast — Red and Turquoise are a deliberate, governed layer on top, never a substitute for that discipline.
Lux Visual Systems - Tri-Swiss is one of Lux Solari's two house-mark design systems — the
personal brand identity carried into every project built with them. Its
sibling, Lux Visual Systems - Lux Swiss (formerly
Duotone Swiss), applies the same governance philosophy through a strict
two-color-plus-accent palette; see HOUSE-MARK.md for how the two relate.
This package contains instructions, a CSS theme, and component examples, not executable scripts or a background network client. Applying it writes the requested project's styles and UI files. No API keys or passwords are required.
github.com/luxsolari/lux-visual-systems-lux-swiss is a sibling-system reference, not a
required runtime request or upload endpoint.fonts.googleapis.com/css2 supplies font CSS; the generated site's browser
then loads font files from fonts.gstatic.com. Use locally hosted fonts
instead when external requests are unwanted. These requests send ordinary
browser metadata, not project files or credentials.observablehq.com/plot is documentation. The optional chart example in
references/components.md imports code from
cdn.jsdelivr.net/npm/@observablehq/[email protected]/+esm in the browser. Use a
locally bundled copy to avoid that CDN request. Hand-written SVG needs no
chart-library network access.Whenever you build or restyle UI, reach for these tokens and patterns by default instead of inventing ad-hoc colors or leaning on a component library's stock look. Three setup moves come first on any new project:
.geist class to
<html> (it composes with .dark, exactly like the theme).assets/theme.css into
the project's global stylesheet (e.g. app/globals.css). It defines
every CSS variable for light + dark mode, both font flavors, and the
optional Jost heading accent, and wires them to Tailwind 4 via
@theme inline. For non-Tailwind stacks the same :root / .dark /
.geist / .jost variables work as plain CSS custom properties.next/font, etc.) — just that
flavor's families, not both, unless the project needs a live toggle.
Add Jost's link separately only if you're using the heading
accent — it's opt-in,
not part of the base setup.Then compose UI from the patterns in this file. For the full component
library (status pips, modals, toggles, SVG charts) see
references/components.md.
Tri-tone, more colorful. Ink and cream are still the two structural
colors. Swiss Red is the primary accent — primary action, destructive,
focus ring — and now also marks section-divider rules and a selectively
emphasized card/component border (one card in a set, never the whole
grid). It also has a third job: a Structural Block — a solid-color sidebar/nav
rail or hero band (pick one per layout, capped at ~25% of viewport
width/height), plus an independent bold-word accent inside a heading that
may combine with either. Outside that one block, ink/cream continue to
dominate every other surface exactly as before. Pastel Turquoise stays a third, non-semantic color — it never
carries meaning (no success/info/second-interactive-state use) — but is
no longer rationed to one touch per page: it recurs as pure decoration
(icon fills, underlines, background washes, dot accents, a chart's
second series, a brand/hero moment) anywhere its presence or absence
wouldn't change what the user understands about state. It still never
appears on a button, tag, or status pip, and never as a link's own
state-indicating color — though a link may carry it as a purely
decorative hover-flourish (see the --highlight section below). Three guardrails keep this
from tipping into loud: ink/cream still visually dominate any surface;
Red and Turquoise never touch or sit adjacent on the same element; one
accent per component, not both at any single moment. The tri-part segment stripe — three equal solid blocks, ink/Red/
Turquoise in a row, used for a static decorative bar (e.g. beneath a hero
title) — is the one explicitly named exception to "Red and Turquoise
never touch": a single governed device, not a general loosening. Nowhere
else may the two sit adjacent. (See "Hover states" below for the sequential
exception — the dual-accent hover pattern — where the two colors swap rather
than coexist.)
Turquoise also gets a genuine layout job of its own — a Turquoise Structural Block, parallel to Red's but kept clearly secondary: a callout/note panel (content-sized, may recur a few times per page), a single second-moment panel used once later in the page flow, or a closing band used once near the page's end. These never touch or sit adjacent to Red's own Structural Block, and their combined footprint stays visibly smaller than Red's block wherever both appear on the same page — Red keeps its ~25% viewport cap; Turquoise's forms are smaller (the second-moment panel and closing band each capped around ~15% of viewport height; the callout panel is content-sized, no viewport cap). Ink/cream still dominate every surface outside these governed blocks, and one accent per component still holds.
The tri-part segment stripe isn't limited to one instance either: it may
be reused at any length as a decorative divider or spacer — a small
marker before a heading, a wider closing flourish — anywhere a purely
decorative rule would otherwise go, as long as it stays three equal
segments in ink/Red/Turquoise order and is used selectively rather than
replacing the default bg-border divider throughout.
Swiss-minimalist. Borders are visible (1px solid, full ink or full
cream). No shadows — elevation comes from a background-color step (--card
vs --background). Whitespace is generous. Labels are uppercase monospace
with wide letter-spacing. Corners are mostly square.
Use the semantic token, never a raw hex. bg-background, text-foreground,
border-border, text-muted-foreground, bg-primary, text-highlight, etc.
| Token | Hex | Role |
|---|---|---|
--background | #f5efe0 | Page background — warm cream |
--foreground | #000000 | Body text, active controls, borders |
--card | #faf6ec | Elevated surface — card, popover |
--card-foreground | #000000 | Text on card surfaces |
--primary | #d3281b | Swiss Red — accent, destructive, ring |
--primary-foreground | #f5efe0 | Text on primary at heading size (hero-band title, sidebar wordmark) |
--primary-foreground-strong | #faf6ec | Small text on primary fills — the card cream, 4.8:1 on Swiss Red |
--secondary | #000000 | Secondary action background |
--secondary-foreground | #f5efe0 | Text on secondary |
--muted | #ebe5d5 | Subtle backgrounds — hover, code blocks |
--muted-foreground | #4a4838 | Subdued labels, metadata, placeholders |
--border | #000000 | All borders — full ink for structural clarity |
--input | #faf6ec | Input field background |
--ring | #d3281b | Focus ring |
--highlight | #56bfa3 | Pastel Turquoise — governed, non-semantic (see below) |
--highlight-foreground | #000000 | Text/icon color on solid --highlight fills — constant black in both modes since Turquoise stays light/pastel even in dark mode |
| Token | Hex | Role |
|---|---|---|
--background | #000000 | Near-black |
--foreground | #f5efe0 | Cream text |
--card | #161616 | Slightly lifted surface |
--primary | #e2503f | Red lifted for dark contrast |
--secondary | #f5efe0 | Inverted |
--secondary-foreground | #000000 | — |
--muted | #1f1f1f | Subtle dark surface |
--muted-foreground | #a8a696 | Warm grey — readable but recessed |
--border | #f5efe0 | Full cream — maintains structural clarity |
--input | #161616 | — |
--ring | #e2503f | — |
--highlight | #63cbae | Pastel Turquoise, lifted for dark mode |
--highlight-foreground | #000000 | Same constant black — Turquoise stays light/pastel even in dark mode |
Dark mode is the .dark class on <html>. Toggle with
document.documentElement.classList.toggle("dark", isDark) and persist under
a theme key in localStorage. In Tailwind 4 the variant is
@custom-variant dark (&:is(.dark *)); (already in theme.css).
--primary-foreground-strong on-tokenSwiss Red and the cream are exact brand values, and in dark mode the
lifted red #e2503f cannot carry cream small text at 4.5:1 (it lands at
3.4:1; even pure white only reaches 3.85:1). Rather than re-tint either
brand color, --primary-foreground-strong is an added on-token, the same
pattern --highlight-foreground already follows: the card cream #faf6ec
in light (4.8:1 on #d3281b; the brand cream lands at 4.48:1), a warm
ink #1a120e in dark (4.8:1 on #e2503f). Use it for every piece of
small text on a red fill — sidebar nav links and footer, labels
inside a hero band, the hovered Destructive button's text, Default /
Hover captions on red. Keep --primary-foreground for heading-size text
on red (the hero-band title, the sidebar wordmark), where 3.4:1 clears
the large-text threshold and the cream-on-red identity stays intact.
--highlight token — read this before using itPastel Turquoise is not a second accent. It carries zero semantic meaning — never success, never info, never a second interactive state. Unlike Swiss Red, it is never the answer when an element needs to signal something. It IS sanctioned for open-ended decorative reuse:
bg-highlight/10) behind a block that wants
separation without a hard border.:hover, purely ornamental and identical regardless of
active/current/visited state, layered alongside the element's
existing ink/muted-foreground hover color change (which still carries
the real interactive feedback).It can recur multiple times on the same page — the old "exactly one brand moment" cap is gone — but the test that governs every use is unchanged: if turquoise's presence or absence would change what the user understands about state, it's wrong. If it's purely ornamental and removable without changing meaning, it's fine.
Do not use it as a button's, tag's, status pip's, or link's own state-indicating color. A link may show a decorative Turquoise hover-flourish (item 7 above) in addition to its real ink/red state feedback — Turquoise itself never signals the state (see "Hover states" below for the system-wide rule this follows).
Three roles, strictly separated by function, in two font flavors that share the same serif and swap only the mono/sans pair — the identical core Lux Visual Systems - Lux Swiss uses. Never swap a role's job, and never run a third flavor.
| Role | Space (default) | Geist (flavor) | Use |
|---|---|---|---|
Display / mono (font-mono) | Space Mono | Geist Mono | Data values, tags, nav, labels — functional UI text, not headings |
Body / sans (font-sans) | Space Grotesk | Geist Sans | Body copy, prose, and dense-data/utility text (tables, fine print) at smaller size with tabular figures |
Serif / long-form (font-serif) | Zilla Slab | Zilla Slab (shared) | Long-form editorial body and pull-quotes — never UI |
Headings (h1–h6) render through a fourth, dependent role,
font-display, which defaults to font-mono — see Heading accent —
Jost below.
Space Grotesk is the proportional cousin of Space Mono (it was drawn from it) — a duotone of one skeleton. Zilla Slab is a slab serif derived from a monospace (Fira Mono), echoing the same lineage, which is why it stays identical across both flavors.
Drive every font through three role variables; a .geist class swaps
the flavor exactly like .dark swaps the theme:
:root { --font-mono:'Space Mono',ui-monospace,monospace; --font-sans:'Space Grotesk',system-ui,sans-serif;
--font-serif:'Zilla Slab',Georgia,serif; }
.geist { --font-mono:'Geist Mono',ui-monospace,monospace; --font-sans:'Geist',system-ui,sans-serif; }
Load only the chosen flavor's two families plus Zilla Slab — three families, not five, unless the project needs a live toggle:
<!-- Space flavor (default) -->
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Zilla+Slab:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet" />
<!-- Geist flavor -->
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;700&family=Geist+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Zilla+Slab:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet" />
Both sans faces load as variable fonts, requested at just the four weights actually used (300/400/500/700) rather than their full axis; both mono faces load regular + bold, roman + italic; Zilla Slab loads its usual four cuts.
Range comes from weight, not more typefaces. Within the Primary register, hierarchy is expressed through the weight axis, not a new face. Sans weight scale (same four stops in either flavor):
| Weight | Use |
|---|---|
| 300 Light | Large display sub-decks, lead paragraphs |
| 400 Regular | Body copy |
| 500 Medium | UI emphasis, active labels, small headings in prose |
| 700 Bold | Strong emphasis — sparing; prefer 500 |
Heading scale — font-display (mono by default, Jost when toggled),
weight 700: h1 3rem/−0.02em/1.1 · h2 2.25rem/−0.02em/1.15 ·
h3 1.875rem/−0.01em/1.2 · h4 1.5rem/1.3 · h5 1.25rem/1.3 ·
h6 1.125rem/1.3.
Body — sans, weight 400, 1rem base, line-height 1.65, kern/liga/calt
on, antialiased.
Label pattern (pervasive — nav, metadata, section headers): mono,
text-xs, uppercase, tracking-[0.2em], weight 400 inactive / 700 active,
text-muted-foreground inactive → text-foreground active.
Tabular figures for data. Numerals in a column, table, chart axis, or
stat block get font-variant-numeric: tabular-nums
(font-feature-settings: "tnum" 1) so digits share one width and align to
the grid. Prose numerals stay proportional (the default).
Mono italic is reserved for one structural job: inline annotations
and figure captions (e.g. a <figcaption> or a marginal note) — Space
Mono italic in the Space flavor, Geist Mono italic in the Geist flavor.
It is never used for emphasis — emphasis is always weight.
A fourth typeface, driven through a single dependent role variable,
--font-display, not a third flavor — Lux Visual Systems - Tri-Swiss's own original register.
Every heading (h1–h6) — plus the hero title/wordmark and
long-form section/chapter dividers, which are styled as headings —
renders through --font-display. It defaults to var(--mono) (no
visible change from the active flavor) until the .jost class is
applied, at which point Jost takes over every heading site-wide, giving
it real protagonism rather than a single narrow appearance. Labels,
nav, tags, table headers, and data values stay on --font-mono
directly — those are functional UI text, not headings, and keep the
monospace-label identity this system shares with Lux Visual Systems - Lux Swiss.
Unlike .geist, .jost is not a flavor: it composes independently
with either flavor and with .dark, exactly like .dark composes with
.geist. There's no natural monospace cousin of Jost the way Space
Grotesk/Mono or Geist Sans/Mono share DNA, so it never touches --mono
or --sans directly — only headings move, through --font-display.
:root { --display: var(--mono); }
.jost { --display: "Jost", ui-sans-serif, system-ui, sans-serif; }
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@700&display=swap" rel="stylesheet" />
Jost loads at a single weight (700) — every heading is already weight 700 per the heading scale above, so it never needs a weight axis of its own.
<h1 className="font-display">Page Title.</h1>
<h2 className="font-display">Section Title.</h2>
{/* Hero title/wordmark and editorial chapter dividers are styled as
headings, not marked up as <h1>-<h6> — they use font-display directly: */}
<div className="font-display" style={{ fontSize: "4.5rem", fontWeight: 700 }}>
Lux Visual Systems - Tri-Swiss.
</div>
<div className="font-display" style={{ fontSize: "1.5rem", fontWeight: 700 }}>
02 — Chapter Title
</div>
px-6 gutters.0.5rem base, rarely used. Most corners are square.--border everywhere. No shadows — elevation is a
background step (--card on --background).bg-border by default; swap to bg-primary for a section
that earns emphasis (used selectively — one or two per page, never on
every divider).<div className="mb-4 flex items-baseline gap-3">
<h5>Section title</h5>
<span className="h-px flex-1 bg-border" />
</div>
All buttons: font-mono uppercase tracking-[0.2em] text-xs. Five variants:
text-muted-foreground hover:text-foreground transition-colors, no border.border border-foreground px-4 py-2 hover:bg-foreground hover:text-background.border border-foreground bg-foreground px-4 py-2 text-background hover:bg-foreground/90.border border-primary text-primary px-4 py-2 hover:bg-primary hover:text-primary-foreground-strong — Red's already-named
"destructive" job (see Philosophy), now with a documented variant.
Demonstrates the hover hierarchy below: Red carries the real hover
signal.border border-primary text-primary px-4 py-2 hover:bg-highlight hover:text-highlight-foreground hover:border-highlight
— general emphasis, not destructive. Red border at rest, Turquoise on
hover: the dual-accent hover exception (see "Hover states" below), not
a decorative flourish.Disabled is always opacity-40 — never a color change.
Wherever a hover state uses an accent color — not just an ink/muted-
foreground tone shift — to signal interactivity, Red is the only color
permitted to carry that real signal. Turquoise never signals on its own
in a hover state; it may only layer in as a purely decorative flourish
alongside Red's or ink's real feedback — as the Destructive button above
and the nav-link hover-flourish (see the --highlight token section)
both demonstrate. This doesn't require every hoverable element to use an
accent color: most buttons/tags/toggles hover via ink/muted-foreground
shifts only, unaffected by this rule.
The one named exception: dual-accent hover. The Accent button above
and the Interactive card (see references/components.md) swap Red for
Turquoise on hover — Red border at rest, Turquoise border/fill on hover.
This is a genuine, deliberate exception to "Red is the only color
permitted to carry real hover meaning," scoped to exactly these two
patterns. The two colors are never visible on the element simultaneously
(a state transition, not spatial adjacency), so it doesn't touch the
separate "Red and Turquoise never touch" guardrail — but it is a real
carve-out from this hover hierarchy, not a decorative layer, and must
not spread beyond these two named patterns.
Small inline badges: font-mono text-[0.65rem] px-2 py-0.5 uppercase tracking-[0.12em].
text-muted-foreground.bg-foreground text-background.border border-dashed border-foreground/50 text-foreground/80, 4px
dot prefix.border border-foreground/30 text-foreground/50, 4px dot prefix.rounded-full is reserved for dot indicators only — never on containers or pills.
Lists. No default round bullet glyphs. Unordered list items get a
thin top-border divider between rows (border-top:1px solid var(--border)) instead of a bullet mark. Ordered list items use
tabular mono-font numbers (font-mono, matching the existing "Tabular
figures" pattern) followed by body-font (font-sans) item text.
Tables. Bold mono-font (font-mono) header row with a 2px bottom
border (matching the .rule/divider style used throughout this page),
1px border-border between body rows, tabular-nums right-aligned for
numeric columns. No zebra striping — kept consistent with the existing
"no invented decoration" pattern.
Guardrail: markers and borders stay neutral. List dividers and table borders/headers use ink/muted-foreground only — never Red or Turquoise. Using an accent color as a decorative list/table marker would be a new, unsanctioned use of colors reserved for their named jobs (action, emphasis, hover, Structural Block). This is a hard rule, not a style preference.
Neither the theme nor the component library had an opinion on images until now.
Grid placement. An image sits inside a bordered container (1px
border-border, matching the existing card border style) spanning a
defined number of grid columns, at a consistent aspect ratio (e.g. 4:3
or 16:9) rather than an arbitrary crop, with a mono-label caption
beneath it (reusing the existing .label/.annotation caption
convention already used elsewhere on the page).
Color treatment. The default and recommended treatment is a
grayscale or duotone filter (filter: grayscale(1) or a duotone
technique mapped toward ink+cream) — this keeps the "only four color
tokens, ever" invariant airtight and matches the historical
Swiss/International Typographic Style tradition of black-and-white
photography. Full color is permitted specifically when the image
itself is the primary content — e.g. a blog post's photography, a
portfolio gallery, product photography — not as a general license for
decorative images sprinkled through UI chrome. This is a scoped, named
exception (like the tri-part stripe or the dual-accent hover pattern),
not an open "designer's choice."
geist-icons is the single sanctioned icon set — mirroring the
one-icon-library rule, no other icon library, no icon fonts, no emoji.
Restyle its three off-identity defaults; keep everything else:
| Attribute | geist-icons default | Lux Visual Systems - Tri-Swiss |
|---|---|---|
stroke-width | varies by icon | 1.5 |
stroke-linecap | varies by icon | square |
stroke-linejoin | varies by icon | miter |
Apply via one CSS rule (CSS overrides SVG presentation attributes, so the raw icon markup needs no editing):
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor;
stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
Icons are 16–20px, currentColor (inherit foreground/muted-foreground;
primary only for the destructive/accent cases already reserved for it —
never highlight), and augment the uppercase-mono labels — never
replace them.
Hand-rolled SVG is the default — the simple charts (timeline strip, share
bars, single differential line) are ~20 lines of raw SVG. Colors are
foreground / muted / primary only, except when a chart genuinely has a
second data series worth distinguishing — that series, and only that one,
may use --highlight. width="100%", fixed height, viewBox from the data
range.
When scales / axes / many-series / interaction genuinely warrant a library,
the single sanctioned choice is Observable Plot
(framework-agnostic SVG — no other chart library, no canvas libs). Restyle
it to the palette: set mark fill/stroke to --foreground/
--muted-foreground/--primary explicitly (never Plot's default color
scheme; --highlight only for a genuine second series), disable the color
legend, keep bars square, use explicit muted grid marks, and restyle axes
to the mono label pattern. See
references/components.md for the full pattern.
--highlight is not success green or info
blue in disguise — it carries no state meaning anywhere.rounded-full on containers. Dots only.currentColor, square
caps. No icon fonts. No emoji in UI text unless explicitly requested.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
lux-visual-systems-tri-swiss@lux-solari-plugins is listed by luxsolari/lux-solari-plugins — review the source before installing
npx claudepluginhub luxsolari/lux-solari-plugins --plugin lux-visual-systems-tri-swiss