@@ -37,17 +37,18 @@ const forms = plugin(function ({ addBase, theme }) {
37
37
'&:focus' : {
38
38
outline : outline . none [ 0 ] ,
39
39
'outline-offset' : outline . none [ 1 ] ,
40
- '--ring-offset-shadow' : `0 0 0 var(--ring-offset-width, 0) var(--ring-offset-color, #fff)` ,
41
- '--ring-shadow' : `0 0 0 calc(1px + var(--ring-offset-width, 0px)) var(--ring-color, ${ theme (
42
- 'colors.blue.600' ,
43
- colors . blue [ 600 ]
44
- ) } )`,
40
+ '--ring-inset' : 'var(--tailwind-empty,/*!*/ /*!*/)' ,
41
+ '--ring-offset-width' : '0px' ,
42
+ '--ring-offset-color' : '#fff' ,
43
+ '--ring-color' : theme ( 'colors.blue.600' , colors . blue [ 600 ] ) ,
44
+ '--ring-offset-shadow' : `var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)` ,
45
+ '--ring-shadow' : `var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color)` ,
45
46
'box-shadow' : `var(--ring-offset-shadow), var(--ring-shadow), var(--box-shadow, 0 0 #0000)` ,
46
47
'border-color' : theme ( 'colors.blue.600' , colors . blue [ 600 ] ) ,
47
48
} ,
48
49
} ,
49
50
50
- '::placeholder' : {
51
+ 'input::placeholder, textarea ::placeholder' : {
51
52
color : theme ( 'colors.gray.400' , colors . gray [ 400 ] ) ,
52
53
opacity : '1' ,
53
54
} ,
@@ -120,11 +121,12 @@ const forms = plugin(function ({ addBase, theme }) {
120
121
` ] : {
121
122
outline : outline . none [ 0 ] ,
122
123
'outline-offset' : outline . none [ 1 ] ,
123
- '--ring-offset-shadow' : `0 0 0 var(--ring-offset-width, 2px) var(--ring-offset-color, #fff)` ,
124
- '--ring-shadow' : `0 0 0 calc(2px + var(--ring-offset-width, 2px)) var(--ring-color, ${ theme (
125
- 'colors.blue.600' ,
126
- colors . blue [ 600 ]
127
- ) } )`,
124
+ '--ring-inset' : 'var(--tailwind-empty,/*!*/ /*!*/)' ,
125
+ '--ring-offset-width' : '2px' ,
126
+ '--ring-offset-color' : '#fff' ,
127
+ '--ring-color' : theme ( 'colors.blue.600' , colors . blue [ 600 ] ) ,
128
+ '--ring-offset-shadow' : `var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)` ,
129
+ '--ring-shadow' : `var(--ring-inset) 0 0 0 calc(2px + var(--ring-offset-width)) var(--ring-color)` ,
128
130
'box-shadow' : `var(--ring-offset-shadow), var(--ring-shadow), var(--box-shadow, 0 0 #0000)` ,
129
131
'border-color' : theme ( 'colors.gray.300' , colors . gray [ 300 ] ) ,
130
132
} ,
0 commit comments