fix: use dark class instead of data-theme for Tailwind

This commit is contained in:
Hitonabi
2026-07-22 17:12:32 +02:00
parent 85e072a7dd
commit 12c67aee27
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ function App() {
<div className="min-h-screen bg-white text-slate-900 dark:bg-slate-900 dark:text-slate-100 font-sans transition-colors duration-300">
<div className="flex h-screen overflow-hidden">
{/* Sidebar */}
<aside className="w-64 bg-slate-900 text-slate-100 flex flex-col dark:bg-slate-900 dark:text-slate-100">
<aside className="w-64 bg-slate-900 text-slate-100 flex flex-col">
<div className="p-6">
<div className="flex items-center gap-3">
<div className="p-2 bg-gradient-to-br from-indigo-500 to-purple-600 rounded-xl">