...
Code Block | ||
---|---|---|
| ||
paragon build-tokens --build-dir ./styles/css |
replace-variables
This command allows you to replace the SCSS variable's usages or definitions with CSS variables and vice versa in .scss files. You can specify the file or directory where the replacements should be made using the filePath parameter. Additional options include:
...
Code Block | ||
---|---|---|
| ||
paragon replace-variables -p src -t usage paragon replace-variables -p src -t definition |
build-scss
This command compiles Paragon's core and themes SCSS into CSS. You can customize the compilation process using various options:
...
Code Block | ||
---|---|---|
| ||
paragon build-scss --corePath ./styles/scss/core/core.scss --themesPath ./styles/css/themes --outDir ./dist/css --defaultThemeVariants light |
help
You can display help for any specific command by using the help command followed by the command name.
...