mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Make design more Neumorphic Dark-Mode
This commit is contained in:
parent
1386676ae6
commit
2a59db41d3
4 changed files with 8 additions and 6 deletions
|
|
@ -4,7 +4,7 @@
|
|||
:href="href"
|
||||
:target="target"
|
||||
role="button"
|
||||
class="relative inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-500 hover:bg-indigo-400 focus:outline-none focus:shadow-outline-indigo focus:border-indigo-600 active:bg-indigo-600 transition duration-150 ease-in-out"
|
||||
class="relative inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-darker neumorphic-shadow hover:bg-indigo-400 focus:outline-none focus:shadow-outline-indigo focus:border-indigo-600 active:bg-indigo-600 transition duration-150 ease-in-out"
|
||||
>
|
||||
<slot />
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -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-gray-700'
|
||||
($nuxt.$route.path === item.url) ? 'text-white bg-gray-900 hover:text-white' : 'text-gray-300 hover:bg-darker hover:neumorphic-shadow'
|
||||
]"
|
||||
>
|
||||
{{ item.label }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue