Fix up colors

This commit is contained in:
Trenton Zimmer
2024-07-17 10:32:08 -04:00
parent 7ca118d1c8
commit bf8fb99ae5
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ const props = defineProps({
type: Boolean,
default: false,
},
color: {
colorProp: {
type: String,
default: "bg-slate-900 dark:bg-slate-900",
},
@@ -32,7 +32,7 @@ const slots = useSlots();
const hasFooterSlot = computed(() => slots.footer && !!slots.footer());
const color = ref(props.color);
const color = ref(props.colorProp);
if (props.isAuth) {
color.value =

View File

@@ -68,7 +68,7 @@ onMounted(async () => {
<CardBox
v-for="song of songData"
:key="song.id"
color="bg-slate-700"
color-prop="bg-slate-800 dark:bg-slate-800"
class="my-3 p-5"
has-table
>