diff options
Diffstat (limited to 'language-web/src/main/js')
-rw-r--r-- | language-web/src/main/js/theme/EditorTheme.ts | 4 | ||||
-rw-r--r-- | language-web/src/main/js/theme/ThemeStore.ts | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/language-web/src/main/js/theme/EditorTheme.ts b/language-web/src/main/js/theme/EditorTheme.ts index 9420dafa..957f2426 100644 --- a/language-web/src/main/js/theme/EditorTheme.ts +++ b/language-web/src/main/js/theme/EditorTheme.ts | |||
@@ -16,9 +16,9 @@ export class EditorThemeData { | |||
16 | 16 | ||
17 | foreground!: string; | 17 | foreground!: string; |
18 | 18 | ||
19 | background!: string; | 19 | foregroundHighlight!: string; |
20 | 20 | ||
21 | paper!: string; | 21 | background!: string; |
22 | 22 | ||
23 | primary!: string; | 23 | primary!: string; |
24 | 24 | ||
diff --git a/language-web/src/main/js/theme/ThemeStore.ts b/language-web/src/main/js/theme/ThemeStore.ts index 0f283c98..0e4aeb23 100644 --- a/language-web/src/main/js/theme/ThemeStore.ts +++ b/language-web/src/main/js/theme/ThemeStore.ts | |||
@@ -34,7 +34,7 @@ export class ThemeStore { | |||
34 | mode: themeData.paletteMode, | 34 | mode: themeData.paletteMode, |
35 | background: { | 35 | background: { |
36 | default: themeData.background, | 36 | default: themeData.background, |
37 | paper: themeData.paper, | 37 | paper: themeData.background, |
38 | }, | 38 | }, |
39 | primary: { | 39 | primary: { |
40 | main: themeData.primary, | 40 | main: themeData.primary, |
@@ -42,6 +42,10 @@ export class ThemeStore { | |||
42 | secondary: { | 42 | secondary: { |
43 | main: themeData.secondary, | 43 | main: themeData.secondary, |
44 | }, | 44 | }, |
45 | text: { | ||
46 | primary: themeData.foregroundHighlight, | ||
47 | secondary: themeData.foreground, | ||
48 | }, | ||
45 | }, | 49 | }, |
46 | }); | 50 | }); |
47 | return responsiveFontSizes(materialUiTheme); | 51 | return responsiveFontSizes(materialUiTheme); |