Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
fix border color in dark mode for AlertCard (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniman authored Aug 16, 2021
1 parent 39849ca commit 8ba9498
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/AlertCard/AlertCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,12 @@ export const AlertCard: React.FC<AlertCardProps> = ({
borderStyle: "solid",
borderRadius: 4,
borderWidth: 1,
borderColor: colors.silver.dark,
borderColor:
theme === "light"
? colors.silver.dark
: theme === "dark"
? colors.midnight.dark
: assertUnreachable(theme),
padding: 15,
}),
otherProps.className,
Expand Down

0 comments on commit 8ba9498

Please sign in to comment.