Skip to content

Commit 3e522ec

Browse files
committed
don't use warm yellow colour unless streak is active
1 parent 239bf2b commit 3e522ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/app/_components/ProgressPage/Streak

src/app/_components/ProgressPage/Streak/Date.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const DateElement: React.FC<DateProps> = ({
2020
style={{
2121
height: `${today ? 127 : 99}px`,
2222
backgroundColor: `${
23-
today ? theme.colors.warmYellow : "rgba(216, 231, 236, 0.8)"
23+
(today && streakActive) ? theme.colors.warmYellow : "rgba(216, 231, 236, 0.8)"
2424
}`,
2525
}}
2626
>

0 commit comments

Comments
 (0)