From b6f52a58a7822fa448b8090e82f52db27a876638 Mon Sep 17 00:00:00 2001 From: lightyen Date: Fri, 23 Sep 2022 22:07:55 +0800 Subject: [PATCH] Add `fill-none` and `stroke-none` utilities --- stubs/defaultConfig.stub.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index c73bd5fcb17e..49750a2ac7c8 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -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%', @@ -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',