forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[website] Improve the footer's chip contrast (mui#41209)
- Loading branch information
1 parent
56ac653
commit 4beabf6
Showing
4 changed files
with
76 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import * as React from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import Chip from '@mui/material/Chip'; | ||
import Button from '@mui/material/Button'; | ||
import Divider from '@mui/material/Divider'; | ||
import Head from 'docs/src/modules/components/Head'; | ||
import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; | ||
import AppHeader from 'docs/src/layouts/AppHeader'; | ||
import Section from 'docs/src/layouts/Section'; | ||
import AppFooter from 'docs/src/layouts/AppFooter'; | ||
|
||
export default function BrandingThemeTest() { | ||
return ( | ||
<BrandingCssVarsProvider> | ||
<Head title="MUI Branding Theme Test" description="" /> | ||
<AppHeader gitHubRepository="https://github.com/mui/material-ui" /> | ||
<main id="main-content"> | ||
<Section> | ||
<Stack direction="row" spacing={2} useFlexGap sx={{ width: 'fit-content' }}> | ||
<Chip size="small" variant="outlined" color="primary" label="Hiring" /> | ||
<Chip size="small" variant="outlined" color="info" label="Hiring" /> | ||
<Chip size="small" variant="outlined" color="error" label="Hiring" /> | ||
<Chip size="small" variant="outlined" color="warning" label="Hiring" /> | ||
<Chip size="small" variant="outlined" color="success" label="Hiring" /> | ||
</Stack> | ||
<Stack direction="row" spacing={2} useFlexGap sx={{ width: 'fit-content', mt: 8 }}> | ||
<Button variant="contained">This button</Button> | ||
<Button variant="outlined">This button</Button> | ||
<Button variant="text">This button</Button> | ||
</Stack> | ||
<Stack direction="row" spacing={2} useFlexGap sx={{ width: 'fit-content', mt: 8 }}> | ||
<Button variant="contained" size="small" color="primary"> | ||
This button | ||
</Button> | ||
<Button variant="contained" size="small" color="secondary"> | ||
This button | ||
</Button> | ||
<Button variant="outlined" size="small" color="primary"> | ||
This button | ||
</Button> | ||
<Button variant="outlined" size="small" color="secondary"> | ||
This button | ||
</Button> | ||
<Button variant="text" size="small" color="info"> | ||
This button | ||
</Button> | ||
</Stack> | ||
</Section> | ||
<Divider /> | ||
</main> | ||
<AppFooter stackOverflowUrl="https://stackoverflow.com/questions/tagged/material-ui" /> | ||
</BrandingCssVarsProvider> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters