@@ -53,7 +53,7 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
5353 { /* 头部 */ }
5454 < div className = "flex items-center justify-between px-4 py-3 border-b border-border/10" >
5555 < div className = "flex items-center gap-2" >
56- < Swords className = "w-4 h-4 text-violet-500 " strokeWidth = { 1.5 } />
56+ < Swords className = "w-4 h-4 text-cyber " strokeWidth = { 1.5 } />
5757 < span className = "text-[13px] font-semibold text-text-primary" > AI 辩论对手</ span >
5858 { isFallback && (
5959 < span className = "rounded-full bg-amber-500/10 px-2 py-0.5 text-[10px] text-amber-400" > 降级</ span >
@@ -67,7 +67,7 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
6767 { /* 内容 */ }
6868 < div className = "flex-1 overflow-y-auto p-4 space-y-4" >
6969 { /* 主题展示 */ }
70- < div className = "rounded-xl bg-violet-500 /5 border border-violet-500 /15 p-3" >
70+ < div className = "rounded-xl bg-cyber /5 border border-cyber /15 p-3" >
7171 < p className = "text-[12px] text-text-tertiary mb-1" > 辩论主题</ p >
7272 < p className = "text-[14px] font-medium text-text-primary" > { topic } </ p >
7373 </ div >
@@ -84,7 +84,7 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
8484 className = { cn (
8585 'rounded-xl border p-3 text-left transition-all' ,
8686 debateType === dt . value
87- ? 'border-violet-500 /40 bg-violet-500 /10'
87+ ? 'border-cyber /40 bg-cyber /10'
8888 : 'border-border/20 bg-bg-elevated/30 hover:border-border/40' ,
8989 ) }
9090 >
@@ -95,7 +95,7 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
9595 </ div >
9696 < button
9797 onClick = { handleStartDebate }
98- className = "w-full py-2.5 rounded-xl bg-violet-500 text-white text-[13px] font-medium hover:bg-violet-600 transition-colors"
98+ className = "w-full py-2.5 rounded-xl bg-cyber text-text-inverse text-[13px] font-medium hover:bg-cyber/90 transition-colors"
9999 >
100100 开始辩论
101101 </ button >
@@ -133,16 +133,16 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
133133 className = "space-y-2"
134134 >
135135 < div className = "flex items-center gap-2" >
136- < span className = "rounded-full bg-violet-500 /10 px-2 py-0.5 text-[10px] text-violet-500 font-medium" >
136+ < span className = "rounded-full bg-cyber /10 px-2 py-0.5 text-[10px] text-cyber font-medium" >
137137 第 { round . roundNumber } 轮
138138 </ span >
139139 { round . score !== undefined && (
140140 < span className = "text-[10px] text-text-tertiary" > 得分:{ round . score } </ span >
141141 ) }
142142 </ div >
143143 { /* AI 论点 */ }
144- < div className = "rounded-xl bg-violet-500 /5 border border-violet-500 /15 p-3" >
145- < p className = "text-[11px] text-violet-500 font-medium mb-1" > AI 论点</ p >
144+ < div className = "rounded-xl bg-cyber /5 border border-cyber /15 p-3" >
145+ < p className = "text-[11px] text-cyber font-medium mb-1" > AI 论点</ p >
146146 < p className = "text-[13px] text-text-primary leading-relaxed" > { round . aiArgument } </ p >
147147 </ div >
148148 { /* 用户反驳 */ }
@@ -165,7 +165,7 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
165165
166166 { loading && (
167167 < div className = "flex items-center gap-2 text-text-tertiary py-2" >
168- < div className = "w-2 h-2 rounded-full bg-violet-500 animate-pulse" />
168+ < div className = "w-2 h-2 rounded-full bg-cyber animate-pulse" />
169169 < span className = "text-[12px]" > AI 正在思考论点...</ span >
170170 </ div >
171171 ) }
@@ -176,7 +176,7 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
176176 { /* 输入区 */ }
177177 { debateStarted && (
178178 < div className = "border-t border-border/10 p-3" >
179- < div className = "flex items-end gap-2 rounded-xl border border-border/20 bg-bg-elevated/50 p-2 focus-within:border-violet-400 /50 transition-colors" >
179+ < div className = "flex items-end gap-2 rounded-xl border border-border/20 bg-bg-elevated/50 p-2 focus-within:border-cyber /50 transition-colors" >
180180 < textarea
181181 value = { userInput }
182182 onChange = { e => setUserInput ( e . target . value ) }
@@ -191,7 +191,7 @@ export default function DebatePanel({ topic, onClose }: DebatePanelProps) {
191191 className = { cn (
192192 'p-2 rounded-lg transition-all' ,
193193 userInput . trim ( ) && ! loading
194- ? 'bg-violet-500 text-white hover:bg-violet-600 '
194+ ? 'bg-cyber text-text-inverse hover:bg-cyber/90 '
195195 : 'bg-bg-tertiary text-text-tertiary cursor-not-allowed' ,
196196 ) }
197197 >
0 commit comments