openedx / openedx/paragon

Clarify `theme` vs `varaint` terminology for design tokens

Open
#3,944 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
140
Forks
100
Avg merge
1h 3m
Merged PRs (30d)
30

Description

The naming throughout documentation and configuration is quite confusing.

Using 2U's elm-theme as an example:

  • Theme name: elm
  • Avaliable variants:
    • light

However, the directory structure leads to the light variant tokens living in /tokens/src/themes/light, making it seem as though light is the name of the theme, with no connection to it being a variant.

To provide a better theme author experience, we should ensure the difference is clear.

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

Review the documentation and configuration references to theme and variant, using the linked elm-theme example and /tokens/src/themes/light structure as context. Clarify the distinction between a theme name and its variants throughout the affected guidance, and confirm that the resulting terminology makes the theme author workflow unambiguous.

Written by the indexing model from the issue text.

Assessment

Domain
design, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.