From 53c5ca579b5365b9361c8692a0e910070c80bab6 Mon Sep 17 00:00:00 2001 From: Dany Castillo <31006608+dcastil@users.noreply.github.com> Date: Fri, 10 Dec 2021 13:31:27 +0100 Subject: [PATCH] add back fill-current and stroke-current --- 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 f3034a640a57..3e0a99a4b32a 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -280,7 +280,10 @@ module.exports = { '2xl': '0 25px 25px rgb(0 0 0 / 0.15)', none: '0 0 #0000', }, - fill: ({ theme }) => theme('colors'), + fill: ({ theme }) => ({ + current: 'currentColor', + ...theme('colors') + }), grayscale: { 0: '0', DEFAULT: '100%', @@ -789,7 +792,10 @@ module.exports = { space: ({ theme }) => ({ ...theme('spacing'), }), - stroke: ({ theme }) => theme('colors'), + stroke: ({ theme }) => ({ + current: 'currentColor', + ...theme('colors') + }), strokeWidth: { 0: '0', 1: '1',