Skip to content

Commit e917427

Browse files
committed
refactor: [#421] new component name and added flex
1 parent 300f8c2 commit e917427

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/ColorModeSelector.vue renamed to components/ThemeToggle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@click="setColorTheme()"
1616
>Change Themes</button>
1717
</div> -->
18-
<div>
18+
<div class="flex">
1919
<button v-if="$colorMode.preference === 'system'" @click="$colorMode.preference = 'dark'">
2020
<svg
2121
xmlns="http://www.w3.org/2000/svg"

components/navigation/NavigationBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
Sign Up
6363
</NuxtLink>
6464
</template>
65-
<ColorModeSelector />
65+
<ThemeToggle />
6666
</div>
6767
</div>
6868
<template v-if="!mobileCollapsed">

0 commit comments

Comments
 (0)