9 of 15

Audit findings beside a tier diagram, in which primitives map to accent background tokens, then to button tokens.
Audit findings and the three token tiers

Mindtickle · Design-systems lead

Stencil Tokens

How I gave Stencil, Mindtickle's design system, a layered token structure for color and typography.

Impact

  • 4 of 5 products had moved over 90% of their colors to the new tokens when I left.
  • 2 products moved fully to the typography tokens.
  • With aliasing, an accent color change takes 1 token edit instead of 6.

The problem

Stencil was Mindtickle's shared design system, used by the product design and engineering teams across its 5 products. When I joined, it had no token structure. A color change meant edits in many places, and some colors failed WCAG AA contrast.

What I did

I led Stencil mostly as a one-person team (see Stencil Governance for the team) and owned the token foundations for color and typography: the architecture, the definitions and the mapping. I built the structure in code with the lead engineer.

  • Three tiers: primitives feed semantic tokens, which feed component tokens. For example, persianBlue70 → color.bg.accent.hover → buttonBackgroundHover.
  • The key call: three tiers over one flat set, so a change is made once at the right level, and every name says what the token is for. A developer put it plainly: a raw name like --fs-s "doesn't tell me anything".
  • A 4-part name: namespace, object, base and modifier.
  • Aliasing, so tokens point to one source instead of copying its value.
  • Cleanup. I removed the unused colors, then we audited the rest against WCAG AA.
  • Color and type sets: semantic color tokens for text, backgrounds, borders and icons, and primitive type tokens that feed styles named by role. I mapped the old text styles in code onto those styles.

What didn't ship

My automated color generator was approved but never built, for lack of engineering time. Its approved design projected 7 inputs instead of 92 hand-edited token values for a full color update. That would cut an update cycle from 3 hours 44 minutes to 14 minutes.

Where it stands

Shipped. The token structure is in code, and when I left, more products were moving onto it, color ahead of typography. It supports dark and high-contrast modes, but those hadn't shipped product-wide.

More results

  • I maintained and kept up Stencil's token and component libraries and its design-system management tool: 125 tokens in all, for color and typography.
  • I removed 100% of the unused colors.
  • 89 semantic color tokens cover text, backgrounds, borders and icons.
  • 22 primitive type tokens feed 14 styles named by role: display, heading, body and label.
  • I mapped the 36 old text styles in code onto those 14 styles.

Manyu Varma

മന്യു വർമ്മ

I design and build design systems for people and AI agents: tokens, governance, release tooling, and guidelines that agents can follow.

Highlights

Work

Agentic

Early AI

Pre-AI

Hold Alt or Option to see the spacing.