ux: admin: dark theme links had not enough contrast
Massimo Melina committed
Apr 14, 2023 at 16:49 UTC
9edc90f32ed8326407d0992ee019c9d946438118
1 file changed
+5
-1
admin/src/theme.ts
+5
-1
@@ -14,12 +14,16 @@ export function useMyTheme() {
14
palette: lightMode || {
15
mode: 'dark',
16
text: { primary: '#bbb' },
17
- primary: { main: '#469' },
17
+ primary: { main: '#469', light: '#68c' },
18
+ secondary: { main: '#969' },
19
},
20
typography: {
21
fontFamily: 'Roboto, "Noto sans", "Segoe UI", "San Francisco", "Helvetica Neue", Arial, sans-serif'
22
},
23
components: {
24
+ MuiLink: {
25
+ defaultProps: lightMode || { color: 'primary.light' }, // primary.main too dark for dark theme
26
+ },
27
MuiTextField: {
28
defaultProps: { variant: 'filled' },
29
styleOverrides: lightMode || {