refactor: theming

This commit is contained in:
Anthony Fu 2022-11-23 10:16:31 +08:00
parent 9a77c7da2a
commit a4d235b6fe
22 changed files with 351 additions and 39 deletions

View file

@ -11,10 +11,10 @@ const { data: context } = await useAsyncData(`${id}-context`, () => masto.status
<template>
<template v-if="status">
<template v-for="comment of context?.ancestors" :key="comment.id">
<StatusCard :status="comment" border="t border" pt-4 />
<StatusCard :status="comment" border="t base" pt-4 />
</template>
<StatusDetails :status="status" border="t border" pt-4 />
<div v-if="currentUser" border="t border" p6 flex gap-4>
<StatusDetails :status="status" border="t base" pt-4 />
<div v-if="currentUser" border="t base" p6 flex gap-4>
<AccountAvatar :account="currentUser.account" w-10 h-10 />
<PublishWidget
w-full
@ -25,7 +25,7 @@ const { data: context } = await useAsyncData(`${id}-context`, () => masto.status
</div>
<template v-for="comment of context?.descendants" :key="comment.id">
<StatusCard :status="comment" border="t border" pt-4 />
<StatusCard :status="comment" border="t base" pt-4 />
</template>
</template>