Skip to content

Fixes to get token colour definitions to work.#42

Closed
obscherler wants to merge 3 commits intoedly-io:ahmed-arb/test-design-tokensfrom
epfl-cede:oscherler-openlearnity/design-tokens
Closed

Fixes to get token colour definitions to work.#42
obscherler wants to merge 3 commits intoedly-io:ahmed-arb/test-design-tokensfrom
epfl-cede:oscherler-openlearnity/design-tokens

Conversation

@obscherler
Copy link
Copy Markdown

  • Fix the path in the build-tokens script so that tokens are processed;
  • Fix the structure of the token file so that colour definitions are taken into account;
  • Change the usage of the --pgn-color-primary variable to --pgn-color-primary-base so that the variables defined by the token file have an effect.

I think if the SCSS variables were replaced with the paragon replace-variables command instead of manually, with an adequate token file, it would have been automatic (color.primary.base has "source": "$primary", so $primary would be replaced by --pgn-color-primary-base.)

@obscherler
Copy link
Copy Markdown
Author

Please disregard, I started over in #43 and got much further.

@ahmed-arb ahmed-arb closed this Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants