Fill color for the progress bars in dark

This commit is contained in:
Jackson Harper 2023-03-03 19:01:07 +08:00
parent 35bed5236a
commit ac5c3e0176
3 changed files with 5 additions and 2 deletions

View file

@ -245,7 +245,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
>
<ProgressBar
fillPercentage={props.item.readingProgressPercent}
fillColor="#FFD234"
fillColor="$thProgressFg"
backgroundColor="$thBorderSubtle"
borderRadius="5px"
/>

View file

@ -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 (
<>

View file

@ -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: {