diff --git a/front/assets/dark.scss b/front/assets/dark.scss index 6c17b4c..bc4fa39 100644 --- a/front/assets/dark.scss +++ b/front/assets/dark.scss @@ -21,12 +21,16 @@ & > div { & > div { - & > h1 > a { - color: var(--neutral-50); + & > img { + width: 100%; + transform: translateX(-10px); } & > div > div { & > img { + margin-left: 10px; + width: 30px; + height: 30px; border: solid 2px var(--blue-600); } diff --git a/front/assets/image/icon_dark.png b/front/assets/image/icon_dark.png new file mode 100644 index 0000000..0103c5a Binary files /dev/null and b/front/assets/image/icon_dark.png differ diff --git a/front/assets/image/icon_white.png b/front/assets/image/icon_white.png new file mode 100644 index 0000000..e7d039c Binary files /dev/null and b/front/assets/image/icon_white.png differ diff --git a/front/assets/image/user_light.png b/front/assets/image/user_light.png new file mode 100644 index 0000000..a843edb Binary files /dev/null and b/front/assets/image/user_light.png differ diff --git a/front/assets/light.scss b/front/assets/light.scss index 4623c30..35d7fb3 100644 --- a/front/assets/light.scss +++ b/front/assets/light.scss @@ -12,12 +12,16 @@ & > div { & > div { - & > h1 > a { - color: var(--neutral-950); + & > img { + width: 100%; + transform: translateX(-10px); } & > div > div { & > img { + margin-left: 10px; + width: 30px; + height: 30px; border: solid 2px var(--blue-600); } diff --git a/front/components/Navbar.vue b/front/components/Navbar.vue index 45fe21a..0d36ed0 100644 --- a/front/components/Navbar.vue +++ b/front/components/Navbar.vue @@ -18,6 +18,8 @@ const isDropDownOpen = ref(false); const isShowModal = ref(false) const showProfileModal = ref(false) +const { isDark } = useSystemTheme() + onMounted(async () => { document.addEventListener('click', () => isDropDownOpen.value = false) }) @@ -40,14 +42,13 @@ const logout = async () => {