Skip to content

fix(harness): warn about undefined style tokens - #476

Merged
tenphi merged 1 commit into
mainfrom
fix/harness-unknown-tokens
Nov 23, 2026
Merged

tenphi merged 1 commit into
mainfrom
fix/harness-unknown-tokens

Conversation

@tenphi

@tenphi tenphi commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Warn when an authored #color or $token still needs a CSS value and the loaded config defines tokens.
  • Recognize built-in properties, declarations in the styles object, configured properties, and values with CSS fallbacks.
  • Cover state maps, compound colors, and the JSON CLI output.

Verification

  • pnpm test
  • pnpm typecheck
  • pnpm lint
  • pnpm format:check
  • pnpm build && pnpm size
  • pnpm check:harness

Closes #473

@github-actions

Copy link
Copy Markdown
Contributor

📦 Snapshot release

Published 0.0.0-snapshot.383d763.

pnpm add @tenphi/[email protected]

@tenphi
tenphi merged commit 289507b into main Nov 23, 2026
7 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 23, 2026

This branch was successfully deployed

1 active deployment
release — 34223664 Deployed Nov 23, 2026 by tenphi via Build & snapshot release #1284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tasty:styles does not flag #color or $token names that the loaded config does not define

1 participant