mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
fix: Callout component in dark mode
This commit is contained in:
parent
651f984e52
commit
de22d4675c
1 changed files with 3 additions and 2 deletions
|
|
@ -15,8 +15,9 @@ export function Callout({
|
|||
return (
|
||||
<div
|
||||
className={cn("my-6 flex items-start rounded-md border border-l-4 p-4", {
|
||||
"border-red-900 bg-red-50": type === "danger",
|
||||
"border-yellow-900 bg-yellow-50": type === "warning",
|
||||
"border-red-900 bg-red-50 dark:bg-red-900/[.5]": type === "danger",
|
||||
"border-yellow-900 bg-yellow-50 dark:bg-yellow-900/[.5]":
|
||||
type === "warning",
|
||||
})}
|
||||
{...props}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue