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

feat: Add material UI and theme #381

Merged
merged 2 commits into from
Sep 14, 2023
Merged

feat: Add material UI and theme #381

merged 2 commits into from
Sep 14, 2023

Conversation

wesbillman
Copy link
Member

<Container maxWidth='sm' sx={{ m: 4 }}>
  <Stack spacing={2}>
    <Button variant='contained'>Sample MUI Button</Button>
    <Button variant='contained'>Sample MUI Button</Button>
  </Stack>
</Container>

Produces this UI:
Screenshot 2023-09-13 at 5 48 41 PM

const { palette } = config

return {
MuiAvatar: {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Out of curiosity, what is this giant data object?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's setting standard theme properties on the components. Like default border radii on a button, etc.

@wesbillman wesbillman merged commit dce536d into main Sep 14, 2023
8 checks passed
@wesbillman wesbillman deleted the add-material-ui branch September 14, 2023 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants