google-labs-code / google-labs-code/design.md
Support for different modes/themes?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for promoting an open standard for DESIGN.md. Our token set has ~100 role tokens maintained in parallel for light and dark. What if the spec were extended to support something like this?
---
version: alpha
name: AcmeOrg
themes: [light, dark]
default-theme: light
colors:
surface: { light: "#ffffff", dark: "#1b1a18" }
on-surface: { light: "#2a2825", dark: "#f3f0ec" }
brand-accent: "#5f3dc4"
components:
button: { backgroundColor: "{colors.surface}" } # resolves per active theme
---
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the DESIGN.md format specification and the proposed YAML example in this issue. Define the scope and behavior for themes, defaults, token values, and component references, then document the agreed format and its expected resolution behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100