read progress updates

- improved color
- thicker line
This commit is contained in:
Kim, Jimin 2022-01-22 11:43:14 +09:00
parent de66cafb0b
commit 8388bb3399

View file

@ -5,16 +5,20 @@ import styled from "styled-components"
import theming from "../styles/theming"
const StyledReadProgressBackground = styled.div`
height: 2px;
background-color: darkslategray;
height: 0.2rem;
background-color: ${(props) =>
theming.theme(props.theme.currentTheme, {
light: "silver",
dark: "darkslategrey",
})};
`
const StyledReadProgress = styled.div`
height: 100%;
background-color: ${(props) =>
theming.theme(props.theme.currentTheme, {
light: theming.light.color1,
dark: theming.dark.color1,
light: theming.light.color0,
dark: theming.dark.color2,
})};
`