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(@clayui/css): Mixins clay-label-size and clay-label-variant convert to use new (easier to remember) Sass map keys. The old keys will still work and win over new keys. #4070

Merged
merged 2 commits into from
May 18, 2021

Conversation

pat270
Copy link
Member

@pat270 pat270 commented May 13, 2021

fixes #4069

pat270 added 2 commits May 13, 2021 16:58
…onvert to use new (easier to remember) Sass map keys. The old keys will still work and win over new keys.

fixes liferay#4069
Copy link
Member

@matuzalemsteles matuzalemsteles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Overall it looks good, @pat270 since we adopted a more nested map, can this add some extra cost on build time?

@pat270
Copy link
Member Author

pat270 commented May 17, 2021

@matuzalemsteles Yes, I think I added around ~3s to build time. This is including cadmin.css. I'm comparing 2.x vs master branches using my smoke test site.

Edit: This has been in DXP for a while, I haven't received any reports complaining about CSS build time. 🤞

@marcoscv-work
Copy link
Member

LGTM

@marcoscv-work marcoscv-work merged commit 9a5fc26 into liferay:master May 18, 2021
@matuzalemsteles
Copy link
Member

@pat270 don't worry, thanks, just something to keep an eye on

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.

@clayui/css: Convert mixins clay-label-variant and clay-label-size to use new Sass map key pattern
3 participants