Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
paragon build-tokens --build-dir ./styles/css
  1. 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
languagejs
paragon replace-variables -p src -t usage

paragon replace-variables -p src -t definition
  1. build-scss

This command compiles Paragon's core and themes SCSS into CSS. You can customize the compilation process using various options:

...

Code Block
languagejs
paragon build-scss --corePath ./styles/scss/core/core.scss --themesPath ./styles/css/themes --outDir ./dist/css --defaultThemeVariants light
  1. help

You can display help for any specific command by using the help command followed by the command name.

...