Figma Tokens Studio JSON → split files → Style Dictionary v3 → SCSS variables, typography classes, and composition classes
Build pipeline that converts Figma Tokens Studio export into SCSS variables and utility classes.
@import auto-wiringsplit-files.js reads monolithic tokens.json and fans out to tokens/{group}/{name}.jsonbuild.js runs Style Dictionary v3 with custom transforms and formats:
hslhsl, typography/shorthand, border/shorthand, shadow/shorthand, size/px, size/letterspacing, type/fontWeight, color/hexrgba, resolveMathcss/variables (SCSS vars), css/typographyClasses (.st-* classes), css/compositionClasses (composition → CSS properties)@import statements to layer index files (_base.scss, _themes.scss, _extend.scss, _semantic.scss)packages/sirius/src/styles/tokens/See content.md for full implementation reference.