AOSSIE-Org / AOSSIE-Org/DebateAI

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

未關閉
#271 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
84
分支
198
平均合併
2 天 19 小時
30 天內合併 PR
30

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。