Palette
@nyxwire/palette: four flavors of 24 colors, frozen as hex with RGB, HSL and OKLCH, shipped as
JavaScript, JSON and CSS. A contrast gate checks every color. Palette
Palette
@nyxwire/palette: four flavors of 24 colors, frozen as hex with RGB, HSL and OKLCH, shipped as
JavaScript, JSON and CSS. A contrast gate checks every color. Palette
CSS
@nyxwire/css: tokens, locally bundled fonts, a base layer and framework-free nw-*
components, from buttons to HUD panels. CSS components
Tailwind
@nyxwire/tailwind: a CSS-first Tailwind 4 theme with semantic colors, glow, wire and cut
utilities, flavor variants and a merge config. Tailwind setup
Vue
@nyxwire/vue: Nw* components on Reka UI, styled with the Tailwind theme, plus NwProvider
and useFlavor. Vue
Astro & Starlight
@nyxwire/astro adds a flash-free flavor runtime and a layout; @nyxwire/starlight themes
every Starlight surface, this site included. Astro
Showcase
A fictional product landing page that uses the whole system, one flavor switch away from a different mood. Showcase
Abyss, Nocturne and Twilight share one set of neon accents over different neutral ramps; Lumen carries a deeper accent set for light pages. Each preview is a nested scope, so a single page can mix flavors:
<article data-flavor="lumen" data-theme="light">…</article>Near-black indigo, for dense dashboards and HUDs.
data-flavor="abyss"Deep electric indigo, the default.
data-flavor="nocturne"Dusky violet-indigo, the softest dark.
data-flavor="twilight"Lavender daylight, the light flavor.
data-flavor="lumen"pnpm add @nyxwire/css@import '@nyxwire/css';<html data-flavor="nocturne" data-theme="dark"></html>The installation guide covers Tailwind, Vue, Astro and Starlight.
Nyxwire is indigo-first, not cyan-first: the accents were designed in OKLCH and the gate fails the build when any two accents come within ΔEOK 0.06 of each other, so volt reads as warning, not as ice at a different size. The signatures are cut corners, a primary-to-secondary wire edge, neon glow, scanlines, a circuit grid and a hover glitch. Every accent meets 4.5:1 on all four page backgrounds in its flavor, and the palette’s base stays at least 0.03 ΔEOK away from sixteen popular themes, so Nyxwire pages do not read as anyone else’s terminal.