We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 968cb1e commit ae8a126Copy full SHA for ae8a126
components/slider/stories/template.js
@@ -21,7 +21,7 @@ export const Template = ({
21
values = [],
22
variant,
23
labelPosition,
24
- fillColor = "rgb(213, 213, 213)",
+ fillColor,
25
showTicks = false,
26
showTickLabels = false,
27
isDisabled = false,
@@ -127,8 +127,8 @@ export const Template = ({
127
})}
128
id=${ifDefined(id)}
129
style=${styleMap({
130
+ "--spectrum-slider-track-color": fillColor ? fillColor : undefined,
131
"inline-size": "240px",
- ["--spectrum-slider-track-color"]: fillColor,
132
...customStyles,
133
134
role=${ifDefined(values.length > 1 ? "group" : undefined)}
0 commit comments