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

Fix class name for Styleguide examples #1095

Merged
merged 2 commits into from
May 22, 2019
Merged

Conversation

Gnito
Copy link
Contributor

@Gnito Gnito commented May 22, 2019

Problem: Styleguide-components with additional CSS has stopped working.
I.e. ComponentName.example.css

Assumption: one of the library updates has changed the way how CSS Modules class names are generated. In essence it has been created in a format: [name]_[local]__[hash]. However, since our naming pattern for ComponentName.example.css has included 2 periods (.) - it has probably only taken the first part of the name into account.

To avoid this issue, we renamed all the example-specific CSS files:
Button.example.css -> ButtonExample.css
etc.

@Gnito Gnito force-pushed the fix-classname-for-examples branch from c3b114b to 68abf0e Compare May 22, 2019 09:44
@Gnito Gnito merged commit e01dfa0 into master May 22, 2019
@Gnito Gnito mentioned this pull request May 23, 2019
@Gnito Gnito deleted the fix-classname-for-examples branch July 18, 2019 14:50
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.

1 participant