Solution · Design systems

Design-system QA

For design-system and frontend teams shipping Vue component libraries or shadcn-vue based apps, the-doctor scores design quality as its own 0-100 number. The design subcommand, powered by shadscan-vue, checks accessibility, interaction states, forms, and polish, while design rules in the main audit flag raw hex colors, arbitrary Tailwind values, inline styles, and other token drift.

A design score you can gate

Run the design audit on the library and on the apps that consume it. --fail-under turns it into a CI gate that is independent of the health score.

Terminal
npx @geoql/vue-doctor design packages/ui --fail-under 80
npx @geoql/vue-doctor --dimension design

Catch token drift

Design tokens only work if people use them. These rules surface the escape hatches:

  • no-raw-hex-color and no-default-tailwind-palette
  • no-arbitrary-tailwind-values and no-hardcoded-inline-style
  • no-important-utility and no-absurd-z-index
  • no-missing-alt and no-pure-black-background

Score the library separately

In a monorepo, push the component package and each consuming app as separate workspaces. The dashboard then shows whether drift starts in the library or in the apps.