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

Categorize Paragon's SCSS variables into design token types #1542

Closed
Tracked by #246
viktorrusakov opened this issue Aug 12, 2022 · 0 comments
Closed
Tracked by #246

Categorize Paragon's SCSS variables into design token types #1542

viktorrusakov opened this issue Aug 12, 2022 · 0 comments

Comments

@viktorrusakov
Copy link
Contributor

viktorrusakov commented Aug 12, 2022

Before implementing style dictionaries we need to understand what type of design tokens Paragon will have

AC

  • understand what kind of tokens are generally used by the community and decide what would be the appropriate types for Paragon (e.g., colors, typography, spacing, what else?)
  • inspect Paragon's SCSS variables and assign them a specific type based on the result of the previous step
  • define and document JSON schema based on the steps above, attach it to this issue and present it on Paragon Working Group meeting, e.g. for color category schema might look like this:
    {
      "color": {
        [variant]: {
          [level]: {
            "value": [color-value],
            "themeable": true
          },
        }
      }
    }

Useful links:

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

No branches or pull requests

2 participants