Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JALL-448: Update scripts generating icons #88

Merged
merged 3 commits into from
Dec 4, 2023
Merged

Conversation

dlouhak
Copy link
Contributor

@dlouhak dlouhak commented Nov 27, 2023

Currently we don't share code generator for icons. We would like to have our scripts same as in the Spirit codebase and be able to generate colored icons.

Code has been copied from the https://github.com/lmc-eu/spirit-design-system/tree/main/packages/icons.

@dlouhak dlouhak added feature New feature or request refactoring A code change that neither fixes a bug nor adds a feature labels Nov 27, 2023
@dlouhak dlouhak self-assigned this Nov 27, 2023
@dlouhak dlouhak requested a review from a team as a code owner November 27, 2023 13:30
@dlouhak
Copy link
Contributor Author

dlouhak commented Nov 29, 2023

I found out a few things related to the export of icons.
It's not urgent because currently we don't use named imports of the Icon in the React.

Named icon component isn't generated in case:

  • An identifier or keyword cannot immediately follow a numeric literal.
  • Name contains or another -or another diacritic character.
image

@dlouhak dlouhak changed the title Update scripts generating icons JALL-448: Update scripts generating icons Nov 30, 2023
@dlouhak dlouhak merged commit 06ac076 into main Dec 4, 2023
4 checks passed
@dlouhak dlouhak deleted the feature/colored-icons branch December 4, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request refactoring A code change that neither fixes a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant