Skip to content

Commit

Permalink
breaking: rename box decoration utiltities
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Dec 10, 2021
1 parent f8acd7c commit bfe2cc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/default-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function getDefaultConfig() {
* Box Decoration Break
* @see https://tailwindcss.com/docs/box-decoration-break
*/
decoration: [{ decoration: ['slice', 'clone'] }],
'box-decoration': [{ 'box-decoration': ['slice', 'clone'] }],
/**
* Box Sizing
* @see https://tailwindcss.com/docs/box-sizing
Expand Down
9 changes: 2 additions & 7 deletions tests/class-map.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test('class map has correct class groups at first part', () => {
'border-w-y',
],
bottom: ['bottom'],
box: ['box'],
box: ['box', 'box-decoration'],
break: ['break', 'break-after', 'break-before', 'break-inside'],
brightness: ['brightness'],
capitalize: ['text-transform'],
Expand All @@ -84,12 +84,7 @@ test('class map has correct class groups at first part', () => {
contents: ['display'],
contrast: ['contrast'],
cursor: ['cursor'],
decoration: [
'decoration',
'text-decoration-color',
'text-decoration-style',
'text-decoration-thickness',
],
decoration: ['text-decoration-color', 'text-decoration-style', 'text-decoration-thickness'],
delay: ['delay'],
diagonal: ['fvn-fraction'],
divide: [
Expand Down

0 comments on commit bfe2cc9

Please sign in to comment.