Skip to content

feat(typography): migrate xds typography component#2014

Open
joseacabaneros wants to merge 3 commits intomainfrom
xds-typography-component
Open

feat(typography): migrate xds typography component#2014
joseacabaneros wants to merge 3 commits intomainfrom
xds-typography-component

Conversation

@joseacabaneros
Copy link
Member

XDS -> typography

@joseacabaneros joseacabaneros requested a review from a team as a code owner February 26, 2026 16:14
@apply xds:text1-md;
}
@utility text1-sm {
@apply xds:text-xs/(--xds-line-height-lg);
Copy link
Contributor

@Turito Turito Feb 26, 2026

Choose a reason for hiding this comment

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

If in theme.css we would use spacing-lg instead of line-height-lg then we could use xds:leading-lg (https://tailwindcss.com/docs/line-height#customizing-your-theme).

WDYT?

}

/* text2 */
@utility text2 {
Copy link
Contributor

Choose a reason for hiding this comment

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

text1 and test2 has the same styles. Why don't we reduce them and use just one?

WDYT? If yes, maybe in other PR

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.

2 participants