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

[docs] [ui] Make Pro badge style consistent #3418

Merged
merged 7 commits into from
Apr 30, 2024

Conversation

bharatkashyap
Copy link
Member

@bharatkashyap bharatkashyap commented Apr 18, 2024

  • Make uppercase the standard for the "Pro" chip:
Screenshot 2024-04-18 at 3 59 49 PM

@bharatkashyap bharatkashyap added the docs Improvements or additions to the documentation label Apr 18, 2024
@bharatkashyap bharatkashyap changed the title [docs] [ui] Uniform Pro badge [docs] [ui] Uniform Pro badge and docs improvements Apr 18, 2024
@@ -62,7 +62,7 @@ export function UpgradeChip({
size="small"
clickable
label="Pro"
sx={sx}
sx={{ textTransform: 'uppercase', ...sx }}
Copy link
Member

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"

@bharatkashyap bharatkashyap changed the title [docs] [ui] Uniform Pro badge and docs improvements [docs] [ui] Make Pro badge style consistent + misc docs improvements Apr 23, 2024
@bharatkashyap bharatkashyap changed the title [docs] [ui] Make Pro badge style consistent + misc docs improvements [docs] [ui] Make Pro badge style consistent Apr 24, 2024
@prakhargupta1
Copy link
Member

prakhargupta1 commented Apr 26, 2024

Olivier mentioned using "Pro" (and not pro, PRO) and he did the changes for X repo in mui/mui-x#12922
I think we should follow the same convention.

@bharatkashyap
Copy link
Member Author

Olivier mentioned using "Pro" and he did the changes for X repo in mui/mui-x#12922 I think we should follow the same convention.

More than nomenclature this is a typography question, since text inside Chips is usually capitalised, as in on our docs as well:

Screenshot 2024-04-29 at 5 02 45 PM

We can continue to use "Pro" (instead of "pro" or "PRO") in the documentation text.

…ion.tsx

Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

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

Looks great!

@bharatkashyap bharatkashyap merged commit f9a3db0 into mui:master Apr 30, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants