Skip to content

refactor: enforce hex color resources#193

Merged
han4wluc merged 1 commit intomainfrom
refactor/hex-color-contract
Mar 11, 2026
Merged

refactor: enforce hex color resources#193
han4wluc merged 1 commit intomainfrom
refactor/hex-color-contract

Conversation

@han4wluc
Copy link
Contributor

Summary

  • make resources.colors[*].hex strict opaque hex only and enforce that during render-state resolution
  • migrate VT specs and docs away from named/rgba color resources, moving transparency to element opacity where needed
  • add project-data schema coverage for valid input, non-hex color rejection, dead projectData.contexts, and VT YAML parse health

Verification

  • bun run test
  • bun run vt:generate
  • VT_DOCKER_TIMEOUT=180000 bun run vt:report

@han4wluc han4wluc merged commit 7c67781 into main Mar 11, 2026
1 check passed
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.

1 participant