a11y-theme-builder icon indicating copy to clipboard operation
a11y-theme-builder copied to clipboard

[TB] Investigate using JSON Tokens in CSS

Open aaronreed708 opened this issue 1 year ago • 4 comments

Problem/Concern

@lwnoble has come to understand that groups are using JSON tokens (e.g. Figma tokens) in CSS. The goal of this issue is to investigate whether this is possible. If we don't have to support generating both CSS and JSON, that will save us time and effort. We need to understand, at a minimum:

  • is it possible to use JSON tokens in CSS (e.g. can a design system be expressed solely as design tokens and be digestible by a React project)?
  • if it is possible, is there a difference in the structure of Figma tokens and the JSON tokens that have been evaluated?
  • if there is a difference, what would that mean to Theme Builder?

Lise believes that @brycecurtis has information on this, @lwnoble and @aaronreed708 to follow up with him.

Proposed Solution

aaronreed708 avatar Jan 04 '24 05:01 aaronreed708