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

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.

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.

Approach

I led Stencil and owned the token foundations for color and typography: the architecture, the definitions and the mapping. The structure was built in code together 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. Tokens point to one source instead of copying its value.
  • Cleanup. The unused colors were removed, then the rest were audited 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. The old text styles in code were mapped onto those styles.

Setbacks

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.

Products on the new tokens, out of 5

Color counts products with over 90% of their colors moved; typography counts products moved fully.

Count
Color4 of 5
Typography2 of 5

More results

  • I maintained 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

മന്യു വർമ്മ

Thinking beyond just consistency, building design systems at scale through robust yet flexible foundations, strategy and planning, relevant design, and AI workflows.

Highlights

Work

Agentic

Early AI

Pre-AI

Hold Alt or Option to see the spacing.