-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
[docs] [ui] Make Pro badge style consistent #3418
Conversation
bharatkashyap
commented
Apr 18, 2024
•
edited
Loading
edited
- Make uppercase the standard for the "Pro" chip:
@@ -62,7 +62,7 @@ export function UpgradeChip({ | |||
size="small" | |||
clickable | |||
label="Pro" | |||
sx={sx} | |||
sx={{ textTransform: 'uppercase', ...sx }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just?
label="PRO"
98c4646
to
a6796bc
Compare
Olivier mentioned using "Pro" (and not pro, PRO) and he did the changes for X repo in mui/mui-x#12922 |
More than nomenclature this is a typography question, since text inside Chips is usually capitalised, as in on our docs as well: We can continue to use "Pro" (instead of "pro" or "PRO") in the documentation text. |
packages/toolpad-studio/src/toolpad/AppEditor/UpgradeNotification.tsx
Outdated
Show resolved
Hide resolved
…ion.tsx Signed-off-by: Jan Potoms <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!