simplify snake colors and fix border

This commit is contained in:
nikk gitanes
2021-06-16 09:08:42 +03:00
parent 8ef4ab8a12
commit b44caaa422
2 changed files with 2 additions and 2 deletions

View File

@@ -9,4 +9,4 @@ export const defaultBackgroundColor = '#fff'
export const completeColor = '#00a572' export const completeColor = '#00a572'
export const progressColor = '#ffa724' export const progressColor = '#ffa724'
export const activeColor = '#000' export const activeColor = '#000'
export const rangeColor = '#9a9aff' export const rangeColor = '#ffa724'

View File

@@ -62,5 +62,5 @@ export const SnakeWrapper = styled.div`
export const PercentagePiece = styled.div` export const PercentagePiece = styled.div`
background: ${completeColor}; background: ${completeColor};
height: ${({ percentage }) => (percentage / 100) * 12}px; height: ${({ percentage }) => (percentage)}%;
` `