Skip to content

Commit

Permalink
rename bg-round -> bg-repeat-round, bg-space -> bg-repeat-space
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Dec 20, 2024
1 parent 00ccbdc commit 60535d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2179,14 +2179,14 @@ exports[`getClassList 1`] = `
"bg-radial/increasing",
"bg-radial/decreasing",
"bg-repeat",
"bg-repeat-round",
"bg-repeat-space",
"bg-repeat-x",
"bg-repeat-y",
"bg-right",
"bg-right-bottom",
"bg-right-top",
"bg-round",
"bg-scroll",
"bg-space",
"bg-top",
"bg-transparent",
"bg-transparent/0",
Expand Down
20 changes: 10 additions & 10 deletions packages/tailwindcss/src/utilities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10499,8 +10499,8 @@ test('bg', async () => {
'bg-no-repeat',
'bg-repeat-x',
'bg-repeat-y',
'bg-round',
'bg-space',
'bg-repeat-round',
'bg-repeat-space',
],
),
).toMatchInlineSnapshot(`
Expand Down Expand Up @@ -10935,20 +10935,20 @@ test('bg', async () => {
background-repeat: repeat;
}
.bg-repeat-x {
background-repeat: repeat-x;
.bg-repeat-round {
background-repeat: round;
}
.bg-repeat-y {
background-repeat: repeat-y;
.bg-repeat-space {
background-repeat: space;
}
.bg-round {
background-repeat: round;
.bg-repeat-x {
background-repeat: repeat-x;
}
.bg-space {
background-repeat: space;
.bg-repeat-y {
background-repeat: repeat-y;
}"
`)
expect(
Expand Down
4 changes: 2 additions & 2 deletions packages/tailwindcss/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2290,8 +2290,8 @@ export function createUtilities(theme: Theme) {
staticUtility('bg-no-repeat', [['background-repeat', 'no-repeat']])
staticUtility('bg-repeat-x', [['background-repeat', 'repeat-x']])
staticUtility('bg-repeat-y', [['background-repeat', 'repeat-y']])
staticUtility('bg-round', [['background-repeat', 'round']])
staticUtility('bg-space', [['background-repeat', 'space']])
staticUtility('bg-repeat-round', [['background-repeat', 'round']])
staticUtility('bg-repeat-space', [['background-repeat', 'space']])

staticUtility('bg-none', [['background-image', 'none']])

Expand Down

0 comments on commit 60535d4

Please sign in to comment.