refactor: enhance dark mode support across components and improve user role handling in DetailProfile
This commit is contained in:
@@ -45,14 +45,23 @@ function Chart({ data, loading }) {
|
||||
fontSize: "14px !important",
|
||||
fontWeight: "400 !important",
|
||||
fill: "#858D9D",
|
||||
"@media (prefers-color-scheme: dark)": {
|
||||
fill: "#A1A1A1",
|
||||
},
|
||||
},
|
||||
"& .MuiChartsAxis-directionX .MuiChartsAxis-tickLabel": {
|
||||
fontSize: "10px !important",
|
||||
fontWeight: "400 !important",
|
||||
fill: "#7E7E7E",
|
||||
"@media (prefers-color-scheme: dark)": {
|
||||
fill: "#A1A1A1",
|
||||
},
|
||||
},
|
||||
"& .MuiChartsGrid-line": {
|
||||
strokeDasharray: 2,
|
||||
"@media (prefers-color-scheme: dark)": {
|
||||
stroke: "#343645",
|
||||
},
|
||||
},
|
||||
"& .MuiChartsAxis-directionY": {
|
||||
// transform: 'translateX(-50px) !important'
|
||||
|
||||
Reference in New Issue
Block a user