From 771cb06c76a887027546bdcab7aafd517c8bfaf4 Mon Sep 17 00:00:00 2001 From: Preschian Febryantara Date: Thu, 19 Dec 2024 23:02:56 +0700 Subject: [PATCH 1/2] refactor: streamline styles and remove unused variables across components - Removed unused SCSS imports and variables from multiple components. - Replaced theme-based styles with Tailwind CSS utility classes for consistency. - Enhanced styling for various elements, including buttons, banners, and popovers, to improve visual coherence. - Introduced a new utility class for text shadows to enhance text visibility. These changes aim to simplify the styling approach and improve maintainability. --- components/MessageNotify.vue | 9 +-- components/base/MediaItem.vue | 12 +--- components/blog/BlogPost.vue | 46 +++++-------- .../CollectionHeader/CollectionBanner.vue | 44 ++---------- components/collection/HeroButtons.vue | 32 ++------- components/collection/drop/AddFundsModal.vue | 2 - .../collection/unlockable/CountdownTimer.vue | 4 -- .../CollectionDetailsPopover.vue | 13 +--- .../CollectionDetailsPopoverContent.vue | 69 +++---------------- libs/ui/src/scss/tailwind.scss | 14 ++++ 10 files changed, 57 insertions(+), 188 deletions(-) diff --git a/components/MessageNotify.vue b/components/MessageNotify.vue index 59b17bb962..f120a781a7 100644 --- a/components/MessageNotify.vue +++ b/components/MessageNotify.vue @@ -51,21 +51,14 @@ const autoClose = computed(() => !props.noToast) diff --git a/components/collection/HeroButtons.vue b/components/collection/HeroButtons.vue index 3c6d523254..678c059f59 100644 --- a/components/collection/HeroButtons.vue +++ b/components/collection/HeroButtons.vue @@ -1,6 +1,6 @@