google-labs-code / google-labs-code/design.md

Support for different modes/themes?

Open
#13 11 comments 21 reactions 0 assignees View on GitHub

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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.