fix: guest and admin logic

This commit is contained in:
2026-06-22 11:41:34 +07:00
parent b1a539235b
commit 860395cb14
61 changed files with 1291 additions and 244 deletions
+61
View File
@@ -157,4 +157,65 @@ html.light .bg-rose-950\/40 {
html.light .border-rose-900\/50 {
border-color: #fecaca !important;
}
/* Additional light mode overrides for MemberDashboard and complex classes */
html.light [class*="bg-slate-800"] {
background-color: #f0f1f5 !important;
color: #0f172a !important;
}
html.light [class*="bg-slate-900"] {
background-color: #f1f5f9 !important;
color: #0f172a !important;
}
html.light [class*="text-slate-400"],
html.light [class*="text-slate-350"],
html.light [class*="text-slate-300"] {
color: #475569 !important;
}
html.light [class*="border-slate-900"],
html.light [class*="border-slate-800"] {
border-color: #cbd5e1 !important;
}
html.light .hover\:bg-slate-900:hover {
background-color: #e2e8f0 !important;
color: #0f172a !important;
}
html.light .hover\:bg-white:hover {
background-color: #f8fafc !important;
}
/* Ensure text contrast in light mode */
html.light .text-white {
color: #0f172a !important;
}
html.light .text-gray-50 {
color: #0f172a !important;
}
html.light .text-gray-100 {
color: #1e293b !important;
}
/* Tailwind Dark Mode - ensure dark classes work when in dark theme */
html.dark .dark\:bg-slate-800 {
background-color: #1e293b !important;
}
html.dark .dark\:text-slate-200 {
color: #e2e8f0 !important;
}
html.dark .dark\:border-slate-700 {
border-color: #334155 !important;
}
html.dark .dark\:hover\:bg-slate-700:hover {
background-color: #334155 !important;
}