@@ -55,48 +55,25 @@ interface Props {
55
55
56
56
const darkTheme = {
57
57
backgroundColor : "grey.900" ,
58
- color : "grey.400" ,
59
- "& .app-sidebar-header-container" : {
60
- "& svg" : { color : "grey.400" } ,
61
- "& .MuiTextField-root" : {
62
- "& input, input::placeholder, fieldset" : {
63
- color : "grey.300" ,
64
- border : "none" ,
65
- } ,
66
- } ,
67
- "& .app-sidebar-header" : {
68
- "& .MuiTypography-root, & .MuiSvgIcon-root" : {
69
- color : "common.white" ,
70
- } ,
71
- } ,
72
- } ,
73
- "& .nav-tree-container" : {
74
- "& .navtree-header" : {
75
- "& .MuiTypography-root, & .MuiSvgIcon-root" : {
76
- color : "grey.400" ,
77
- } ,
78
- "& .MuiIconButton-root:hover" : {
79
- backgroundColor : "grey.800" ,
80
- } ,
81
- } ,
82
- "& .MuiTreeItem-iconContainer svg, & .MuiTreeItem-label svg" : {
83
- color : "grey.400" ,
84
- } ,
85
- "& .MuiTreeItem-label" : {
58
+ "& .MuiTreeItem-label,\
59
+ & .app-sidebar-header-container input,\
60
+ & .app-sidebar-header-container input::placeholder,\
61
+ & .app-sidebar-header-container fieldset" :
62
+ {
86
63
color : "grey.300" ,
64
+ border : "none" ,
87
65
} ,
88
- "& .MuiTreeItem-content.Mui-selected .MuiTreeItem-label .treeActions" : {
89
- "& .MuiSvgIcon-root" : {
90
- color : "grey.400" ,
91
- } ,
92
- '& [variant="contained"] .MuiSvgIcon-root' : {
93
- color : "common.white" ,
94
- } ,
66
+ "& .MuiAccordion-root .MuiTypography-root,\
67
+ & .navtree-header .MuiTypography-root,\
68
+ & .MuiSvgIcon-root" :
69
+ {
70
+ color : "grey.400" ,
95
71
} ,
96
- "& .MuiTreeItem-content:hover" : {
97
- backgroundColor : "rgba(255, 93, 10, 0.06)" ,
72
+ "& .app-sidebar-header .MuiTypography-root, \
73
+ & .app-sidebar-header .MuiSvgIcon-root" :
74
+ {
75
+ color : "common.white" ,
98
76
} ,
99
- } ,
100
77
} ;
101
78
102
79
export const AppSideBar = forwardRef < any , PropsWithChildren < Props > > (
0 commit comments