Skip to content

Commit d7427f3

Browse files
authored
Merge pull request #44 from janniks/master
Add text color to callout
2 parents 05e8fd4 + 19bfb09 commit d7427f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/block.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ export const Block: React.FC<Block> = props => {
420420
<div
421421
className={classNames(
422422
"notion-callout",
423+
blockValue.format.block_color &&
424+
`notion-${blockValue.format.block_color}`,
423425
blockValue.format.block_color &&
424426
`notion-${blockValue.format.block_color}_co`
425427
)}

0 commit comments

Comments
 (0)