aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/src/main/js
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <marussy@mit.bme.hu>2021-09-19 18:24:52 +0200
committerLibravatar Kristóf Marussy <marussy@mit.bme.hu>2021-09-19 18:24:52 +0200
commitc8325e6e1a31598a4d4dc6a29834fdaefcb31181 (patch)
tree2bb1eee700e4185bb95ecfa8ceb0ca9fa8753e21 /language-web/src/main/js
parentFrontend color theme (diff)
downloadrefinery-c8325e6e1a31598a4d4dc6a29834fdaefcb31181.tar.gz
refinery-c8325e6e1a31598a4d4dc6a29834fdaefcb31181.tar.zst
refinery-c8325e6e1a31598a4d4dc6a29834fdaefcb31181.zip
Frontend color changes
Diffstat (limited to 'language-web/src/main/js')
-rw-r--r--language-web/src/main/js/theme/EditorTheme.ts4
-rw-r--r--language-web/src/main/js/theme/ThemeStore.ts6
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);