AOSSIE-Org / AOSSIE-Org/DebateAI

Debate module ignores global dark/light theme in both bot and matchmaking modes

Đang mở
#271 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
84
Fork
198
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
30

Mô tả

Hi, I noticed that when the application is in dark mode, most pages correctly follow the selected theme, but the entire debate module always renders in light mode regardless of the global theme setting.
I tested this across multiple sessions and devices:
Bot debate room always appears in light mode
Matchmaking chatroom (tested by joining from two devices with dark mode enabled on both accounts) also always appears in light mode
This seems inconsistent with the rest of the application and may indicate that the debate routes / layouts are not consuming the global theme context or are overriding styles locally.

Screenshots
Debate room in matchmaking mode with dark mode enabled (UI still light):**

![Debate room always renders in light mode](https://github.com/user-attachments/assets/2748acab-fc08-43ae-af25-a95ab86e4575)

Could you please confirm if this behavior is intentional?
If this is unintended, I’d be happy to help work on: Applying the global Theme Provider to the debate layouts
Removing any hard-coded light styles
Ensuring consistent theming across all debate modes

Steps to reproduce:
Enable dark mode
Join a debate with a bot OR via matchmaking
Observe that the UI remains in light mode

Expected behavior:
All debate rooms should respect the global dark/light theme setting.

Thanks, I am willing to submit a PR.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.