AOSSIE-Org / AOSSIE-Org/DebateAI

Bug: Notification bar and popovers don't follow theme in dark/system modes

未关闭
#338 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
84
派生
198
平均合并
2 天 19 小时
30 天内合并 PR
30

描述

Describe the bug
The notification panel, user profile popover, and mobile drawer in `Header.tsx` use hardcoded Tailwind color classes (e.g. `text-gray-900`, `bg-gray-50`, `bg-white`, `border-gray-100`) that only render correctly in light mode. In dark or system modes, text becomes unreadable, backgrounds don't adapt, and the overall UI breaks visually.

Steps to Reproduce
1. Switch the app to dark or system mode
2. Click the notification bell icon in the header
3. Observe that the notification panel has incorrect background and text colors
4. Also check the profile popover and mobile drawer — same issue

Expected Behavior
The notification panel and all header popovers should correctly reflect the active theme across all modes (light, dark, system).

Actual Behavior
Hardcoded gray/white colors are displayed regardless of the active theme, making the UI unreadable in dark/system modes.

Environment
- App: DebateAI Web
- File affected: `frontend/src/components/Header.tsx`

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。