Skip to content

Commit f962795

Browse files
committed
style: colorize warning icon in block callout
1 parent d463f9d commit f962795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BlockCallout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function BlockCallout(props: {
1818
<div
1919
className={cn('flex rounded-md', mapColorClass(props.color) || 'border border-gray-200')}
2020
>
21-
{props.icon && <div className="text-2xl pl-4 py-2">{props.icon}</div>}
21+
{props.icon && <div className="text-2xl pl-4 py-2 text-amber-500">{props.icon}</div>}
2222
<div className="pl-2 pr-4 w-0 flex-1">
2323
<div className={blockMargin}>{props.text}</div>
2424
{!!props.children && <div className="m2it-inside-box">{props.children}</div>}

0 commit comments

Comments
 (0)