Introduction
Nyxwire is a design system with one palette and four flavors, built on an indigo neon identity: cut corners, a wire edge, neon glow, scanlines, a circuit grid and a hover glitch. One set of tokens styles every kind of interface you ship: product sites, apps, dashboards and documentation.
Packages
Section titled “Packages”| Package | Contains | Use it for |
|---|---|---|
@nyxwire/palette |
4 flavors × 24 colors as JS, JSON and CSS variables; semantic and syntax role maps | Raw colors, editor themes, tooling |
@nyxwire/css |
Tokens, bundled fonts, base styles, nw-* components and effect utilities |
Plain HTML pages and any framework |
@nyxwire/tailwind |
Tailwind 4 theme (colors, fonts, radius, shadows, animations, effect utilities), cn() |
Tailwind projects |
@nyxwire/vue |
Nw* components on Reka UI, NwProvider, useFlavor, NyxwirePlugin |
Vue apps and Astro islands |
@nyxwire/astro |
Integration with a flash-free flavor script, Layout, FlavorSelect, FlavorScript |
Astro sites |
@nyxwire/starlight |
Starlight plugin: full theme, flavor select, Expressive Code themes | Documentation sites |
Each package builds on the one above it: the CSS package reads the palette, the Tailwind theme reads the CSS tokens, and the Vue components are styled with the Tailwind theme.
How it works
Section titled “How it works”- Flavors are attributes.
data-flavorpicks one of four palettes,data-themesays whether it is dark or light,data-accentre-points the primary color. They work on<html>or on any nested element. See Flavors & theming. - Semantic tokens first. Components read roles such as
--nw-canvas,--nw-fg-mutedand--nw-primary, never a raw palette color, so a flavor or accent change restyles everything at runtime without a rebuild. See Color roles. - Cascade layers. The CSS ships in
theme,base,componentsandutilitieslayers, the same names Tailwind uses, so the two compose without specificity fights. - Nothing from the network. Space Grotesk, Inter and Martian Mono are bundled as local
woff2files withfont-display: swap, loaded from@nyxwire/css/fonts.css, which every entry point imports. - Gated contrast. Every text color meets WCAG AA or better on the backgrounds it is meant for, in every flavor, and a failing color fails the palette build. See Accessibility.
Where the identity comes from
Section titled “Where the identity comes from”The accents were designed in OKLCH and frozen as hex: three dark flavors share them, and Lumen carries deeper values that keep 4.5:1 on light backgrounds. The palette gate also enforces identity: every base stays at least 0.03 ΔEOK from sixteen popular dark and light themes (Catppuccin, Rose Pine, Tokyo Night, Dracula, Nord and friends), so a Nyxwire page is never anyone else’s terminal by accident. Motifs are opt-in utilities: use one or two on a page, not all six on one card.