@@ -27,6 +27,7 @@ limitations under the License.
2727 font-size : 1 em ; // set base multiplier for em units applied later
2828
2929 --active-color : $accent ;
30+ --selection-dot-size : 2.4 em ;
3031
3132 &:disabled {
3233 cursor : not-allowed;
@@ -47,12 +48,12 @@ limitations under the License.
4748 }
4849 &::-webkit-slider-thumb {
4950 border : 0 solid #000000 ;
50- width : $slider- selection-dot-size ;
51- height : $slider- selection-dot-size ;
51+ width : var ( -- selection-dot-size) ;
52+ height : var ( -- selection-dot-size) ;
5253 background : var (--active-color );
5354 border-radius : 50 % ;
5455 -webkit-appearance : none;
55- margin-top : calc (2 px + 1.2 em - $slider- selection-dot-size );
56+ margin-top : calc (2 px + 1.2 em - var ( -- selection-dot-size) );
5657 }
5758 &:focus::-webkit-slider-runnable-track {
5859 background : $slider-background-color ;
@@ -73,8 +74,8 @@ limitations under the License.
7374 }
7475 &::-moz-range-thumb {
7576 border : 0 solid #000000 ;
76- width : $slider- selection-dot-size ;
77- height : $slider- selection-dot-size ;
77+ width : var ( -- selection-dot-size) ;
78+ height : var ( -- selection-dot-size) ;
7879 background : var (--active-color );
7980 border-radius : 50 % ;
8081 }
@@ -94,8 +95,8 @@ limitations under the License.
9495 }
9596 &::-ms-thumb {
9697 margin-top : 1 px ;
97- width : $slider- selection-dot-size ;
98- height : $slider- selection-dot-size ;
98+ width : var ( -- selection-dot-size) ;
99+ height : var ( -- selection-dot-size) ;
99100 background : var (--active-color );
100101 border-radius : 50 % ;
101102 }
0 commit comments