@xenolithengine/graph-theme-xen
v0.7.0-beta.3
Published
Xen — the default original design system for XenolithGraph. Dark / gold palette with typed pins, categorical headers, and glassmorphic effects.
Maintainers
Readme
@xenolithengine/graph-theme-xen
Xen — the default original design system for XenolithGraph.
Beta — public API in
STABLE-API.mdis the surface we plan to freeze, but it is NOT frozen yet — breaking changes can land at any point before v1.0. If you adopt now, pin an exact version.
A dark, gold-accented visual language with typed pins (circle / empty-circle / chevron), four category-coloured headers (logic green / data blue / macro purple / utility white), and glassmorphic header effects.
The Figma source is the canonical authority for all visuals. Static reference assets — including the SVG export and screenshots of all node variants — live under reference/.
Usage
import { xenTokens } from '@xenolithengine/graph-theme-xen'
import { Editor } from '@xenolithengine/graph-editor'
const editor = new Editor({ theme: xenTokens })Partial overrides:
const editor = new Editor({
theme: {
...xenTokens,
pinType: {
...xenTokens.pinType,
float: { ...xenTokens.pinType.float, color: '#7FE067' },
},
},
})Design rules
- Edge colour follows the source pin's type colour. A green-out pin produces a green wire. This is an invariant of the Xen system.
- Selected nodes wear a 1 px white border with a soft white glow. Hovered nodes wear a 1 px brand-yellow border with a soft yellow glow.
- Pin shapes carry meaning. Filled circle — typed value. Empty circle — typed but unconnected (
wildcard). Chevron —execflow pin. - Header backdrop blur is rendered to a cached texture at theme load — it is not recomputed per frame. See ADR-0004.
- Pill nodes are the collapsed-summary form of any standard node, carrying only essential pins and a horizontal accent glow.
