Skip to content

Commit 4d1b970

Browse files
authored
Merge pull request #1407 from dxc-technology/aida-fix-1383
Changed color for totalLineColor token in slider
2 parents 20d9244 + 2d1eae4 commit 4d1b970

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/common/variables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ export const componentTokens = {
10421042
trackLineColorOnDark: globalTokens.hal_blue_l_50,
10431043
totalLineThickness: "2px",
10441044
totalLineVerticalPosition: "50%",
1045-
totalLineColor: globalTokens.hal_grey_l_90,
1045+
totalLineColor: "#0000001a",
10461046
totalLineColorOnDark: globalTokens.hal_grey_l_75,
10471047
disabledThumbVerticalPosition: "10px",
10481048
disabledThumbBackgroundColor: globalTokens.hal_grey_l_60,

lib/src/slider/Slider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ const SliderInput = styled.input<SliderInputPropsType>`
260260
: props.theme.disabledTotalLineColor + "61"
261261
: props.backgroundType === "dark"
262262
? props.theme.totalLineColorOnDark + "61"
263-
: props.theme.totalLineColor + "61"};
263+
: props.theme.totalLineColor};
264264
background-image: ${(props) =>
265265
props.disabled
266266
? props.backgroundType === "dark"

0 commit comments

Comments
 (0)