Skip to content

Commit

Permalink
make sure image settings icon works on dark backgrounds ok
Browse files Browse the repository at this point in the history
  • Loading branch information
kof committed Dec 23, 2024
1 parent 8e88bd9 commit c175371
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ export const ImageInfoTrigger = ({
css={{
visibility: `var(${triggerVisibilityVar}, hidden)`,
position: "absolute",
color: theme.colors.foregroundSubtle,
color: theme.colors.backgroundIconSubtle,
top: theme.spacing[3],
right: theme.spacing[3],
cursor: "pointer",
transition: "opacity 100ms ease",
"& svg": {
fill: `oklch(from ${theme.colors.white} l c h / 0.9)`,
},
"&:hover": {
color: theme.colors.foregroundMain,
color: theme.colors.foregroundIconMain,
},
}}
icon={<GearIcon />}
Expand Down

0 comments on commit c175371

Please sign in to comment.