From a1c8d343327263c0351e3d2dea174d5985bb7bb0 Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Wed, 12 Feb 2025 16:41:22 -0500 Subject: [PATCH] Big cleanup for styling --- frontend/src/assets/main.css | 10 ++- frontend/src/views/creators/BannerActions.vue | 37 ++++------- frontend/src/views/creators/CreatorHome.vue | 64 +++++++++---------- frontend/src/views/creators/CreatorLogo.vue | 2 +- .../views/creators/DonationButtonBanner.vue | 16 ++--- .../src/views/creators/FullscreenImage.vue | 56 ---------------- 6 files changed, 58 insertions(+), 127 deletions(-) delete mode 100644 frontend/src/views/creators/FullscreenImage.vue diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css index 80bfcd7..a41e81d 100644 --- a/frontend/src/assets/main.css +++ b/frontend/src/assets/main.css @@ -26,18 +26,22 @@ .btn { @apply min-w-24 w-full; @apply p-4; - @apply flex flex-nowrap gap-4 items-center justify-center; + @apply flex flex-nowrap gap-4 items-center justify-center ; @apply rounded-lg; @apply capitalize text-base font-sans font-medium; @apply w-fit px-10; } button.primary { - @apply btn bg-hPrimary text-hOnPrimary; + @apply btn; + @apply bg-hPrimary text-hOnPrimary; + @apply hover:brightness-125; } button.secondary { - @apply btn bg-hSecondary text-hOnSecondary; + @apply btn; + @apply bg-hSecondary text-hOnSecondary; + @apply hover:brightness-90; } div.card { diff --git a/frontend/src/views/creators/BannerActions.vue b/frontend/src/views/creators/BannerActions.vue index f24526a..05036f3 100644 --- a/frontend/src/views/creators/BannerActions.vue +++ b/frontend/src/views/creators/BannerActions.vue @@ -114,57 +114,42 @@ onBeforeUnmount(() => { - -