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

[Joy] use textColor prop for Typography and Link #32938

Merged
merged 7 commits into from
May 29, 2022

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented May 28, 2022

Joy will follow the approach. This will give the same experience throughout the components.

Usage

<Typography color="primary" variant="soft" /> // the combination of variant and color palette
<Link color="success" variant="soft" /> // the combination of variant and color palette

<Typography textColor="neutral.500" /> // CSS color prop, similar to `sx={{ color: 'neutral.500' }}`
<Link textColor="neutral.500" /> // CSS color prop, similar to `sx={{ color: 'neutral.500' }}`

Sorry, something went wrong.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@siriwatknp siriwatknp added package: joy-ui Specific to @mui/joy component: Typography The React component. component: link This is the name of the generic UI component, not the React module! labels May 28, 2022
@mui-bot
Copy link

mui-bot commented May 28, 2022

Details of bundle changes

@mui/joy: parsed: +0.34% , gzip: +0.28%

Generated by 🚫 dangerJS against f588c05

@siriwatknp siriwatknp marked this pull request as ready for review May 29, 2022 05:52
@siriwatknp siriwatknp merged commit 188b940 into mui:master May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: link This is the name of the generic UI component, not the React module! component: Typography The React component. package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants