paragon/lib
Kshitij Sobti b46e241866
feat: Better support for multiple themes (#2792)
* feat: Better support for multiple themes

This change adds support for two CLI options to the build-tokens
command.

The first, --all-themes makes the build-tokens command process all
themes in the source directory as opposed to specifying all the names
via --theme.

Secondly, --base-paragon-theme allows you to have multiple themes derived
from the same common base. If specified, you can have a derived theme that
still loads tokens from the light theme. For example, you can have a
site theme called 'theme-one' and set the base theme to light so it will
reuse the core light theme tokens and layer on changes from 'theme-one'.

* fixup! feat: Better support for multiple themes

* fixup! fixup! feat: Better support for multiple themes
2025-11-03 10:21:24 -05:00
..
__tests__ feat: add serve-theme-css command to Paragon CLI 2025-07-03 11:31:15 -04:00
build-scss.js feat(cli): add `excludeCore` flag for `build-scss` (#3606) 2025-05-22 14:41:32 -04:00
build-tokens.js feat: Better support for multiple themes (#2792) 2025-11-03 10:21:24 -05:00
help.js chore: added tests for Paragon CLI (#3498) 2025-05-14 10:13:04 +03:00
install-theme.js refactor: added dynamic imports 2024-11-26 12:15:31 +02:00
migrate-to-openedx-scope.js refactor: added dynamic imports 2024-11-26 12:15:31 +02:00
queryParamEncoding.js feat: add serve-theme-css command to Paragon CLI 2025-07-03 11:31:15 -04:00
replace-variables.js refactor: added dynamic imports 2024-11-26 12:15:31 +02:00
serve-theme-css.js feat: add serve-theme-css command to Paragon CLI 2025-07-03 11:31:15 -04:00
utils.js refactor: added dynamic imports 2024-11-26 12:15:31 +02:00
version.js chore: clean up outdated eslint-disable (#3488) 2025-10-14 09:56:34 -04:00