Skip to content

Commit 441994b

Browse files
committed
Fix bug in svgIllustrationProps
1 parent 666cf53 commit 441994b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: packages/bento-design-system/src/Illustrations/svgIllustrationProps.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { IllustrationProps } from "./IllustrationProps";
55
export function svgIllustrationProps(props: IllustrationProps): SVGAttributes<SVGElement> {
66
return {
77
...sizeToDimensions(props.size),
8-
fill: props.style === "outline" ? outlineColor(props.color) : undefined,
8+
fill:
9+
props.kind === "outline" || props.style === "outline" ? outlineColor(props.color) : undefined,
910
viewBox: "0 0 80 80",
1011
};
1112
}

0 commit comments

Comments
 (0)