Skip to content

Commit af8fca8

Browse files
committed
Fix chiptune theme
1 parent a430ca5 commit af8fca8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

examples/demo/src/themes/chiptuneTheme.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { grey } from '@mui/material/colors';
12
import { RaThemeOptions } from 'react-admin';
23

34
/** Just for fun */
@@ -21,5 +22,12 @@ export const chiptuneTheme: RaThemeOptions = {
2122
MuiFormControl: { defaultProps: { fullWidth: true } },
2223
MuiTextField: { defaultProps: { fullWidth: true } },
2324
RaSimpleFormIterator: { defaultProps: { fullWidth: true } },
25+
RaToolbar: {
26+
styleOverrides: {
27+
root: {
28+
backgroundColor: grey[900],
29+
},
30+
},
31+
},
2432
},
2533
};

examples/demo/src/themes/themes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ export const themes: Theme[] = [
7373
{ name: 'nano', light: nanoLightTheme, dark: nanoDarkTheme },
7474
{ name: 'radiant', light: radiantLightTheme, dark: radiantDarkTheme },
7575
{ name: 'house', light: houseLightTheme, dark: houseDarkTheme },
76-
{ name: 'chiptune', light: chiptuneTheme },
76+
{ name: 'chiptune', single: chiptuneTheme },
7777
];

0 commit comments

Comments
 (0)