From 07f9d403b049697c3e677268bf36ea8ffc667747 Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Mon, 27 Nov 2023 01:14:41 +0530 Subject: [PATCH 1/2] fix: add missing '&&' symbol --- components/lib/passthrough/tailwind/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lib/passthrough/tailwind/index.js b/components/lib/passthrough/tailwind/index.js index d886bb9bde..5b1134529a 100644 --- a/components/lib/passthrough/tailwind/index.js +++ b/components/lib/passthrough/tailwind/index.js @@ -660,9 +660,9 @@ const Tailwind = { }, { 'shadow-lg': props.raised && props.text }, { - 'text-gray-500 hover:bg-gray-300/20': props.plain & props.text, - 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.plain & props.outlined, - 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.plain & !props.outlined & !props.text + 'text-gray-500 hover:bg-gray-300/20': props.plain && props.text, + 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.plain && props.outlined, + 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.plain && !props.outlined && !props.text }, { 'bg-transparent border': props.outlined && !props.plain, From ad453aa00c76bfcddbf14df9b882a76796d9697b Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Mon, 27 Nov 2023 01:15:59 +0530 Subject: [PATCH 2/2] fix: add missing '&&' symbol --- components/doc/button/theming/tailwinddoc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/doc/button/theming/tailwinddoc.js b/components/doc/button/theming/tailwinddoc.js index e6bc6dedcb..6f5669874d 100644 --- a/components/doc/button/theming/tailwinddoc.js +++ b/components/doc/button/theming/tailwinddoc.js @@ -37,9 +37,9 @@ const Tailwind = { }, { 'shadow-lg': props.raised && props.text }, { - 'text-gray-500 hover:bg-gray-300/20': props.plain & props.text, - 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.plain & props.outlined, - 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.plain & !props.outlined & !props.text + 'text-gray-500 hover:bg-gray-300/20': props.plain && props.text, + 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.plain && props.outlined, + 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.plain && !props.outlined && !props.text }, { 'bg-transparent border': props.outlined && !props.plain,