mirror of
https://github.com/dergigi/boris.git
synced 2026-01-25 01:34:30 +01:00
refactor: use neutral text color for 'started' reading progress state
This commit is contained in:
@@ -52,7 +52,7 @@ export const LargeView: React.FC<LargeViewProps> = ({
|
||||
if (readingProgress && readingProgress >= 0.95) {
|
||||
progressColor = '#10b981' // Green (completed)
|
||||
} else if (readingProgress && readingProgress > 0 && readingProgress <= 0.10) {
|
||||
progressColor = '#f59e0b' // Amber (started)
|
||||
progressColor = 'var(--color-text)' // Neutral text color (started)
|
||||
}
|
||||
|
||||
const triggerOpen = () => handleReadNow({ preventDefault: () => {} } as React.MouseEvent<HTMLButtonElement>)
|
||||
|
||||
Reference in New Issue
Block a user