From 1f1378ed5c2eb84d35aaa642d49a8783cae34b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Fern=C3=A1ndez?= Date: Fri, 28 Jul 2023 11:16:16 -0400 Subject: [PATCH] feat(tailwind): change how color classes are parsed Now it expects a color class variant for each element that has varColor related changes --- src/components/BnCheckbox/BnCheckbox.vue | 6 ++++-- src/components/BnInput/BnInput.vue | 21 +++++++++++++-------- src/components/BnListbox/BnListbox.vue | 22 +++++++++++++--------- src/components/BnTextarea/BnTextarea.vue | 9 +++++++-- src/components/BnToggle/BnToggle.vue | 4 ++-- src/components/Btn/Btn.vue | 1 + src/tailwind/index.cjs | 12 ++++++++++-- 7 files changed, 50 insertions(+), 25 deletions(-) diff --git a/src/components/BnCheckbox/BnCheckbox.vue b/src/components/BnCheckbox/BnCheckbox.vue index 1d2cb65..0674e32 100644 --- a/src/components/BnCheckbox/BnCheckbox.vue +++ b/src/components/BnCheckbox/BnCheckbox.vue @@ -58,7 +58,6 @@ const attrsWithoutClass = Object.fromEntries(Object.entries(attrs).filter(([key]