diff --git a/frontend/src/App.vue b/frontend/src/App.vue index fc0a953..e2d1c22 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -128,9 +128,14 @@ 테마 설정 +
+ +
@@ -276,6 +281,7 @@ const currentTheme = ref(localStorage.getItem('app-theme') || 'dark') // Sync the theme to html element directly for DaisyUI scoping watch(currentTheme, (newTheme) => { document.documentElement.setAttribute('data-theme', newTheme) + localStorage.setItem('app-theme', newTheme) }, { immediate: true }) function randomizeTheme() { diff --git a/frontend/src/main.ts b/frontend/src/main.ts index c688409..605eec9 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -3,6 +3,7 @@ import { createPinia } from 'pinia' import router from './router' import App from './App.vue' import './style.css' +import 'daisyui/themes.css' const app = createApp(App) diff --git a/frontend/src/style.css b/frontend/src/style.css index 749a3ee..fce16e1 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -7,8 +7,6 @@ html, body, #app { height: 100%; margin: 0; padding: 0; - background-color: #1b2636; - color: white; font-family: 'Inter', sans-serif; } diff --git a/frontend/src/views/AdminUserView.vue b/frontend/src/views/AdminUserView.vue index 3d5d7a0..74770a8 100644 --- a/frontend/src/views/AdminUserView.vue +++ b/frontend/src/views/AdminUserView.vue @@ -1,5 +1,5 @@