@@ -1396,8 +1396,10 @@ export let corePlugins = {
1396
1396
1397
1397
boxDecorationBreak : ( { addUtilities } ) => {
1398
1398
addUtilities ( {
1399
- '.decoration-slice' : { 'box-decoration-break' : 'slice' } ,
1400
- '.decoration-clone' : { 'box-decoration-break' : 'clone' } ,
1399
+ '.decoration-slice' : { 'box-decoration-break' : 'slice' } , // Deprecated
1400
+ '.decoration-clone' : { 'box-decoration-break' : 'clone' } , // Deprecated
1401
+ '.box-decoration-slice' : { 'box-decoration-break' : 'slice' } ,
1402
+ '.box-decoration-clone' : { 'box-decoration-break' : 'clone' } ,
1401
1403
} )
1402
1404
} ,
1403
1405
@@ -1655,6 +1657,7 @@ export let corePlugins = {
1655
1657
textDecoration : ( { addUtilities } ) => {
1656
1658
addUtilities ( {
1657
1659
'.underline' : { 'text-decoration' : 'underline' } ,
1660
+ '.overline' : { 'text-decoration' : 'overline' } ,
1658
1661
'.line-through' : { 'text-decoration' : 'line-through' } ,
1659
1662
'.no-underline' : { 'text-decoration' : 'none' } ,
1660
1663
} )
@@ -1671,6 +1674,28 @@ export let corePlugins = {
1671
1674
)
1672
1675
} ,
1673
1676
1677
+ textDecorationStyle : ( { addUtilities } ) => {
1678
+ addUtilities ( {
1679
+ '.decoration-solid' : { 'text-decoration-style' : 'solid' } ,
1680
+ '.decoration-double' : { 'text-decoration-style' : 'double' } ,
1681
+ '.decoration-dotted' : { 'text-decoration-style' : 'dotted' } ,
1682
+ '.decoration-dashed' : { 'text-decoration-style' : 'dashed' } ,
1683
+ '.decoration-wavy' : { 'text-decoration-style' : 'wavy' } ,
1684
+ } )
1685
+ } ,
1686
+
1687
+ textDecorationThickness : createUtilityPlugin (
1688
+ 'textDecorationThickness' ,
1689
+ [ [ 'decoration' , [ 'text-decoration-thickness' ] ] ] ,
1690
+ { type : [ 'length' , 'percentage' ] }
1691
+ ) ,
1692
+
1693
+ textUnderlineOffset : createUtilityPlugin (
1694
+ 'textUnderlineOffset' ,
1695
+ [ [ 'underline-offset' , [ 'text-underline-offset' ] ] ] ,
1696
+ { type : [ 'length' , 'percentage' ] }
1697
+ ) ,
1698
+
1674
1699
fontSmoothing : ( { addUtilities } ) => {
1675
1700
addUtilities ( {
1676
1701
'.antialiased' : {
0 commit comments