Skip to content

Commit

Permalink
Add fill-none and stroke-none utilities (#9403)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightyen committed Sep 23, 2022
1 parent 5ea752e commit d77b9ce
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions stubs/defaultConfig.stub.js
Expand Up @@ -284,7 +284,10 @@ module.exports = {
'2xl': '0 25px 25px rgb(0 0 0 / 0.15)',
none: '0 0 #0000',
},
fill: ({ theme }) => theme('colors'),
fill: ({ theme }) => ({
...theme('colors'),
none: 'none',
}),
grayscale: {
0: '0',
DEFAULT: '100%',
Expand Down Expand Up @@ -793,7 +796,10 @@ module.exports = {
space: ({ theme }) => ({
...theme('spacing'),
}),
stroke: ({ theme }) => theme('colors'),
stroke: ({ theme }) => ({
...theme('colors'),
none: 'none',
}),
strokeWidth: {
0: '0',
1: '1',
Expand Down

0 comments on commit d77b9ce

Please sign in to comment.