|
12 | 12 | --knob-handle-size: #{globals.$ion-scale-1000}; |
13 | 13 | --bar-height: #{globals.$ion-scale-200}; |
14 | 14 | --bar-background: #{globals.$ion-primitives-neutral-100}; |
15 | | - --bar-background-active: #{ion-color(primary, base)}; |
| 15 | + --bar-background-active: #{globals.ion-color(primary, base)}; |
16 | 16 | --bar-border-radius: #{globals.$ion-border-radius-400}; |
17 | 17 | --height: 42px; |
18 | 18 |
|
|
31 | 31 |
|
32 | 32 | :host(.ion-color) .range-bar-active, |
33 | 33 | :host(.ion-color) .range-tick-active { |
34 | | - background: current-color(base); |
| 34 | + background: globals.current-color(base); |
35 | 35 | } |
36 | 36 |
|
37 | 37 | ::slotted(ion-icon[slot]) { |
|
63 | 63 | * overlapping the range. The buffer is added to the |
64 | 64 | * bottom of the range label instead of the host. |
65 | 65 | */ |
66 | | - @include padding(calc(#{globals.$ion-space-200} + dynamic-font(12px)), null, null, null); |
| 66 | + @include padding(calc(#{globals.$ion-space-200} + globals.dynamic-font(12px)), null, null, null); |
67 | 67 | } |
68 | 68 |
|
69 | 69 | :host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper { |
|
72 | 72 | * margin to the bottom of the label, it provides a buffer |
73 | 73 | * for the pin to move into when it is pressed. |
74 | 74 | */ |
75 | | - @include margin(null, null, calc(#{globals.$ion-space-200} + dynamic-font(12px)), null); |
| 75 | + @include margin(null, null, calc(#{globals.$ion-space-200} + globals.dynamic-font(12px)), null); |
76 | 76 | } |
77 | 77 |
|
78 | 78 | .range-bar-active { |
|
116 | 116 |
|
117 | 117 | background: transparent; |
118 | 118 |
|
119 | | - font-size: dynamic-font(12px); |
| 119 | + font-size: globals.dynamic-font(12px); |
120 | 120 |
|
121 | 121 | text-align: center; |
122 | 122 | } |
123 | 123 |
|
124 | 124 | .range-knob { |
125 | 125 | border-width: globals.$ion-border-size-025; |
126 | 126 | border-style: solid; |
127 | | - border-color: #{ion-color(primary, base)}; |
| 127 | + border-color: #{globals.ion-color(primary, base)}; |
128 | 128 | } |
129 | 129 |
|
130 | 130 | /** |
|
0 commit comments