@@ -4,12 +4,23 @@ import { MONOSPACE_FONT_FAMILY } from "./constants"
4
4
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
5
5
export const getOverrides = ( palette : PaletteOptions ) => {
6
6
return {
7
+ MuiCssBaseline : {
8
+ "@global" : {
9
+ body : {
10
+ backgroundImage :
11
+ "linear-gradient(to right bottom, hsl(223, 38%, 14%), hsl(221, 53%, 3%))" ,
12
+ backgroundRepeat : "no-repeat" ,
13
+ backgroundAttachment : "fixed" ,
14
+ letterSpacing : "-0.015em" ,
15
+ } ,
16
+ } ,
17
+ } ,
7
18
MuiAvatar : {
8
19
root : {
9
20
borderColor : palette . divider ,
10
21
width : 36 ,
11
22
height : 36 ,
12
- fontSize : 20 ,
23
+ fontSize : 18 ,
13
24
} ,
14
25
} ,
15
26
MuiButton : {
@@ -26,7 +37,7 @@ export const getOverrides = (palette: PaletteOptions) => {
26
37
contained : {
27
38
boxShadow : "none" ,
28
39
color : palette . text ?. primary ,
29
- backgroundColor : "#151515 " ,
40
+ backgroundColor : "hsl(223, 27%, 3%) " ,
30
41
"&:hover" : {
31
42
boxShadow : "none" ,
32
43
backgroundColor : "#000000" ,
@@ -62,11 +73,12 @@ export const getOverrides = (palette: PaletteOptions) => {
62
73
root : {
63
74
// Gives the appearance of a border!
64
75
borderRadius : 2 ,
65
- border : `1px solid ${ palette . divider } ` ,
76
+ background : "hsla(222, 31%, 19%, .5)" ,
66
77
67
78
"& td" : {
68
79
paddingTop : 16 ,
69
80
paddingBottom : 16 ,
81
+ background : "transparent" ,
70
82
} ,
71
83
} ,
72
84
} ,
@@ -97,11 +109,15 @@ export const getOverrides = (palette: PaletteOptions) => {
97
109
} ,
98
110
MuiOutlinedInput : {
99
111
root : {
112
+ "& .MuiOutlinedInput-notchedOutline" : {
113
+ borderColor : palette . divider ,
114
+ } ,
115
+
100
116
"& input:-webkit-autofill" : {
101
117
WebkitBoxShadow : `0 0 0 1000px ${ palette . background ?. paper } inset` ,
102
118
} ,
103
119
"&:hover .MuiOutlinedInput-notchedOutline" : {
104
- borderColor : ( palette . primary as SimplePaletteColorOptions ) . light ,
120
+ borderColor : palette . divider ,
105
121
} ,
106
122
} ,
107
123
} ,
0 commit comments