mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fill color for the progress bars in dark
This commit is contained in:
parent
35bed5236a
commit
ac5c3e0176
3 changed files with 5 additions and 2 deletions
|
|
@ -245,7 +245,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
|
|||
>
|
||||
<ProgressBar
|
||||
fillPercentage={props.item.readingProgressPercent}
|
||||
fillColor="#FFD234"
|
||||
fillColor="$thProgressFg"
|
||||
backgroundColor="$thBorderSubtle"
|
||||
borderRadius="5px"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -351,7 +351,6 @@ type AddLinkButtonProps = {
|
|||
function AddLinkButton(props: AddLinkButtonProps): JSX.Element {
|
||||
const currentTheme = currentThemeName()
|
||||
const isDark = currentTheme == 'Dark'
|
||||
console.log('current theme: ', isDark)
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
|||
|
|
@ -189,6 +189,8 @@ export const { styled, css, theme, getCssText, globalCss, keyframes, config } =
|
|||
thBorderColor: '#E1E1E1',
|
||||
thBorderSubtle: '#EEEEEE',
|
||||
|
||||
thProgressFg: '#FFD234',
|
||||
|
||||
thHighContrast: '#D9D9D9',
|
||||
},
|
||||
},
|
||||
|
|
@ -275,6 +277,8 @@ const darkThemeSpec = {
|
|||
thBorderColor: '#4F4F4F',
|
||||
thBorderSubtle: '#6A6968',
|
||||
|
||||
thProgressFg: '#FFEA9F',
|
||||
|
||||
thHighContrast: '#D9D9D9',
|
||||
},
|
||||
shadows: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue