From 9d63a15e7b6f85d057300e6f7c8c04618dc761e4 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 28 Sep 2022 15:53:54 +0200 Subject: Dark mode is now darker --- components/VHeader.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'components/VHeader.vue') diff --git a/components/VHeader.vue b/components/VHeader.vue index 1285875..a141d0b 100644 --- a/components/VHeader.vue +++ b/components/VHeader.vue @@ -36,24 +36,27 @@ ) span.sr-only Open user menu user-avatar(:data="me") - .absolute.right-0.z-10.mt-2.w-48.origin-top-right.rounded-md.bg-white.py-1.shadow-lg.ring-1.ring-black.ring-opacity-5(class="focus:outline-none" role="menu" aria-orientation="vertical" aria-labelledby="user-menu-button" tabindex="-1" v-if="boxUserInfo && me") - a.flex.leading-6.block.px-4.py-2.text-sm.text-gray-700(class="sm:hidden" href="/create" role="menuitem" tabindex="-1") + .absolute.right-0.z-10.mt-2.w-48.origin-top-right.rounded-md.bg-white.py-1.shadow-lg.ring-1.ring-black.ring-opacity-5( + class="focus:outline-none dark:bg-gray-800" role="menu" aria-orientation="vertical" aria-labelledby="user-menu-button" tabindex="-1" + v-if="boxUserInfo && me" + ) + a.flex.leading-6.block.px-4.py-2.text-sm.text-gray-700(class="dark:text-white sm:hidden" href="/create" role="menuitem" tabindex="-1") | Create - a.flex.leading-6.block.px-4.py-2.text-sm.text-gray-700(:href="'/user/'+me.id" role="menuitem" tabindex="-1") + a.flex.leading-6.block.px-4.py-2.text-sm.text-gray-700(class="dark:text-white" :href="'/user/'+me.id" role="menuitem" tabindex="-1") | Your Profile - a.flex.leanding-6.block.px-4.py-2.text-sm.text-gray-700(href="/settings" role="menuitem" tabindex="-1") + a.flex.leanding-6.block.px-4.py-2.text-sm.text-gray-700(class="dark:text-white" href="/settings" role="menuitem" tabindex="-1") | Settings - a.flex.leading-6.block.px-4.py-2.text-sm.text-gray-700(href="#" role="menuitem" tabindex="-1" @click="logout") + a.flex.leading-6.block.px-4.py-2.text-sm.text-gray-700(class="dark:text-white" href="#" role="menuitem" tabindex="-1" @click="logout") -- cgit v1.2.3-18-g5258