Dark mode
This commit is contained in:
1 parent
b480885e7a
commit
0cd8eaf580
13 files changed
+179
-35
No files matched your search
@@ -3,14 +3,17 @@
|
||||
<RouterLink
|
||||
:class="{ 'opacity-0': isHome }"
|
||||
to="/"
|
||||
class="text-xl text-stone-400 hover:text-cyan-500 transition-opacity duration-200">
|
||||
class="text-xl hover:text-cyan-500 dark:text-stone-400 transition-opacity duration-200">
|
||||
<IconHouse />
|
||||
</RouterLink>
|
||||
<h1 class="py-2 font-mono text-3xl text-center">
|
||||
<h1
|
||||
class="z-20 py-2 font-mono text-3xl text-center bg-stone-300 dark:bg-stone-900">
|
||||
N<span class="text-cyan-500">0</span>mbers
|
||||
</h1>
|
||||
<IconMenu
|
||||
class="text-xl text-stone-400 hover:text-cyan-500 transition-opacity" />
|
||||
<button @click="isSideMenuVisible = true">
|
||||
<IconMenu
|
||||
class="text-xl hover:text-cyan-500 dark:text-stone-400 transition-opacity" />
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -18,6 +21,7 @@
|
||||
import { computed } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
import { isSideMenuVisible } from '@/composables/side-menu'
|
||||
import IconHouse from '~icons/ph/house'
|
||||
import IconMenu from '~icons/ph/list'
|
||||
|
||||
|
||||
Reference in new issue
Block a user