diff --git a/docs/src/pages/customization/components/DynamicCSSVariables.js b/docs/src/pages/customization/components/DynamicCSSVariables.js
index 8f4f81813543ab..6be56315368fff 100644
--- a/docs/src/pages/customization/components/DynamicCSSVariables.js
+++ b/docs/src/pages/customization/components/DynamicCSSVariables.js
@@ -16,12 +16,24 @@ const useStyles = makeStyles({
},
});
+const blue = {
+ '--background-start': '#2196F3',
+ '--background-end': '#21CBF3',
+ '--box-shadow': 'rgba(33, 203, 243, .3)',
+};
+
+const defaultColor = {
+ '--background-start': '#FE6B8B',
+ '--background-end': '#FF8E53',
+ '--box-shadow': 'rgba(255, 105, 135, .3)',
+};
+
export default function DynamicCSSVariables() {
const classes = useStyles();
- const [color, setColor] = React.useState('default');
+ const [color, setColor] = React.useState(defaultColor);
const handleChange = event => {
- setColor(event.target.checked ? 'blue' : 'default');
+ setColor(event.target.checked ? blue : defaultColor);
};
return (
@@ -29,7 +41,7 @@ export default function DynamicCSSVariables() {
-