ui: border around account header avatar

This commit is contained in:
Anthony Fu 2022-11-27 12:48:23 +08:00
parent fcde653efe
commit 1bd710daa4
2 changed files with 2 additions and 1 deletions

View file

@ -67,7 +67,7 @@ function previewAvatar() {
<div p4 mt--17 flex flex-col gap-6>
<div flex justify-between>
<div flex="~ col gap-2 1">
<button w-30 h-30 rounded-full bg-black z-2 @click="previewAvatar">
<button w-30 h-30 rounded-full bg-gray border-4 border-bg-base z-2 @click="previewAvatar">
<AccountAvatar :account="account" hover:opacity-90 transition-opacity />
</button>
<div flex flex-col>

View file

@ -13,6 +13,7 @@ export default defineConfig({
shortcuts: [
{
'border-base': 'border-$c-border',
'border-bg-base': 'border-$c-bg-base',
// background
'bg-base': 'bg-$c-bg-base',