+ :style="{ backgroundColor: creator.colors.bannerBottom || '#A30E79' }">
@@ -45,7 +45,7 @@
class="rounded-full border-solid border-2 z-20 lg:max-w-[200px] max-w-[200px] h-auto"
:src="creator.images.logo"
alt="Profile Picture"
- :style="{ borderColor: creator.profileColors.accent || '#A30E79', height: '150px' /* Adjust the height here */ }"
+ :style="{ borderColor: creator.colors.accent || '#A30E79', height: '150px' /* Adjust the height here */ }"
/>
diff --git a/src/views/creators/CreatorDescriptionBtn.vue b/src/views/creators/CreatorDescriptionBtn.vue
index 053b875..1672880 100644
--- a/src/views/creators/CreatorDescriptionBtn.vue
+++ b/src/views/creators/CreatorDescriptionBtn.vue
@@ -40,11 +40,11 @@ onMounted(() => {
const style = document.createElement('style');
style.innerHTML = `
.scrollable-content::-webkit-scrollbar-thumb {
- background-color: ${props.creator.profileColors.menu};
+ background-color: ${props.creator.colors.menu};
border-radius: 10px;
}
.scrollable-content::-webkit-scrollbar-thumb:hover {
- background-color: ${shadeColor(props.creator.profileColors.accent, -10)};
+ background-color: ${shadeColor(props.creator.colors.accent, -10)};
}
`;
document.head.appendChild(style);
diff --git a/src/views/main/ProfileBanner.vue b/src/views/main/ProfileBanner.vue
index 03808ab..f532e8f 100644
--- a/src/views/main/ProfileBanner.vue
+++ b/src/views/main/ProfileBanner.vue
@@ -1,31 +1,31 @@
-
+
-
+
![Banner Image]()
-
+
+ :style="{ backgroundColor: user.colors.bannerTop || '#6B0065', color: getTextColor(user.colors.bannerTop || '#6B0065') }">
Haut
+ :style="{ backgroundColor: user.colors.bannerBottom || '#A30E79', color: getTextColor(user.colors.bannerBottom || '#A30E79') }">
Bas
+ :style="{ backgroundColor: user.colors.accent || '#23393B', color: getTextColor(user.colors.accent || '#23393B') }">
Accent1
+ :style="{ backgroundColor: user.colors.menu || '#800080', color: getTextColor(user.colors.menu || '#800080') }">
Menu
@@ -51,7 +51,7 @@
![Profile Image]()
@@ -145,13 +145,13 @@ const openColorPicker = (target) => {
const applyColor = () => {
if (colorTarget.value === 'top') {
- props.user.profileColors.bannerTop = selectedColor.value;
+ props.user.colors.bannerTop = selectedColor.value;
} else if (colorTarget.value === 'bottom') {
- props.user.profileColors.bannerBottom = selectedColor.value;
+ props.user.colors.bannerBottom = selectedColor.value;
} else if (colorTarget.value === 'accent') {
- props.user.profileColors.accent = selectedColor.value;
+ props.user.colors.accent = selectedColor.value;
} else if (colorTarget.value === 'menu') {
- props.user.profileColors.menu = selectedColor.value;
+ props.user.colors.menu = selectedColor.value;
}
showColorPicker.value = false;
};