Phoenix is a token-driven design system for React Native. Colour, type, depth and motion are defined once; every component picks a size and a letter, never a colour. Clean code that is easy to change and understand, for your own personalised app. Dark and light, the same on iOS and Android.
Screens from trainrr, shown with sample data. Backdrop: the Indigo aura.
Every FYNYX app starts from the same system, then gets its own palette, aura and voice.
Six palettes in OKLCH, so every step looks evenly spaced to the eye. Each palette is one dial of hue, saturation and lightness per mode; a shared curve turns it into nine shades. Switch modes and every ramp re-derives from its own dial.
The scale flips with the mode, so gs 0 is always the strongest text and a role written once reads right in both.
Kept apart from the palettes, so a brand change never turns a warning into an accent.
dsp . Barlowbdy . Inter 18ptgst . Geistgro . Space Grotesksrf . itl . InstrumentThe aura is two soft glows behind every screen, baked into an image so they stay smooth on Android. Six presets ship with the generator, one for each kind of business, tuned for dark and light. Pick one: this whole page and the phones above take it on.
Shadow and glow are one drawing, from one 21-step table, on both platforms. In light mode a card lifts on a shadow; in dark mode, where a shadow vanishes, Card A carries a faint blue glow and Card D a purple one. A card can lift and glow at once.
Six letters, A to F. A screen picks a letter; defaults.ts decides its fill, edge, lift and glow per mode. Every value here comes from there.
38 components and 31 compounds, each with a size from 10 to 90 and a few letters. These ones work: pick a plan, open a section.
Three layers, each reading only the one below it. Scripts regenerate the catalogue and scale registry from the code, and a drift check fails the build the moment a screen breaks a rule.
palettes.ts . tokens.tsOKLCH palette dials, greyscale, type ramps, spacing, radius, shadow and glow scales. Numbers only, no meaning.
theme/defaults.tsEvery letter of every component, per mode: fill, density, edge, label, lift and glow. The only place a colour is chosen.
phoenix/componentsTake a size and a letter. They read their roles and never name a colour, so one change to a role reaches every screen.
// palettes.ts - one dial per palette, per mode
pa: { hue: 255, sat: 100, ltn: 45 } // dark
pa: { hue: 250, sat: 100, ltn: 45 } // light
// defaults.ts - the theme owns the look
CARD_A { dark: ['gs', 90], light: ['gs', 100] }
CARD_A_SHD { dark: null, light: 40 }
CARD_A_GLO { dark: pa 50 ds 20, light: pa 40 ds 20 }
// a screen only picks a size and a letter
<CardStnd sz={30} variant="a">
PS> ./start.ps1 === PHOENIX BUILDER === Running catalog (UI inventory)... Running registry (scales, palettes, roles)... Running system-desc (38 components, 31 compounds) Syncing aura backdrops... Running typecheck... PHOENIX DRIFT CHECK rules run 24 new violations 0 PASS - no new drift.