Skip to content

Commit c89c536

Browse files
committed
Simplify ra-input-rich-text
1 parent 4837560 commit c89c536

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

packages/ra-input-rich-text/src/buttons/ColorButtons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const ColorChoiceDialog = ({
111111
top: 38,
112112
left: colorType === ColorType.FONT ? 0 : '50%',
113113
p: 1,
114-
border: `1px solid ${theme?.palette?.background?.default}`,
114+
border: `1px solid ${(theme.vars || theme)?.palette?.background?.default}`,
115115
display: 'flex',
116116
flexDirection: 'column',
117117
gap: 1,
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
11
import type {} from '@mui/material/themeCssVarsAugmentation';
2-
3-
declare module '@mui/material/styles' {
4-
interface PaletteOptions {
5-
bulkActionsToolbarColor?: string;
6-
bulkActionsToolbarBackgroundColor?: string;
7-
}
8-
interface Palette {
9-
bulkActionsToolbarColor: string;
10-
bulkActionsToolbarBackgroundColor: string;
11-
}
12-
}

0 commit comments

Comments
 (0)