From d77b9cec188b678e248cf6e0dba68fb9a4f3d612 Mon Sep 17 00:00:00 2001 From: lightyen Date: Sat, 24 Sep 2022 02:12:57 +0800 Subject: [PATCH] Add `fill-none` and `stroke-none` utilities (#9403) --- 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',