Skip to content

Commit

Permalink
Fix bug with incorrect colours
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Dec 8, 2023
1 parent 6d51389 commit 94a544a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dapp/src/components/Overview/PositionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function PositionDetails(props: CardProps) {
<Text>Your positions</Text>
{/* TODO: Add correct text for tooltip */}
<Tooltip label="Template">
<Icon as={Info} color={useColorModeValue("black", "grey.80")} />
<Icon as={Info} color={useColorModeValue("grey.700", "grey.700")} />
</Tooltip>
</HStack>
<Text>
Expand Down
3 changes: 2 additions & 1 deletion dapp/src/components/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { USD } from "../../constants"
import { ChevronRight } from "../../static/icons"

export default function Overview() {
const bg = useColorModeValue("white", "grey.400")
// TODO: Create a custom theme for card component
const bg = useColorModeValue("gold.100", "gold.100")
return (
<Flex direction="column" gap={2} p={6}>
<Flex justifyContent="space-between">
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/theme/Button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Button: ComponentSingleStyleConfig = {
borderColor: mode("grey.700", "grey.700")(props),
}),
link: (props: StyleFunctionProps) => ({
color: mode("black", "grey.50")(props),
color: mode("grey.700", "grey.700")(props),
textDecoration: "underline",
}),
},
Expand Down
4 changes: 2 additions & 2 deletions dapp/src/theme/Switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ const Switch: ComponentSingleStyleConfig = {
track: {
_checked: {
_dark: {
bg: "purple",
bg: "grey.700",
},
_light: {
bg: "grey.200",
bg: "grey.700",
},
},
},
Expand Down

0 comments on commit 94a544a

Please sign in to comment.