@@ -1396,8 +1396,10 @@ export let corePlugins = {
13961396
13971397 boxDecorationBreak : ( { addUtilities } ) => {
13981398 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' } ,
14011403 } )
14021404 } ,
14031405
@@ -1655,6 +1657,7 @@ export let corePlugins = {
16551657 textDecoration : ( { addUtilities } ) => {
16561658 addUtilities ( {
16571659 '.underline' : { 'text-decoration' : 'underline' } ,
1660+ '.overline' : { 'text-decoration' : 'overline' } ,
16581661 '.line-through' : { 'text-decoration' : 'line-through' } ,
16591662 '.no-underline' : { 'text-decoration' : 'none' } ,
16601663 } )
@@ -1671,6 +1674,28 @@ export let corePlugins = {
16711674 )
16721675 } ,
16731676
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+
16741699 fontSmoothing : ( { addUtilities } ) => {
16751700 addUtilities ( {
16761701 '.antialiased' : {
0 commit comments