Skip to content

Support for different modes/themes? #13

Description

@craigsmitham

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
---

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions