Receber por email
← Voltar para o catálogo

css-token-sweep

Statically scan a CSS / single-file HTML / multi-file frontend project for references to undefined CSS custom properties — the silent class of bug where `color: var(--ink-2)` is written but `--ink-2` is never declared in any `:root { ... }` block, and the text renders invisible because `var()` with no fallback resolves to the unset initial value. TRIGGER this skill whenever the user says any of: "

7estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add tinh2/skills-hub-registry

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/css-token-sweep/svg)](https://www.skillteca.com.br/skills/css-token-sweep)

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

css-token-sweep

Find every var(--name) in a project where --name is not defined in any :root { ... } block. Surface tokens defined in default :root but quietly inherited (not overridden) by theme variants. Optionally flag hardcoded colors that duplicate an existing token's value.

This is the missing lint pass that most design-system codebases never add. Without it, a typo like var(--ink-2) instead of var(--ink-soft) renders text in the unset color (often invisible against a white

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn