diff --git a/docs/AppTheme.md b/docs/AppTheme.md
index b01f129a8f2..6cd486bb8aa 100644
--- a/docs/AppTheme.md
+++ b/docs/AppTheme.md
@@ -145,10 +145,10 @@ export const App = () => (
);
```
-You must also import the Onest font in your `index.html` file:
+You must also import the Inter font in your `index.html` file:
```html
-
+
```
### Radiant
diff --git a/examples/demo/index.html b/examples/demo/index.html
index 82909d4eecd..dbee15d6a12 100644
--- a/examples/demo/index.html
+++ b/examples/demo/index.html
@@ -106,7 +106,7 @@
rel="stylesheet"
/>
({
paddingBottom: theme.spacing(0.2),
},
},
+ variants: [
+ {
+ props: { size: 'small' as const },
+ style: { fontSize: '1em' },
+ },
+ ],
},
MuiCard: {
defaultProps: {
@@ -150,9 +156,6 @@ const componentsOverrides = (theme: Theme) => ({
elevation1: {
boxShadow: theme.shadows[1],
},
- root: {
- backgroundColor: theme.palette.background.default,
- },
},
},
MuiSnackbar: {
@@ -340,7 +343,7 @@ const lightPalette: PaletteOptions = {
mode: 'light' as 'light',
primary: { main: '#00585C' },
secondary: { main: '#64B4B8' },
- background: { default: '#f9fafb' },
+ background: { default: '#f4f4f4' },
text: { primary: '#212b36' },
...alert,
};
@@ -355,13 +358,14 @@ const createNanoTheme = (palette: RaThemeOptions['palette']) => {
},
spacing: 8,
typography: {
- fontFamily: 'Onest, sans-serif',
+ fontFamily: 'Inter, sans-serif',
fontSize: 12,
h1: { fontSize: '7rem' },
h2: { fontWeight: 400 },
h3: { fontWeight: 500 },
h4: { fontWeight: 700 },
h5: { fontWeight: 700 },
+ button: { textTransform: undefined },
},
};
const theme = createTheme(themeOptions);