AOSSIE-Org / AOSSIE-Org/DebateAI

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

オープン
#271 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
84
フォーク
198
平均マージ
2日 19時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。