[alpha] Refactoring the generate-component script
PKulkoRaccoonGang opened this issue · comments
After switching to design tokens, in the Paragon repository (alpha branch), we stopped using the _variables.scss
file in Paragon components. Given these changes, we must update the internal generate-component
script in order to correctly generate the template for new components. This script still creates the _variables.scss
.
We also need to update the documentation about the component generator on the corresponding page of the Paragon website
Since we are not adding many components, will we need a "component generator"? I would consider deprecating the component generator altogether and removing it from the code base. 🤔
@adamstankiewicz Verify whether the Segment event with this CLI command is used by consumers.
Let's not delete this script, it might be usefull in the future and it does not hurt anybody if it stays in the repository.
@PKulkoRaccoonGang please make these fixes, it will take you at most 10 minutes to do this 🙂
Resolved in: #3076