diff --git a/components/account/AccountAvatar.vue b/components/account/AccountAvatar.vue index afa37727..8caeffe3 100644 --- a/components/account/AccountAvatar.vue +++ b/components/account/AccountAvatar.vue @@ -7,5 +7,5 @@ defineProps<{ diff --git a/components/account/AccountSwitcher.vue b/components/account/AccountSwitcher.vue index c32c309f..64db7d82 100644 --- a/components/account/AccountSwitcher.vue +++ b/components/account/AccountSwitcher.vue @@ -1,9 +1,48 @@ diff --git a/components/modal/ModalContainer.vue b/components/modal/ModalContainer.vue index 954803db..29ccff74 100644 --- a/components/modal/ModalContainer.vue +++ b/components/modal/ModalContainer.vue @@ -1,33 +1,10 @@
- +
diff --git a/pages/signin/callback.vue b/pages/signin/callback.vue index 01062ee8..80663212 100644 --- a/pages/signin/callback.vue +++ b/pages/signin/callback.vue @@ -7,9 +7,6 @@ const { query } = useRoute() onMounted(async () => { await loginTo(query as any) - await nextTick() - await nextTick() - location.pathname = '/' }) diff --git a/styles/vars.css b/styles/vars.css index 320c1012..3261ed23 100644 --- a/styles/vars.css +++ b/styles/vars.css @@ -3,10 +3,12 @@ --c-primary-active: #3a7b8c; --c-border: #88888820; --c-bg-base: #fff; + --c-bg-active: #efefef; --c-text-base: #222; } .dark { --c-bg-base: #111; + --c-bg-active: #222; --c-text-base: #fff; } diff --git a/unocss.config.ts b/unocss.config.ts index 770ebabf..f346f658 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -14,6 +14,7 @@ export default defineConfig({ { 'border-base': 'border-$c-border', 'bg-base': 'bg-$c-bg-base', + 'bg-active': 'bg-$c-bg-active', 'text-base': 'text-$c-text-base', 'interact-disabled': 'disabled:opacity-50 disabled:pointer-events-none disabled:saturate-0', 'btn-solid': 'px-4 py-2 rounded text-white bg-$c-primary hover:bg-$c-primary-active interact-disabled',