From a9bb83b4e5f21f5cb07d6b4e6bf649a70288a2e6 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 5 Jul 2026 09:12:04 +0000 Subject: [PATCH] big --- frontend/src/App.vue | 8 +++++++- frontend/src/main.ts | 1 + frontend/src/style.css | 2 -- frontend/src/views/AdminUserView.vue | 2 +- frontend/src/views/QuizView.vue | 12 +++++++----- frontend/src/views/SettingsView.vue | 2 +- frontend/tailwind.config.js | 9 ++++++++- 7 files changed, 25 insertions(+), 11 deletions(-) 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 @@