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

Utility update #7515

Merged
merged 7 commits into from
Jul 11, 2024
Merged

Utility update #7515

merged 7 commits into from
Jul 11, 2024

Conversation

anezthes
Copy link
Contributor

@anezthes anezthes commented Jul 5, 2024

Description

Mostly just clean up (read: OCD sorting to match the LumoUtility classes).

  • Added flex-1 per @marcushellberg's request.
  • Renamed flex-grow/flex-shrink to grow/shrink respectively (since we're following Tailwind's naming convention).
  • z-0 and z-auto added.
  • shadow-0 added.

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/contributing/overview
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

@@ -15,106 +15,106 @@ export const background = css`
background-color: transparent;
}

.bg-tint-5 {
background-color: var(--lumo-tint-5pct);
.bg-tint {
Copy link
Member

Choose a reason for hiding this comment

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

Not sure why this sorting is really needed but I would prefer to extract it from this PR, so as this would only be about adding new utility classes (easier to review and read it in the future).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OCD. I wanted the LumoUtility classes and the actual CSS to line up. Easier to manage that way.

Copy link

sonarcloud bot commented Jul 5, 2024

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.5.0.alpha5 and is also targeting the upcoming stable 24.5.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants