AOSSIE-Org / AOSSIE-Org/DebateAI

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

Offen
#271 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
84
Forks
198
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
30

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.