Skip to content

docs(palette): copyable hex tables in README, drop SVG swatch - #1

Merged
marekh19 merged 1 commit into
mainfrom
docs/copyable-palette-tables
Jun 2, 2026
Merged

marekh19 merged 1 commit into
mainfrom
docs/copyable-palette-tables

Conversation

@marekh19

@marekh19 marekh19 commented Jun 2, 2026

Copy link
Copy Markdown
Owner

What

README palette was a flat palette.svg — hex codes weren't selectable. Swap it for generated Markdown tables where hex is real text.

  • Tables for both variants (accents + neutrals), hex in code spans → selectable/copyable.
  • Per-color swatches under static/swatches/ keep the color block visible. GitHub strips inline style/bgcolor, so a committed image is the only way to show a swatch.
  • palette_md.lua splices into README between <!-- palette:start/end --> markers. Orchestrator now accepts list-of-writes generators.
  • Drops palette_svg.lua + static/palette.svg.

Verify

  • just extras → regenerates 30 swatches + README, idempotent across re-runs.
  • just check (smoke) passes.
  • just check-fmt clean.

SVG rendered as a flat image — hex codes weren't selectable.

- Replace static/palette.svg with generated Markdown tables (accents +
  neutrals, both variants). Hex is real text now.
- Per-color swatch SVGs under static/swatches/ keep the color visible
  (GitHub strips inline style/bgcolor, so a committed image is the only
  way to show a block).
- New generator palette_md.lua splices into README between markers;
  orchestrator now accepts list-of-writes generators.
- Drop palette_svg.lua.
@marekh19
marekh19 merged commit 8902238 into main Jun 2, 2026
1 check passed
@marekh19
marekh19 deleted the docs/copyable-palette-tables branch June 2, 2026 14:07
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