fix(styles): add missing .rounded-md utility class#22679
Merged
J-Sek merged 3 commits intovuetifyjs:masterfrom Mar 11, 2026
Merged
fix(styles): add missing .rounded-md utility class#22679J-Sek merged 3 commits intovuetifyjs:masterfrom
.rounded-md utility class#22679J-Sek merged 3 commits intovuetifyjs:masterfrom
Conversation
- Add 'md' key to $rounded in packages/vuetify Sass variables. - Document rounded-md and all *-md variants in border-radius page. - Fix SASS example and copy (border radius) in docs. The rounded-md utility and rounded="md" prop were referenced in the docs (e.g. misc-rounded-corners.vue) but did not apply because 'md' was missing from the Sass map. Made-with: Cursor
Contributor
|
Included minor change in |
J-Sek
approved these changes
Mar 5, 2026
.rounded-md utility class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
rounded-mdto the$roundedSass map so that therounded-mdutility class androunded="md"prop work as shown in the docs (e.g. border-radius / misc-rounded-corners example).Changes
'md': $border-radius-rootto$roundedinsrc/styles/settings/_variables.scss.rounded-mdand all directional variants in the border-radius page; update SASS example and copy.Note for reviewers
When using the rounded prop:
rounded(no value) applies a component-specific class (e.g.v-sheet--rounded) that uses the default radius from Sass, whilerounded="md"applies the value formdfrom the$roundedmap. They can look the same whenmdequals the default, but the underlying mechanism is different. Worth keeping in mind when comparing usages.