Skip to content

Commit 666cf53

Browse files
committed
Update more uses
1 parent c126849 commit 666cf53

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/bento-design-system/src/Feedback/Feedback.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function renderIllustration(
135135
): Children {
136136
const illustrationProps: IllustrationProps = {
137137
size: config.illustrationSize[size],
138-
style: "color",
138+
kind: "color",
139139
};
140140
if (background && config.background) {
141141
// NOTE(gabro): when we have a background, the overall size of the illustration is the one of

packages/bento-design-system/src/Illustrations/svgIllustrationProps.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function svgIllustrationProps(props: IllustrationProps): SVGAttributes<SV
1010
};
1111
}
1212

13-
function outlineColor(color: (IllustrationProps & { style: "outline" })["color"]): string {
13+
function outlineColor(color: (IllustrationProps & { kind: "outline" })["color"]): string {
1414
switch (color) {
1515
case "default":
1616
return vars.foregroundColor.foregroundSecondary;

packages/bento-design-system/src/List/ListItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function renderLeft(props: Props, config: ListItemConfig) {
135135
<Column width="content">
136136
{props.illustration({
137137
size: config.iconSize.illustration,
138-
style: "outline",
138+
kind: "outline",
139139
color: props.disabled ? "disabled" : "default",
140140
})}
141141
</Column>

packages/bento-design-system/src/Navigation/Navigation.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function Destination({
9292
{illustration &&
9393
illustration({
9494
size: config.illustrationSize[size],
95-
style: "outline",
95+
kind: "outline",
9696
color: "inherit",
9797
})}
9898
</Column>

0 commit comments

Comments
 (0)