forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve the default theme viewer design
- Loading branch information
1 parent
1ad6d26
commit 920ad86
Showing
6 changed files
with
70 additions
and
45 deletions.
There are no files selected for viewing
10 changes: 4 additions & 6 deletions
10
docs/data/joy/customization/default-theme-viewer/default-theme-viewer.md
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
# Default theme viewer | ||
|
||
<p class="description">Here's what the theme object looks like with the default values.</p> | ||
<p class="description">Check out how the theme object looks like with the default values.</p> | ||
|
||
:::warning | ||
This is a work in progress. We're still iterating on Joy UI's default theme. | ||
::: | ||
|
||
## Explore | ||
|
||
Explore the default theme: | ||
:::info | ||
To create your own theme, start by customizing the [theme colors](/joy-ui/customization/theme-colors/). | ||
::: | ||
|
||
{{"demo": "JoyDefaultTheme.js", "hideToolbar": true, "bg": "inline"}} | ||
|
||
To create your own theme, starts with customizing the [theme colors](/joy-ui/customization/theme-colors/). |
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
16 changes: 6 additions & 10 deletions
16
docs/data/material/customization/default-theme/default-theme.md
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 |
---|---|---|
@@ -1,23 +1,19 @@ | ||
# Default theme viewer | ||
|
||
<p class="description">Here's what the theme object looks like with the default values.</p> | ||
<p class="description">Check out how the theme object looks like with the default values.</p> | ||
|
||
## Explore | ||
|
||
Explore the default theme object: | ||
|
||
{{"demo": "DefaultTheme.js", "hideToolbar": true, "bg": "inline"}} | ||
If you want to learn more about how the theme is assembled, take a look at [`material-ui/style/createTheme.js`](https://github.com/mui/material-ui/blob/-/packages/mui-material/src/styles/createTheme.js), | ||
and the related imports which `createTheme` uses. | ||
|
||
:::success | ||
You can play with the documentation theme object in your browser console, | ||
as the `theme` variable is exposed on all the documentation pages. | ||
::: | ||
|
||
:::warning | ||
Please note that **the documentation site is using a custom theme**. | ||
Please note that **the documentation site is using a custom theme** (MUI's branding). | ||
::: | ||
|
||
<!-- #default-branch-switch --> | ||
<hr/> | ||
|
||
If you want to learn more about how the theme is assembled, take a look at [`material-ui/style/createTheme.js`](https://github.com/mui/material-ui/blob/-/packages/mui-material/src/styles/createTheme.js), | ||
and the related imports which `createTheme` uses. | ||
{{"demo": "DefaultTheme.js", "hideToolbar": true, "bg": "inline"}} |
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
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