Skip to content

Commit 38478ff

Browse files
committed
chore: List background shorthand for the badge root slot
1 parent be1f9b3 commit 38478ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/__tests__/snapshot-tests/__snapshots__/style-docs.test.ts.snap‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports[`Style API docs definition for badge matches the snapshot: badge 1`] = `
5050
"name": "root",
5151
"properties": [
5252
"color",
53-
"background-color",
53+
"background",
5454
"border",
5555
"border-radius",
5656
"padding",

‎src/badge/styles.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@include style-api.docs(
1111
'root',
12-
$properties: (color, background-color, border, border-radius, padding, font-family, font-size, font-weight)
12+
$properties: (color, background, border, border-radius, padding, font-family, font-size, font-weight)
1313
);
1414

1515
.badge {

0 commit comments

Comments
 (0)