Skip to content

Commit 30d6452

Browse files
authored
Merge pull request #63 from layer5io/leecalcote/ui/green-on-hover
Change My Design link to green on hover
2 parents bd5b16d + bce0539 commit 30d6452

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

ui/src/components/ExtensionComponent/RecentDesigns.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,22 @@ export default function RecentDesignsCard({ isDarkTheme }) {
116116
onClick={() => openDesign(design)}
117117
style={{ cursor: "pointer" }}
118118
divider
119+
sx={{ "&:hover": {
120+
backgroundColor: isDarkTheme ? "#4F5B69" : "#C0C7CB", // A shade darker
121+
},
122+
}}
119123
secondaryAction={
120124
<IconButton
121125
onClick={() => openDesign(design)}
122126
edge="end"
123127
aria-label="open"
124-
>
125-
<ExternalLinkIcon width="16" fill="#eee" />
128+
sx={{ "&:hover": { "& svg": { fill: "#00b39f" } } }}
129+
>
130+
<ExternalLinkIcon width="16" fill="#ccc" />
126131
</IconButton>
127132
}
128133
>
129-
<ListItemIcon>
134+
<ListItemIcon sx={{ minWidth: "32px"}}>
130135
<DesignIcon />
131136
</ListItemIcon>
132137
<ListItemText primary={design.name} style={{ textOverflow: "ellipsis", overflow: "hidden", whiteSpace: "nowrap", marginRight: "1rem" }} />

0 commit comments

Comments
 (0)