Is a command line utility that will generate the design-system or theming css file from a penpot file.
Note
This project is just beginning, but feel free to report an issue or suggest a feature
The purpose is to keep the design as the source of truth for anything related to the global styles of the app.
So changes in the design can be applied at once.
This tool uses clojure (similar to what penpot uses clojurescript).
You will need Java installed.
You will need the penpot access-token, and the file-id of the project you want to generate the CSS.
export PENPOT_ACCESS_TOKEN=<access-token>
export PENPOT_FILE_ID=<file-id>Running will look like this
clojure -M -m penpot-styles.entry -t $PENPOT_TOKEN -f $PENPOT_FILE_IDManual is available on with -h
clojure -M -m penpot-styles.entry -hWorking in JS files, you may want to consider a more official tool penpot-export.
- adding
btncomponent
- removing memoize
- minimal publishable version
- supporting colors and typographies
- output can be file
- flag to minify css