Open brian-smith-tcril opened 1 month ago
Some thoughts on the functionality of the migration command
This command should do the following:
paragon/_variables.scss
$tooltip-color-light: $primary !default;
tokens/src/themes/light/components/Tooltip.json
{
"color": {
"tooltip": {
"light": { "value": "{color.primary.base}" }
}
}
}
Color system
White
https://github.com/openedx/paragon/blob/4a00bb19f999b850d257b9b68f2a5f428c88f48a/scss/core/_variables.scss#L8
https://github.com/openedx/paragon/blob/0e16dbbff83b7e1ee72b93205b193feb3a99603a/tokens/src/themes/light/global/color.json#L3
Gray
https://github.com/openedx/paragon/blob/4a00bb19f999b850d257b9b68f2a5f428c88f48a/scss/core/_variables.scss#L9-L17
https://github.com/openedx/paragon/blob/4a00bb19f999b850d257b9b68f2a5f428c88f48a/scss/core/_variables.scss#L20-L34
https://github.com/openedx/paragon/blob/0e16dbbff83b7e1ee72b93205b193feb3a99603a/tokens/src/themes/light/global/color.json#L30-L121
Black
https://github.com/openedx/paragon/blob/4a00bb19f999b850d257b9b68f2a5f428c88f48a/scss/core/_variables.scss#L18
https://github.com/openedx/paragon/blob/0e16dbbff83b7e1ee72b93205b193feb3a99603a/tokens/src/themes/light/global/color.json#L4