Skip to content

Commit

Permalink
Merge pull request #1383 from HeonHeo23/main
Browse files Browse the repository at this point in the history
Update - Make + Create New App aligned with dark mode
  • Loading branch information
aakrem authored Feb 18, 2024
2 parents 7ff4d15 + 349bf1a commit 7c220b0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions agenta-web/src/components/AppSelector/AppSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ const useStyles = createUseStyles({
borderColor: themeMode === "dark" ? "rgba(256, 256, 256, 0.2)" : "rgba(5, 5, 5, 0.1)",
},
}),
createCard: {
createCard: ({themeMode}: StyleProps) => ({
fontSize: 20,
backgroundColor: "hsl(0, 0%, 100%)",
borderColor: "hsl(0, 0%, 10%) !important",
color: "#FFFFFF",
backgroundColor: themeMode === "dark" ? "" : "hsl(0, 0%, 100%)",
borderColor: themeMode === "dark" ? "hsl(0, 0%, 100%)" : "hsl(0, 0%, 10%) !important",
color: themeMode === "dark" ? "#fff" : "#000",
boxShadow: "0px 4px 8px rgba(0, 0, 0, 0.1)",

width: 300,
Expand All @@ -63,16 +63,16 @@ const useStyles = createUseStyles({
justifyContent: "center",
cursor: "pointer",
"& .ant-card-meta-title": {
color: "hsl(0, 0%, 10%)",
color: themeMode === "dark" ? "#fff" : "#000",
},
},
createCardMeta: {
}),
createCardMeta: ({themeMode}: StyleProps) => ({
height: "90%",
display: "flex",
alignItems: "center",
justifyContent: "space-evenly",
color: "hsl(0, 0%, 10%)",
},
color: themeMode === "dark" ? "#fff" : "#000",
}),
closeIcon: {
fontSize: 20,
color: "red",
Expand Down

0 comments on commit 7c220b0

Please sign in to comment.