Zach Louden
Case Study · 2025–2026

LintKit

A Figma plugin that finds design-system drift in your files — and fixes it in one click. I designed and built it end to end.

Role
Designer & Developer
Year
2025–2026
Links

Overview

Design files drift. A raw hex value here, 7px of padding there, a detached text style, a layer still named "Frame 1." None of it is obvious on the canvas, but all of it lands on a developer's desk at handoff — where someone has to guess which token was meant.

Most Figma linters stop at pointing out the problem. I wanted a tool that also fixes it, using the team's own libraries as the source of truth. LintKit checks 24 rules across styles, layout, components, cleanup, values, and accessibility, then offers a specific fix for every finding.

The design linter Figma should have built: find every inconsistency, fix it in one click.

Scan, review, fix

Open LintKit in any file and it scans the current page, groups findings by rule, and scores the file against your design system — with a severity breakdown and a read on whether it's ready for handoff.

LintKit compliance dashboard with score and severity breakdown
The compliance dashboard after a scan.

Clicking a finding selects the affected layers on the canvas. The inspector shows what's wrong, which layers it touches, and the ways to resolve it: apply a fix, skip it, or mark it as an intentional exception.

Findings list next to the inspector panel
The compact findings list and the inspector, side by side.

Smart Replace

Picking the "closest" library color by hex distance gives bad answers — two colors can be numerically close and look different, or the reverse. Smart Replace converts colors to Lab space and ranks library styles by ΔE2000, a perceptual color-difference formula, so suggestions match what the eye actually sees. The delta is shown before you commit to a change.

Library color matches ranked by Delta E 2000
Library matches ranked by perceptual distance.
A suggested fix with a low-confidence explanation
Suggestions show their confidence, and why.

One-click fixes

Every fix is its own undo step in Figma, so it's safe to move fast. When the same problem shows up dozens of times, Bulk Fix resolves every instance at once — all 47 orphaned blues, not one at a time.

Picking a fix — a library style or Smart Replace's best match — and applying it.

Beyond color

Styles are only part of the picture. LintKit also catches off-scale spacing and radii, grid misalignment, broken instances, components pulled from unapproved libraries, near-duplicate styles, hidden layers, default names, and text that fails WCAG contrast.

Contrast finding with recommended library colors
Contrast failures, with passing colors from your library.
Spacing finding snapping padding to the spacing scale
Padding and gaps snapped to your spacing scale.
Components coming from an unapproved library
Components from unapproved libraries.
Near-duplicate color styles ready to merge
Near-duplicate styles merged into one.

Built around your design system

Rules shouldn't need hand-tuning. LintKit connects to Tokens Studio or syncs token files from a GitHub repo, then configures its spacing, radius, and color rules from those definitions — so the linter enforces the system the team already agreed on.

Connecting design tokens to configure the rules.

For design reviews and audits, findings export as JSON for automation, CSV for spreadsheets, or a shareable HTML report.

LintKit HTML audit report open in a browser
The exported HTML audit report.

Building it

I designed and built LintKit myself — product, interaction design, and code. The plugin is React and TypeScript on the Figma Plugin API, with the color science (RGB-to-Lab conversion and ΔE2000 matching) implemented in-house rather than pulled from a library.

Privacy was a design constraint from the start. Scanning and fixing run entirely inside Figma's plugin sandbox, and no design data leaves the file. Every network call is optional: Figma's own API for library lookups, token syncing, and a small Cloudflare Worker that validates Pro licenses.

Around the plugin I also shipped the onboarding, the marketing site, the documentation, and subscription licensing. LintKit is live on Figma Community.

Next project

StreamSets Cloud

→