Skip to content

feat: support scheme outline colors - #15

Draft
e-simpson wants to merge 2 commits into
mgcrea:mainfrom
e-simpson:codex/scheme-outline
Draft

feat: support scheme outline colors#15
e-simpson wants to merge 2 commits into
mgcrea:mainfrom
e-simpson:codex/scheme-outline

Conversation

@e-simpson

@e-simpson e-simpson commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR extends the semantic scheme: modifier to outline colors while preserving #14's integer and arbitrary opacity handling.

Dependency / merge order

Please merge #14 first, then #15.

This draft branch is now intentionally stacked on #14 so the combined implementation and conflict resolution are already tested. Until #14 lands, GitHub shows both commits in this PR. After #14 is merged into main, the base diff reduces to the outline-specific change.

Changes

  • Recognizes outline-* color utilities in scheme expansion.
  • Excludes outline widths, offsets, styles, outline-hidden, and non-color arbitrary values.
  • Preserves integer and arbitrary opacity suffixes:
<View className="scheme:outline-brand/25" />
<View className="scheme:outline-brand/[.37]" />
  • Keeps configurable dark/light suffixes and both-variant validation.
  • Documents outline scheme support.

Validation

  • bun run spec -- src/parser/modifiers.test.ts src/parser/colors.test.ts — 167 passed
  • bun run check
  • bun run lint
  • bun run format:check

@e-simpson
e-simpson force-pushed the codex/scheme-outline branch from 8ee83d5 to 05b512b Compare July 28, 2026 02:05
@e-simpson
e-simpson force-pushed the codex/scheme-outline branch from 05b512b to 2ed0bfd Compare July 28, 2026 18:39
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