Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 67a1cef

Browse files
committed
chore: improve icon color in light themes
1 parent 9f96d3b commit 67a1cef

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

src/components/ButtonDropdown/ButtonDropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ export default function ButtonDropdown({ buttonText, children, items }: Props) {
7878
>
7979
{buttonText}{" "}
8080
{isMenuOpen ? (
81-
<ArrowDropUp sx={{ ml: 0.5 }} />
81+
<ArrowDropUp color="info" sx={{ ml: 0.5 }} />
8282
) : (
83-
<ArrowDropDown sx={{ ml: 0.5 }} />
83+
<ArrowDropDown color="info" sx={{ ml: 0.5 }} />
8484
)}
8585
</Button>
8686
</Tooltip>

src/layouts/AppLayout/_components/DeployButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function DeployButton({
3030
size="medium"
3131
sx={{ borderRadius: 1 }}
3232
>
33-
<RocketLaunch sx={{ fontSize: 16 }} />
33+
<RocketLaunch sx={{ fontSize: 16 }} color="info" />
3434
<Typography component="span" sx={{ display: "inline-block", ml: 1 }}>
3535
Deploy
3636
</Typography>

src/pages/mui-theme.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ export default (mode: "dark" | "light") => {
9595
props: { variant: "text", color: "info" },
9696
style: { color: primaryColor },
9797
},
98+
{
99+
props: { variant: "contained", color: "secondary" },
100+
style: { color: "white", ":hover": { color: "white" } },
101+
},
98102
],
99103
},
100104
MuiCircularProgress: {
@@ -148,6 +152,10 @@ export default (mode: "dark" | "light") => {
148152
variants: [
149153
{ props: { color: "success" }, style: { color: green[600] } },
150154
{ props: { color: "error" }, style: { color: red[600] } },
155+
{
156+
props: { color: "info" },
157+
style: { color: isDark ? primaryColor : "white" },
158+
},
151159
],
152160
},
153161
MuiFilledInput: {
@@ -281,9 +289,9 @@ export default (mode: "dark" | "light") => {
281289
contrastText: "#e7e5ee",
282290
},
283291
secondary: {
284-
main: "#ff4389",
285-
light: "#78193b",
286-
dark: "#",
292+
dark: "#78193b",
293+
light: "#e7e5ee",
294+
main: "#f6005c",
287295
contrastText: "#e7e5ee",
288296
},
289297
text: {

0 commit comments

Comments
 (0)