system-ui / theme-specification

A specification for defining theme objects & design tokens for use with UI components

Home Page:https://system-ui.com/theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - convert theme to SCSS variables

yairEO opened this issue · comments

Love the theme spec. Been using on some projects with great success (with the awesome xstyled)

Is there any way, when working on vanilla codebase, to convert (using some npm script assumably) the theme to SCSS variables?

I would expect such solution to read the theme file, create a SCSS file with the variables which could be imported & used by other SCSS files

Thanks!