AOSSIE-Org / AOSSIE-Org/DebateAI

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

Open
#271 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
84
Forks
198
Avg merge
2d 19h
Merged PRs (30d)
30

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.