AOSSIE-Org / AOSSIE-Org/DebateAI

Fix: Start Debate button to align with design system styling

未关闭
#324 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
84
派生
198
平均合并
2 天 19 小时
30 天内合并 PR
30

描述

### Bug Description

The Start Debate button in the BotSelection component does not fully adhere to the project's shared design system styling conventions.

Currently, the button applies manual theme-related classes at the usage level instead of relying on the centralized Button component's built-in variant styling. This results in inconsistency with other buttons across the application and bypasses the intended design abstraction.

## Problem

Theme styles are being manually overridden.
Styling is not fully controlled by the shared Button component.
Reduces consistency across UI components.
Increases risk of visual inconsistencies during future theme updates.

## Expected Behavior

The button should:

Use the shared Button component’s built-in variant styling.
Avoid manually overriding theme-related classes.
Maintain consistency with the overall design system.
Automatically adapt to light/dark/contrast theme changes.

## Expected fix

Remove manual theme overrides
Use variant="default"
Avoid overriding theme colors at usage level
Keep layout-only classes

### Logs and Screenshots

Image

### Impact

Medium - Feature works but has issues

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。