Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format: Token taxonomy documentation #11

Open
Sidnioulz opened this issue Nov 13, 2024 · 0 comments
Open

Format: Token taxonomy documentation #11

Sidnioulz opened this issue Nov 13, 2024 · 0 comments

Comments

@Sidnioulz
Copy link
Owner

Examples

Image

Rationale

A large part of what we do with design tokens is build a taxonomy, and implicit relations within that taxonomy. We expect our designers to succeed in using the tokens because we documented how to combine taxonomy elements. Displaying the taxonomy would help designers with discovery (they know what choices they get for a given category within the taxonomy).

It may be too much to ask to document the inner workings of a taxonomy (that boils down to being a generic MD/HTML/CMS doc tool), but a page could be generated that draws the taxonomy as inferred from the data. This could be enriched with group description attributes.

Extra metadata would likely be necessary to name groups of categories and provide a general description for their role in the taxonomy.

Challenges

  • A tokenset could have an inconsistent taxonomy, which could not be displayed
  • Explaining to end users how their taxonomy is inconsistent and why it can't be displayed may be difficult
  • It may be hard to find a general layout that works with a wide variety of taxonomies
@Sidnioulz Sidnioulz converted this from a draft issue Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Proposal/RFC
Development

No branches or pull requests

1 participant