mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-09-12 03:05:15 -05:00
Fix up colors
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user