Flint: one design system for four brands, web and iOS, checked on every build
The design system under AccessSpark, Inner Spark Media, and this site. One token source feeds CSS, React, MUI, shadcn/ui, and SwiftUI for four brands, and every build proves they match and that text clears 7:1.
The context
I run several products on my own: AccessSpark (a React app on MUI), its marketing site (Astro), the Inner Spark Media site (EJS), this portfolio (Astro), and two iOS apps. They share a type system and an accessibility bar. Some of them should look different from each other, and none of them should drift by accident.
Every product had its own copy of the colors and type. Copies drift, and mine drifted all the time. A blue got nudged in one place and not the others. A font size changed on one site and nowhere else. The iOS apps had hex values typed in by hand. A stray release tag even made the token repo look like a 2.x release when it was on 1.8. Nothing broke loudly. It all just slowly stopped matching.
For an accessibility company, drift is worse. A color that passed contrast in one product could fail in another, and nobody would know until an audit found it.
What I owned
All of it. This is my system for my own products, so I did the design, the token setup, the build, and the docs. The Figma library and the code both come from the same decisions, and when they disagree the repo wins.
Token architecture
Primitive ladders, semantic tokens for light and dark, a component tier, and brand and platform layers on top. Naming that reads the same in CSS, JavaScript, and Swift.
Build and checks
The build that turns one file into every platform's format, plus the contrast, parity, and page checks that gate each release.
Components
18 web components as plain CSS classes and as React components on Radix, plus SwiftUI components for iOS.
Docs and workbench
flint.innersparkmedia.com: getting started per platform, foundations, component guidance, iOS previews, and a live workbench.
Figma library
Variables and components that mirror the tokens, so design and code start from the same values.
The constraints
One person maintains it, around a full-time job. That rules out anything that needs a team to maintain. If a rule matters, a script has to enforce it.
Five platforms with different ideas of what a theme is. CSS wants variables. React wants components. MUI wants a theme object. shadcn/ui wants Tailwind variables with its own names. SwiftUI wants a Swift package. The products could not be rewritten to fit the system. The system had to fit them.
The decisions
Tokens in code are the source, Figma follows. Most teams do it the other way: designers own variables in Figma and export them. I didn't. My products ship from code, a script can check code, and a script cannot check a Figma file. The Figma library mirrors tokens.json, and the docs say plainly that the repo wins.
Three tiers, and apps never touch the bottom one. Primitives are the color ladders. Semantic tokens name a job, like text.muted or action.primary, and point at a ladder step for light and another for dark. Component tokens point at semantic ones. A flat list of hex values per theme was the other option. That's how the drift started in the first place: two themes, typed twice, edited once.
Text at 7:1. WCAG AA asks for 4.5:1. I set Flint's bar at 7:1 (AAA) for every text pairing and 3:1 for control edges, focus rings, and chart marks. I could have gone with AA plus a buffer "where it matters," but that turns into a judgment call on every screen. One hard number is something a script can enforce, and an accessibility company should not ship the minimum.
Bridge to shadcn/ui, keep MUI. AccessSpark runs on MUI. I looked hard at moving it to shadcn/ui and decided a rewrite wasn't worth it. Flint ships a shadcn bridge instead, one CSS file that maps every shadcn variable onto Flint, so new work can use shadcn and AccessSpark keeps working. Same tokens, both libraries.
Build my own workbench, drop Storybook. I first built the component workbench in Storybook. Then I audited the live docs with AccessSpark. Flint's components passed. Storybook's own interface did not: missing landmarks, empty button names, removed focus outlines, and I could not fix any of it without forking Storybook. A design system that sells accessibility cannot publish a test bench that fails it. I rebuilt the workbench inside the docs site in about a day.
Components in two layers: plain CSS, then React on Radix. Every component is first a set of CSS classes on the component tokens, so the EJS and Astro sites get it with no framework. React components render those same classes and use Radix for the hard parts: focus traps, arrow keys in menus and tabs, live regions for toasts. Building on MUI would only help the one React app. shadcn/ui's copy-in components would have meant taking on Tailwind. I passed on both. 18 components ship this way, and a small script covers keyboard behavior for pages without React.
Brands and platforms are layers on one system. Flint now serves four brands: Flint, AccessSpark, Inner Spark Media, and Inner Spark Studio, which is this site. Each brand is a short file that overrides tokens. A platform file sets iOS sizes, like 44pt touch targets and Apple's title sizes, and is not allowed to touch color. The build merges them before anything resolves and runs every check for every brand in light and dark. A copy of the system per brand was off the table. That's the drift problem again, four times over. I pulled each brand's values from its live site. Where a site's color missed the bar, the brand uses the nearest step that passes and the file says why.
Let Apple own Liquid Glass. The SwiftUI components style Apple's own tab bar, navigation bar, and sheets instead of replacing them, so VoiceOver and the large text viewer keep working. My first version painted solid Flint backgrounds on those bars. On iOS 26 that quietly switched Liquid Glass off, and Apple's guidance asks apps to remove exactly that. On iOS 26 and later Flint now sets only fonts and the selected tab color, and the system handles the glass, Reduce Transparency, and the Clear and Tinted setting from iOS 26.1. Older iOS versions still get solid Flint bars. I thought about drawing my own glass. It would look close, and it would miss every accessibility setting Apple already wired up.
What shipped
One package, @innerspark/flint, built from one tokens.json plus the brand and platform files. A build turns it into CSS variables, typed JavaScript, component CSS, React components, an MUI theme, a shadcn bridge, a Swift package with SwiftUI components, and a DTCG file for other tools, once per brand. Then it checks itself. A release cannot ship if any gate fails.
The outcome
I pointed AccessSpark at the live docs. The first crawl found real problems in how I had built the site and in Storybook. I fixed mine, replaced Storybook, and crawled again. I kept at it after that, and the docs now pass 100% of the automated tests. Manual testing is next.
The audit also went the other way. Five of AccessSpark's findings were wrong: a rule that only read inline CSS, advice to turn a toggle button into a link, and a rollup that blamed the whole site for Storybook's problems. Those are AccessSpark bugs to fix.
Building the brand layer turned into an audit of my other sites. To pull each brand's values, I checked them against Flint's bar. The Inner Spark Media homepage had a link with no focus ring at all, because it pointed at a CSS variable that was never defined. Its blue focus ring dropped to between 1.0 and 2.2 to 1 on the dark hero bands. I fixed both on the live site. This portfolio's body text clears 7:1 on white but only 6.92:1 on gray surfaces, so the Studio brand moves it one step darker.
The checks caught Flint too. Simulated for color blindness, two chart colors read as the same olive, and in dark mode two were nearly identical. The palette changed, and the build now fails if any two chart colors get too close.
What I'd carry forward
Every rule I care about fails the build when it breaks: 7:1 text, matching platforms, accessible pages. The stuff I left to memory is what drifted.
Audit your own tools too. The workbench existed to catch problems in components, and it turned out to be a problem itself. I only saw it because I ran the same audit on the test bench that I run on the product.
Read the platform's own rules before styling its chrome. My Liquid Glass bug passed every check I had, because no check knew what iOS 26 expects. The fix was one Apple session away.
There's still more to do. This portfolio still carries a hand-copied set of Flint colors, which is exactly the drift Flint exists to stop. The Studio brand now exists, so moving this site onto it is next. The Liquid Glass work builds in CI, and it still needs a pass on real devices.