Skip to content

Commit d77b9ce

Browse files
authored
Add fill-none and stroke-none utilities (#9403)
1 parent 5ea752e commit d77b9ce

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

stubs/defaultConfig.stub.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ module.exports = {
284284
'2xl': '0 25px 25px rgb(0 0 0 / 0.15)',
285285
none: '0 0 #0000',
286286
},
287-
fill: ({ theme }) => theme('colors'),
287+
fill: ({ theme }) => ({
288+
...theme('colors'),
289+
none: 'none',
290+
}),
288291
grayscale: {
289292
0: '0',
290293
DEFAULT: '100%',
@@ -793,7 +796,10 @@ module.exports = {
793796
space: ({ theme }) => ({
794797
...theme('spacing'),
795798
}),
796-
stroke: ({ theme }) => theme('colors'),
799+
stroke: ({ theme }) => ({
800+
...theme('colors'),
801+
none: 'none',
802+
}),
797803
strokeWidth: {
798804
0: '0',
799805
1: '1',

0 commit comments

Comments
 (0)