Add widget theming docs to the skill

Open Beginner friendly
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
documentation

Research direction

Locate the skill documentation and read chart/src/theme.ts as the concrete canvas/WebGL example. Add guidance on choosing --mw-* tokens, creating component-specific tokens, applying themes, and the canvas/WebGL pattern; done means the skill covers these cases without implementing the optional scaffolding question.

Written by the indexing model from the issue text.

Description

We should document how to use the theming tokens (--mw-*). Add a section to the skill covering: which tokens to reach for, when its ok to add your own component-specific token, how to connect/apply a theme and a note on the canvas/webgl pattern (copy chart/src/theme.ts as the starting point) since that one's not obvious without an example. Bonus if the skill can eventually ask a new widget author "is this canvas/webgl based?" and scaffold accordingly, but docs first.

Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/manywidgets

All issues in developmentseed/manywidgets

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.