aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/themes
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-11 12:47:09 +0100
committerSascha <GlancingMind@outlook.com>2021-03-15 16:35:14 +0100
commitde26990afc9f21a9017b039ba9d7546a8d8ea5da (patch)
treed5e07a67e011e3e0ca3e2bb1d449aafa1886686b /webui/src/themes
parent46d38aa53fa925a2335fdf6c3b0b6f47d05dce94 (diff)
downloadgit-bug-de26990afc9f21a9017b039ba9d7546a8d8ea5da.tar.gz
Adjust BackToList button color for dark/light-mode
The AppBar is commonly used for navigation. As the BackToList button is a navigation element, use similar colors as the AppBar.
Diffstat (limited to 'webui/src/themes')
-rw-r--r--webui/src/themes/DefaultDark.ts3
-rw-r--r--webui/src/themes/DefaultLight.ts4
2 files changed, 5 insertions, 2 deletions
diff --git a/webui/src/themes/DefaultDark.ts b/webui/src/themes/DefaultDark.ts
index 6a92ec49..65dd6329 100644
--- a/webui/src/themes/DefaultDark.ts
+++ b/webui/src/themes/DefaultDark.ts
@@ -4,7 +4,8 @@ const defaultDarkTheme = createMuiTheme({
palette: {
type: 'dark',
primary: {
- main: '#263238',
+ dark: '#263238',
+ main: '#2a393e',
light: '#525252',
},
error: {
diff --git a/webui/src/themes/DefaultLight.ts b/webui/src/themes/DefaultLight.ts
index bc788a98..9c57ebe5 100644
--- a/webui/src/themes/DefaultLight.ts
+++ b/webui/src/themes/DefaultLight.ts
@@ -4,8 +4,10 @@ const defaultLightTheme = createMuiTheme({
palette: {
type: 'light',
primary: {
- main: '#263238',
+ dark: '#263238',
+ main: '#5a6b73',
light: '#f5f5f5',
+ contrastText: '#fff',
},
info: {
main: '#e2f1ff',