Skip to content

Commit

Permalink
fix range
Browse files Browse the repository at this point in the history
  • Loading branch information
saramiap committed Apr 26, 2024
1 parent 0d870df commit f967627
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/components/range/Range.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ const Range = ({
track.style.background = `linear-gradient(to right, ${getColorStyle(
TrilogyColor.NEUTRAL_DARK,
1
)} ${(cursorMin / max) * 100}% , ${getColorStyle(TrilogyColor.MAIN)} ${
)} ${(cursorMin / max) * 100}% , ${getColorStyle(TrilogyColor.MAIN, 1)} ${
(cursorMin / max) * 100
}% , ${getColorStyle(TrilogyColor.MAIN)} ${
}% , ${getColorStyle(TrilogyColor.MAIN, 1)} ${
(cursorMax / max) * 100
}%, ${getColorStyle(TrilogyColor.NEUTRAL_DARK, 1)} ${
}%, ${getColorStyle(TrilogyColor.NEUTRAL_LIGHT, 1)} ${
(cursorMax / max) * 100
}%) `
}
Expand Down

0 comments on commit f967627

Please sign in to comment.