Build "design-first" design systems
Style Forge is a Figma-based tool that truly makes Figma the source of truth for a design system.
Convert Figma files into JSON objects, ready to integrate with style systems such as styled-components or Emotion.
Coming soon...
To install Style Forge in your project with npm:
npm i @monsterww/style-forge
To install Style Forge in your project with yarn:
yarn add @monsterww/style-forge
To create a theme:
import { StyleForge } from '@monsterww/style-forge';
...
const theme = StyleForge.getThemeData(token, fileId);
The basic getThemeData
call takes two props:
- figmaToken - the Figma Personal Access Token to use
- figmaFileKey - the identifying key for the Figma file to parse. This can be found in the Figma file's URL.
“noun-ball-plan-hammer” by Pascal Hess / CC by 3.0
“noun-metalworking” by Symbolon / CC by 3.0