feat(typography): MD3 alignment, configuration from JS, VTypography component#21440
Closed
toureSan wants to merge 31 commits intovuetifyjs:nextfrom
Closed
feat(typography): MD3 alignment, configuration from JS, VTypography component#21440toureSan wants to merge 31 commits intovuetifyjs:nextfrom
toureSan wants to merge 31 commits intovuetifyjs:nextfrom
Conversation
f89e223 to
f86b714
Compare
142b234 to
bb54746
Compare
J-Sek
reviewed
Nov 27, 2025
| import { mergeDeep } from '@/util' | ||
|
|
||
| export const defaultTypography = { | ||
| 'display-large': { |
Contributor
There was a problem hiding this comment.
Alternative structure could be convenient to avoid duplication as well as easily opt out from some of the variants.
{
display: {
fontWeight: 400,
variants: {
large: { fontSize: '5rem', lineHeight: 0.9 },
medium: { fontSize: '4rem', lineHeight: 1 },
small: { fontSize: '3rem', lineHeight: 1.1 },
},
},
headline: { ... }
body: { ... }
label: { ... }
}Customized options could look like this:
{
display: {
fontFamily: '...',
fontWeight: 500,
variants: {
large: { fontSize: '4rem', lineHeight: 1 },
medium: { fontSize: '3.5rem' },
},
},
headline: {
fontFamily: '...',
variants: {
medium: false,
base: { ... },
},
},
label: false
}b0a13ca to
4ee7c8a
Compare
5e05e24 to
d9bfa0c
Compare
added 7 commits
December 4, 2025 17:57
J-Sek
reviewed
Dec 5, 2025
J-Sek
reviewed
Dec 5, 2025
J-Sek
reviewed
Dec 5, 2025
J-Sek
requested changes
Dec 5, 2025
5 tasks
Contributor
|
closing in favor of #22459 |
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.
Description
New
v-typographycomponent for predefined text stylesKey features:
Markup: