← Back to work

Design system · Designed & built

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.

Role
Design, token architecture, components, build pipeline, and docs
Timeline
June 2026 to now · 19 releases
Tools
Figma, Node, Astro, React, Radix, SwiftUI
Focus
Design systems, accessibility, multi-brand, multi-platform
flint.innersparkmedia.com
The Flint docs siteThe Flint documentation home page. A side nav lists Get started (Web and CSS, React, MUI, shadcn/ui, iOS and SwiftUI), Foundations (including Brands and platforms), Components, iOS components, Workbench, and Guides. The main area traces one decision, the primary button fill, from the blue color ladder to a semantic token, to a component token, to the code each platform ships: CSS, React, MUI, shadcn, and Swift.FlintDesign SystemWorkbenchDarkGet startedWeb and CSSReactMUIshadcn/uiiOS and SwiftUIFoundationsColorBrands and platformsIllustrationComponentsButtonDialogiOS componentsTab barSheetWorkbenchGuidesFlintGet startedBrowse foundationsOne decision, every platformPrimitivecolor.blue#1550a0step 700, light#93c5fdstep 300, darkSemanticaction.primarylightdarkComponentbutton.primary.bglightdarkPlatformsCSS--button-primary-bgReactvariant="primary"MUIpalette.primary.mainshadcn--primarySwiftComponent.buttonPrimaryBg

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.

Before and after: copied colors versus one sourceBefore: four products each keep their own copy of the primary blue, and the copies have drifted to three different hex values. After: one token, action.primary, is built into four outputs, a CSS variable, the MUI palette, the shadcn primary variable, and a Swift color, all landing on the same value.Before: copied by handAccessSpark appMUI theme file#1550a0Marketing siteCSS variables#1a5fa8Consulting siteIts own stylesheet#2767cciOS appsHex typed into Swift#1a5fa8One "primary blue." Three values. No check.After: one sourcetokens.jsonaction.primary= blue.700CSS--color-action-primaryMUIpalette.primary.mainshadcn/ui--primarySwiftUIColors.actionPrimaryOne value. A build that fails if any platform disagrees.
The problem and the fix. Illustration: the before is simplified, the after is the real build output.

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.

Three token tiersPrimitives: 87 colors on 8 ladders that nobody uses directly. Semantic: 65 tokens per mode that apps use, each pointing at one ladder step in light and another in dark, for example action.primary points at blue 700 in light and blue 300 in dark. Component: 134 tokens that components use, each pointing at a semantic token, for example button.primary.bg points at action.primary, so it follows light and dark on its own.Primitives87 colors on 8 ladders. Nobody uses these.300700blue, sky, gray, slate, green,amber, red, violetSemantic65 per mode. Apps use these.action.primaryLight{blue.700}Dark{blue.300}Light and dark split here, once.Every pairing is checked at 7:1for text and 3:1 for edges.Component134 tokens. Components use these.button.primary.bgpoints at{semantic.action.primary}Save tripSave tripNo mode of its own. It follows.
Three tiers. Light and dark split once, at the semantic tier. Real token names and counts from v1.16.

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.

The workbench turns differences into findingsA grid of input states down the side, Default, Hover, Focus, and Error, and three implementations across, MUI, shadcn, and plain CSS. The shadcn and plain CSS inputs draw a clear edge at 4.8 to 1. The MUI inputs draw a faint edge at about 1.6 to 1, under the 3 to 1 minimum, and are flagged as a finding filed as ASDS-44.StateMUIshadcnPlain CSSDefaultHoverFocusErrorCampsite nameCampsite nameCampsite nameFindingMUI's default edge isabout 1.6:1. Flint needs 3:1.shadcn and CSS draw 4.8:1.Filed as ASDS-44
Three implementations of the same spec, side by side. Where they differ, that is a finding. Simplified from the live workbench. ASDS-44 shipped in v1.15, and a fourth column now shows Flint's own React components.

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.

Brand and platform layersLeft: four layers stacked in the order they apply. One, base: tokens.json, the Flint brand on the web. Two, brand: a brand file that can override any token. Three, platform: the iOS file, which changes sizes, targets, and type but never color. Four, mode and density: light or dark, comfortable or compact, switched while the app runs. Right: the same card in four brands. Flint and AccessSpark match. Inner Spark Media keeps the blue button and uses its orange for the focus ring. Inner Spark Studio uses a lighter body text color that still clears 7 to 1.Four layers, in order1 Basetokens.json, the Flint brand on the web2 Brandbrands/<brand>.json can override any token3 Platformplatforms/ios.json: sizes, targets, type. Never color.4 Mode and densityLight or dark, comfortable or compact, at runtimeSame card, four brandsFlintSix pages scanned.Fix issuesShareAccessSparkSix pages scanned.Fix issuesShareInner Spark MediaSix pages scanned.Fix issuesShareInner Spark StudioSix pages scanned.Fix issuesShareFocus ring shown on Share. Inner Spark Media's card radius is 8, the others 12.
Brands and platforms merge onto the base before the build resolves anything. Values from each brand file in v1.16.

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 build gatetokens.json goes through the build, then three gates in order. Contrast: 134 pairings per mode in each of four brands, text at 7 to 1, edges at 3 to 1. Parity: 1,114 checks that CSS, MUI, shadcn, and Swift land on the same values in light and dark. Pages: zero axe violations on all 131 docs and workbench pages in light and dark, both densities, plus focus checks. Passing all three leads to a release. Any failure stops the release.tokens.json+ buildContrast134 pairings per mode, 4 brandsText at 7:1Edges, focus, charts at 3:1Parity1,114 checksCSS, MUI, shadcn, SwiftSame value, light and darkPages131 pages, 0 axe violationsLight, dark, both densitiesFocus lands and holdsReleaseAny failure stops the release
What every build checks, with the real numbers from v1.16.
Docs that cannot driftEvery value, ratio, and code sample on the docs site is read from the build. Nothing is typed by hand.
A live workbenchEvery component as MUI, shadcn/ui, plain CSS, and Flint React, every state, light and dark.
iOS componentsSwiftUI components and Apple's own bars in Flint type, with Liquid Glass on iOS 26 and later.
Four brands, one buildEach brand ships its own CSS, JavaScript, and Swift product, checked to the same bar.
A phone in the docsAn iOS preview with Dynamic Type, Reduce Transparency, and captions of what VoiceOver says.
Charts for color blindnessChart colors simulated for three types of color blindness on every build.

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.

Auditing Flint with AccessSparkA loop with four steps. One, AccessSpark audits the live Flint docs. Two, it finds 83 failures and 548 issues, overall score 83. Three, the fixes: page structure, security headers, and SEO in the docs, Storybook replaced with a built-in workbench, and five false positives flagged back to AccessSpark. Four, the re-audit scores 94 with zero failures, and the loop returns to step one on the next release.1. AuditAccessSpark crawls thelive Flint docs.2. Findings83score, 83 failures,548 issues3. FixesHeadings, headers, SEOStorybook replaced5 false positives flaggedback to AccessSpark4. Re-audit94score, 0 failures,131 issues leftRuns again on every release
Real numbers from two AccessSpark crawls of flint.innersparkmedia.com on October 13, 2026. The 131 issues left are warnings and info. None are failures.
4 × 2
Brands and platforms on one token source, every combination checked
1,114
Parity checks on every build, from the build log
83 to 94
AccessSpark score for the docs, with failures from 83 to 0

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.

Next case studyD&B Hoovers