Skip to content

Commit

Permalink
change to "configuration"
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed May 27, 2024
1 parent 87092af commit ad5df08
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Or use `var()` to refer to the CSS variable directly:
```

:::warning
If you're using a [custom prefix](/material-ui/customization/css-theme-variables/customization/#changing-variable-prefixes), make sure to replace the default `--mui`.
If you're using a [custom prefix](/material-ui/customization/css-theme-variables/configuration/#changing-variable-prefixes), make sure to replace the default `--mui`.
:::

### TypeScript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ extendTheme({

- To start a new project with CSS theme variables, check out the [basic usage guide](/material-ui/customization/css-theme-variables/usage/).
- For an existing Material UI project, check out the [migration guide](/material-ui/migration/migration-css-theme-variables/).
- For theming and customization, check out the [how-to guide](/material-ui/customization/css-theme-variables/customization/).
- For theming and customization, check out the [how-to guide](/material-ui/customization/css-theme-variables/configuration/).
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ The structure of this object is nearly identical to the theme structure, the onl
```

:::warning
If you have set up a [custom prefix](/material-ui/customization/css-theme-variables/customization/#changing-variable-prefixes), make sure to replace the default `--mui`.
If you have set up a [custom prefix](/material-ui/customization/css-theme-variables/configuration/#changing-variable-prefixes), make sure to replace the default `--mui`.
:::

## Server-side rendering
Expand Down
20 changes: 11 additions & 9 deletions docs/data/material/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,6 @@ const pages: MuiPage[] = [
{ pathname: '/material-ui/customization/theme-components', title: 'Components' },
],
},
{
pathname: '/material-ui/customization/css-variables',
subheader: '/material-ui/customization/css-variables',
children: [
{ pathname: '/material-ui/customization/css-theme-variables/overview' },
{ pathname: '/material-ui/customization/css-theme-variables/usage' },
{ pathname: '/material-ui/customization/css-theme-variables/customization' },
],
},
{
pathname: '/material-ui/customization/tokens',
subheader: 'tokens',
Expand All @@ -198,6 +189,17 @@ const pages: MuiPage[] = [
{ pathname: '/material-ui/customization/transitions' },
],
},
{
pathname: '/material-ui/customization/css-variables',
subheader: '/material-ui/customization/css-variables',
children: [
{ pathname: '/material-ui/customization/css-theme-variables/overview' },
{ pathname: '/material-ui/customization/css-theme-variables/usage' },
{
pathname: '/material-ui/customization/css-theme-variables/configuration',
},
],
},
],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
demos,
docs,
demoComponents,
} from 'docs/data/material/customization/css-theme-variables/customization.md?muiMarkdown';
} from 'docs/data/material/customization/css-theme-variables/configuration.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs demos={demos} docs={docs} demoComponents={demoComponents} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ https://v4.material-ui.com/* https://v4.mui.com/:splat 301!
/material-ui/experimental-api/css-theme-variables/migration/ /material-ui/migration/migration-css-theme-variables/ 301
/material-ui/experimental-api/css-theme-variables/overview/ /material-ui/customization/css-theme-variables/overview/ 301
/material-ui/experimental-api/css-theme-variables/usage/ /material-ui/customization/css-theme-variables/usage/ 301
/material-ui/experimental-api/css-theme-variables/customization/ /material-ui/customization/css-theme-variables/customization/ 301
/material-ui/experimental-api/css-theme-variables/customization/ /material-ui/customization/css-theme-variables/configuration/ 301

# Proxies

Expand Down

0 comments on commit ad5df08

Please sign in to comment.