File tree Expand file tree Collapse file tree 6 files changed +11
-25
lines changed
Settings/sections/SystemInfo Expand file tree Collapse file tree 6 files changed +11
-25
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,18 @@ function Root() {
31
31
32
32
const theme = createTheme ( {
33
33
direction : isRTL ? 'rtl' : 'ltr' ,
34
+ typography : {
35
+ fontFamily : 'var(--primary-font-family)'
36
+ } ,
34
37
components : {
38
+ MuiPaper : {
39
+ styleOverrides : {
40
+ root : {
41
+ color : 'var(--text-default)' ,
42
+ backgroundColor : 'var(--background)'
43
+ }
44
+ }
45
+ } ,
35
46
MuiTooltip : {
36
47
styleOverrides : {
37
48
tooltip : {
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ interface DialogProps {
25
25
26
26
const StyledPaper = styled ( Paper ) ( ( ) => ( {
27
27
backgroundColor : 'var(--modal-background)' ,
28
- color : 'var(--text-default)' ,
29
28
maxWidth : '100%' ,
30
29
'&:has(.settingsDialogContent):not(:has(.logs-wrapper))' : {
31
30
height : '80%'
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export const DialogHeader: React.FC<DialogHeaderProps> = ({ children }) => {
10
10
return (
11
11
< DialogTitle
12
12
sx = { {
13
- fontFamily : 'var(--primary-font-family)' ,
14
13
fontSize : 'var(--text-xl)' ,
15
14
fontWeight : 'var(--bold)' ,
16
15
paddingLeft : 0
Original file line number Diff line number Diff line change 10
10
width : 100% ;
11
11
height : 40px ;
12
12
background : var (--input-background );
13
- font-family : var (--primary-font-family ), 'Noto Color Emoji' ;
14
13
font-weight : normal;
15
14
font-size : var (--text-md );
16
15
color : var (--text-secondary );
42
41
.MuiPopover-root .MuiPaper-root {
43
42
color : var (--text-secondary );
44
43
background-color : var (--input-background );
45
-
46
- .MuiMenuItem-root {
47
- font-family : var (--primary-font-family );
48
- }
49
44
}
50
45
51
46
.selectStyle {
Original file line number Diff line number Diff line change 8
8
border-radius : 10px ;
9
9
}
10
10
11
- .contextMenu > .MuiPaper-root > .MuiMenu-list > .MuiMenuItem-root {
12
- font-family : var (--primary-font-family );
13
- }
14
-
15
11
.contextMenu > .MuiPaper-root > .MuiMenu-list > .MuiMenuItem-root : hover {
16
12
text-decoration : none;
17
13
background-color : var (--navbar-active-background );
Original file line number Diff line number Diff line change 1
1
.systeminfo {
2
- hr {
3
- width : 100% ;
4
- background-color : var (--text-default );
5
- }
6
-
7
2
.logo {
8
3
height : 100% ;
9
4
zoom : 2 ;
19
14
}
20
15
}
21
16
22
- .MuiPaper-root {
23
- color : var (--text-default );
24
- background-color : var (--background );
25
- }
26
-
27
- .MuiTypography-root {
28
- font-family : var (--primary-font-family );
29
- }
30
-
31
17
.MuiLinearProgress-bar {
32
18
background-color : var (--success );
33
19
}
You can’t perform that action at this time.
0 commit comments