File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 1
1
const _ = require ( 'lodash' )
2
2
3
- module . exports = function ( ) {
4
- return function ( { addUtilities, e, theme, variants } ) {
5
- const utilities = _ . fromPairs (
6
- _ . map ( theme ( 'textShadow' ) , ( value , modifier ) => {
7
- const className = modifier === 'default' ? 'text-shadow' : `${ e ( `text-shadow-${ modifier } ` ) } `
8
- return [
9
- `.${ className } ` ,
10
- {
11
- 'text-shadow' : value ,
12
- } ,
13
- ]
14
- } )
15
- )
16
- addUtilities ( utilities , variants ( 'textShadow' ) )
17
- }
3
+ module . exports = function ( { addUtilities, e, theme, variants } ) {
4
+ const utilities = _ . fromPairs (
5
+ _ . map ( theme ( 'textShadow' ) , ( value , modifier ) => {
6
+ const className = modifier === 'default' ? 'text-shadow' : `${ e ( `text-shadow-${ modifier } ` ) } `
7
+ return [
8
+ `.${ className } ` ,
9
+ {
10
+ 'text-shadow' : value ,
11
+ } ,
12
+ ]
13
+ } )
14
+ )
15
+ addUtilities ( utilities , variants ( 'textShadow' ) )
18
16
}
17
+
You can’t perform that action at this time.
0 commit comments