From 13b6ef95890bb6bc32dcaaf04fe2eb868b6edf55 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 19 Sep 2020 22:07:50 -0500 Subject: [PATCH] Make active menu item neumorphic --- components/navbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/navbar.vue b/components/navbar.vue index b6f7aab..a2f09ad 100644 --- a/components/navbar.vue +++ b/components/navbar.vue @@ -50,7 +50,7 @@ :href="item.url" :class="[ 'px-3 py-2 rounded-md text-sm font-medium leading-5 focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out', - ($nuxt.$route.path === item.url) ? 'text-white bg-gray-900 hover:text-white' : 'text-gray-300 hover:bg-darker hover:neumorphic-shadow' + ($nuxt.$route.path === item.url) ? 'text-white bg-darker hover:text-white neumorphic-shadow' : 'text-gray-300 hover:bg-darker hover:neumorphic-shadow' ]" > {{ item.label }}