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

[website] make Toolpad alpha labels consistent #37125

Merged
merged 2 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/src/components/header/HeaderNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,9 @@ export default function HeaderNavBar() {
href={ROUTES.productToolpad}
icon={<IconImage name="product-toolpad" />}
name="MUI Toolpad"
chip={<Chip label="Alpha" size="small" color="grey" />}
chip={
<Chip label="Alpha" size="small" color="primary" variant="outlined" />
}
description="Low-code admin builder."
onKeyDown={handleKeyDown}
/>
Expand Down
14 changes: 12 additions & 2 deletions docs/src/components/header/HeaderNavDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,12 @@ export default function HeaderNavDropdown() {
>
{item.name}
{item.chip ? (
<Chip size="small" label={item.chip} color="grey" />
<Chip
size="small"
label={item.chip}
color="primary"
variant="outlined"
/>
) : null}
</Box>
<Typography variant="body2" color="text.secondary">
Expand Down Expand Up @@ -270,7 +275,12 @@ export default function HeaderNavDropdown() {
>
{item.name}
{item.chip ? (
<Chip size="small" label={item.chip} color="grey" />
<Chip
size="small"
label={item.chip}
color="primary"
variant="outlined"
/>
) : null}
</Box>
<Typography variant="body2" color="text.secondary">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/modules/components/MuiProductSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default function MuiProductSelector() {
icon={<IconImage name="product-toolpad" />}
name="MUI Toolpad"
description="Low-code admin builder."
chip={<Chip size="small" label="Alpha" color="grey" />}
chip={<Chip size="small" label="Alpha" color="primary" variant="outlined" />}
/>
</Link>
</li>
Expand Down