Skip to content

Commit ef10ae5

Browse files
committed
style: 修复审查残留 - 生物组件 cyan/紫光归位,闪卡纹理底色同步
1 parent 2c13973 commit ef10ae5

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎client/src/features/dashboard/components/deep-sea/creatures/BubbleStreak.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function BubbleStreak({ streakDays, todayChecked, loading }: Prop
3737

3838
return (
3939
<motion.div
40-
className="relative rounded-[var(--kb-radius-lg)] border border-cyan-400/20 bg-bg-elevated/30 backdrop-blur-sm overflow-hidden p-4 h-[140px] group hover:border-cyan-400/40 transition-colors duration-500"
40+
className="relative rounded-[var(--kb-radius-lg)] border border-cyber/20 bg-bg-elevated/30 backdrop-blur-sm overflow-hidden p-4 h-[140px] group hover:border-cyber/40 transition-colors duration-500"
4141
whileHover={{ scale: 1.02 }}
4242
transition={{ duration: 0.4, ease: 'easeOut' }}
4343
aria-label={`连续打卡 ${streakDays} 天`}
@@ -79,13 +79,13 @@ export default function BubbleStreak({ streakDays, todayChecked, loading }: Prop
7979
strokeWidth={1.5}
8080
/>
8181
</motion.div>
82-
<span className="text-[28px] font-bold text-cyan-300 tabular-nums">
82+
<span className="text-[28px] font-bold text-cyber tabular-nums">
8383
{streakDays}
8484
</span>
85-
<span className="text-[10px] text-cyan-200/50">天连续打卡</span>
85+
<span className="text-[10px] text-cyber/50">天连续打卡</span>
8686
<div className={`text-[9px] font-medium px-2 py-0.5 rounded-full ${
8787
todayChecked
88-
? 'bg-cyber/15 text-cyan-300'
88+
? 'bg-cyber/15 text-cyber'
8989
: 'bg-bg-tertiary/30 text-text-tertiary'
9090
}`}>
9191
{todayChecked ? '今日已打卡' : '今日未打卡'}

‎client/src/features/dashboard/components/deep-sea/creatures/PlanktonStream.tsx‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ interface Props {
2626
const glowColors: Record<string, string> = {
2727
pomodoro: 'rgba(251,146,60,0.5)',
2828
note: 'rgba(91,138,114,0.5)',
29-
flashcard: 'rgba(168,85,247,0.5)',
30-
feynman: 'rgba(34,211,238,0.5)',
29+
flashcard: 'rgba(232,184,75,0.5)',
30+
feynman: 'rgba(74,155,217,0.5)',
3131
};
3232

3333
const dotColors: Record<string, string> = {
@@ -49,24 +49,24 @@ export default function PlanktonStream({ activities, loading }: Props) {
4949

5050
if (activities.length === 0) {
5151
return (
52-
<div className="rounded-[var(--kb-radius-lg)] border border-cyan-400/10 bg-bg-elevated/20 backdrop-blur-sm p-6 flex flex-col items-center justify-center gap-2">
52+
<div className="rounded-[var(--kb-radius-lg)] border border-cyber/10 bg-bg-elevated/20 backdrop-blur-sm p-6 flex flex-col items-center justify-center gap-2">
5353
<div className="w-8 h-8 rounded-full bg-cyber/10 flex items-center justify-center">
5454
<div className="w-2 h-2 rounded-full bg-cyber/40 animate-pulse" />
5555
</div>
56-
<span className="text-[10px] text-cyan-200/40">深海寂静中,开始学习后将有微光汇聚</span>
56+
<span className="text-[10px] text-cyber/40">深海寂静中,开始学习后将有微光汇聚</span>
5757
</div>
5858
);
5959
}
6060

6161
return (
6262
<motion.div
63-
className="rounded-[var(--kb-radius-lg)] border border-cyan-400/15 bg-bg-elevated/20 backdrop-blur-sm overflow-hidden"
63+
className="rounded-[var(--kb-radius-lg)] border border-cyber/15 bg-bg-elevated/20 backdrop-blur-sm overflow-hidden"
6464
whileHover={{ scale: 1.01 }}
6565
transition={{ duration: 0.4, ease: 'easeOut' }}
6666
aria-label="最近活动"
6767
>
6868
<div className="p-3">
69-
<h3 className="text-[10px] font-medium text-cyan-200/60 mb-2">浮游生物流</h3>
69+
<h3 className="text-[10px] font-medium text-cyber/60 mb-2">浮游生物流</h3>
7070
<div className="flex flex-col gap-1.5">
7171
<AnimatePresence>
7272
{activities.map((item, i) => {

‎client/src/features/notes/components/RollingRecallMode.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export default function RollingRecallMode({ noteContent, noteTitle, className, o
233233
onChange={e => setWriteOutput(e.target.value)}
234234
placeholder="尽最大努力凭记忆写出完整内容..."
235235
rows={8}
236-
className="w-full rounded-xl border border-border/20 bg-bg-elevated/30 p-3 text-[13px] text-text-primary placeholder:text-text-tertiary/60 outline-none resize-none focus:border-violet-500/40 transition-colors"
236+
className="w-full rounded-xl border border-border/20 bg-bg-elevated/30 p-3 text-[13px] text-text-primary placeholder:text-text-tertiary/60 outline-none resize-none focus:border-accent-500/40 transition-colors"
237237
/>
238238
</div>
239239
)}

‎client/src/lib/3d/objects/ModuleEntity.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export function ModuleEntity({
374374
// 闪卡纹理
375375
const flashcardTextures = useMemo(() => {
376376
if (isLowTier) return null;
377-
return { mapA: createFlashcardTexture('#3B82F6'), mapB: createFlashcardTexture('#6366F1') };
377+
return { mapA: createFlashcardTexture('#43C58B'), mapB: createFlashcardTexture('#63DBA5') };
378378
}, [isLowTier]);
379379

380380
return (

0 commit comments

Comments
 (0)