File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,18 @@ import type { ExternalImageModeStyles } from "./externalImages";
8
8
import light from "./light" ;
9
9
import type { Roles } from "./roles" ;
10
10
11
- export interface Theme extends MuiTheme {
12
- experimental : NewTheme ;
11
+ export interface Theme extends Omit < MuiTheme , "palette" > {
12
+ /** @deprecated use `theme.roles` instead */
13
+ palette : MuiTheme [ "palette" ] ;
14
+
15
+ /** Sets of colors that can be used based on the role that a UI element serves
16
+ * for the user.
17
+ * Does it signify an error? a warning? that something is currently running? etc.
18
+ */
13
19
roles : Roles ;
20
+
21
+ /** Theme properties that we're testing out but haven't committed to. */
22
+ experimental : NewTheme ;
14
23
monaco : monaco . editor . IStandaloneThemeData ;
15
24
externalImages : ExternalImageModeStyles ;
16
25
}
You can’t perform that action at this time.
0 commit comments