From 52c5a0ef55a5320921b1f721b762bf7efc61966c Mon Sep 17 00:00:00 2001 From: PascalMarchesseault <97350299+PascalMarchesseault@users.noreply.github.com> Date: Sat, 6 Jul 2024 22:12:40 -0400 Subject: [PATCH] Add default color when empty --- src/views/main/ProfileBanner.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/views/main/ProfileBanner.vue b/src/views/main/ProfileBanner.vue index ccbb3c2..7526195 100644 --- a/src/views/main/ProfileBanner.vue +++ b/src/views/main/ProfileBanner.vue @@ -5,24 +5,28 @@
Photo de couverture
-
+
Banner Image -
+
Haut + :style="{ backgroundColor: user.profileColors.bannerTop || '#6B0065', color: getTextColor(user.profileColors.bannerTop || '#6B0065') }"> + Haut Bas + :style="{ backgroundColor: user.profileColors.bannerBottom || '#A30E79', color: getTextColor(user.profileColors.bannerBottom || '#A30E79') }"> + Bas Accent1 + :style="{ backgroundColor: user.profileColors.accent || '#23393B', color: getTextColor(user.profileColors.accent || '#23393B') }"> + Accent1 Menu + :style="{ backgroundColor: user.profileColors.menu || '#800080', color: getTextColor(user.profileColors.menu || '#800080') }"> + Menu
@@ -45,7 +49,7 @@
Profile Image