Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 14, 2020
1 parent ce84091 commit e795ef8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/src/modules/components/AppSettingsDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ function AppSettingsDrawer(props) {
href="/customization/color/#playground"
data-ga-event-category="settings"
data-ga-event-action="colors"
variant="body1"
>
{t('settings.editWebsiteColors')}
</Link>
Expand Down
16 changes: 8 additions & 8 deletions docs/src/pages/customization/color/ColorDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ function ColorDemo(props) {
data.primaryShade === 4
? `${data.primaryHue}`
: `{
main: '${data.primary}',
}`,
main: '${data.primary}',
}`,
},
});
const secondary = theme.palette.augmentColor({
Expand All @@ -58,8 +58,8 @@ function ColorDemo(props) {
data.secondaryShade === 11
? `${data.secondaryHue}`
: `{
main: '${data.secondary}',
}`,
main: '${data.secondary}',
}`,
},
});

Expand Down Expand Up @@ -87,10 +87,10 @@ function ColorDemo(props) {
</AppBar>
<pre className={classes.code}>
{`{
palette: {
primary: ${primary.output},
secondary: ${secondary.output},
},
palette: {
primary: ${primary.output},
secondary: ${secondary.output},
},
}`}
</pre>
<Fab
Expand Down

0 comments on commit e795ef8

Please sign in to comment.