Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update Callout component with custom border color and background color #319

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update Callout component with custom border color and background color
Sahill357 committed Aug 8, 2024
commit 1aeea804fbd2877ed8f1701564f9fd7f9d17e087
4 changes: 2 additions & 2 deletions components/callout.tsx
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@ 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-[rgb(29,40,58)] ": type === "danger",
"border-[rgb(29,40,58)]": type === "warning",
})}
{...props}
>