Skip to content

docs(demos): point the theme-variant section at the real asset paths and palette file - #4068

Merged
max-sixty merged 1 commit into
mainfrom
nightly/clean-34678483266-demo-docs
Sep 12, 2026
Merged

max-sixty merged 1 commit into
mainfrom
nightly/clean-34678483266-demo-docs

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Two references in docs/demos/CLAUDE.md point at files and directories that do not exist, so anyone following them to change a demo's colors or find a recorded GIF lands nowhere.

  • The Light/dark theme variants section lists the outputs as docs/light/wt-core.gif and friends. The build writes them to docs/public/assets/<target>/<theme>/<name>.gif (OUT_DIR in docs/demos/build), which is exactly what the directory-structure block at the top of the same file already says — the two sections contradicted each other.
  • The same section points at _variables.html as the palette source. That file was removed in docs: rebuild the site with Astro and Starlight #3866 when the site moved to Astro and Starlight; the --wt-* custom properties now live in docs/src/styles/custom.css, which is also what docs/demos/shared/themes.py names in its own docstring.

Documentation-only, so there is no regression test to add; the claims are verified against docs/demos/build and against the file's own structure block.

@worktrunk-bot worktrunk-bot added the nightly-cleanup Issues found by nightly code quality sweep label Sep 12, 2026
@max-sixty
max-sixty merged commit 240fd01 into main Sep 12, 2026
37 of 47 checks passed
@max-sixty
max-sixty deleted the nightly/clean-34678483266-demo-docs branch September 12, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nightly-cleanup Issues found by nightly code quality sweep

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants