@i-cell/ids-styles 0.0.13 → 0.0.15-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,590 @@
1
+ // Tailwind CSS plugin for the switch component in the i-Cell Design System
2
+ module.exports = function SwitchPlugin() {
3
+ return function ({ addComponents }) {
4
+ const cssObj = {
5
+ '.ids-switch-group': { display: 'flex', flexDirection: 'column' },
6
+ '.ids-switch-group.ids-switch-group-compact': {
7
+ gap: 'var(--ids-comp-switch-group-container-size-gap-compact)',
8
+ padding:
9
+ 'var(--ids-comp-switch-group-container-size-padding-y-compact) var(--ids-comp-switch-group-container-size-padding-x-compact)',
10
+ },
11
+ '.ids-switch-group.ids-switch-group-comfortable': {
12
+ gap: 'var(--ids-comp-switch-group-container-size-gap-comfortable)',
13
+ padding:
14
+ 'var(--ids-comp-switch-group-container-size-padding-y-comfortable) var(--ids-comp-switch-group-container-size-padding-x-comfortable)',
15
+ },
16
+ '.ids-switch-group.ids-switch-group-spacious': {
17
+ gap: 'var(--ids-comp-switch-group-container-size-gap-spacious)',
18
+ padding:
19
+ 'var(--ids-comp-switch-group-container-size-padding-y-spacious) var(--ids-comp-switch-group-container-size-padding-x-spacious)',
20
+ },
21
+ '.ids-switch-group.ids-switch-group-dense': {
22
+ gap: 'var(--ids-comp-switch-group-container-size-gap-dense)',
23
+ padding: 'var(--ids-comp-switch-group-container-size-padding-y-dense) var(--ids-comp-switch-group-container-size-padding-x-dense)',
24
+ },
25
+ '.ids-switch': { display: 'inline-flex', alignItems: 'center' },
26
+ '.ids-switch>.ids-switch__button': { background: 'none', border: 'none', margin: '0', padding: '0', cursor: 'pointer' },
27
+ '.ids-switch>.ids-switch__button:disabled': { pointerEvents: 'none' },
28
+ '.ids-switch>.ids-switch__button:focus,.ids-switch>.ids-switch__button:focus-visible': {
29
+ outlineOffset: '2px',
30
+ outlineStyle: 'solid',
31
+ },
32
+ '.ids-switch>.ids-switch__button>.ids-switch__track': {
33
+ position: 'relative',
34
+ display: 'flex',
35
+ alignItems: 'center',
36
+ justifyContent: 'space-between',
37
+ },
38
+ '.ids-switch>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon': {
39
+ position: 'absolute',
40
+ display: 'flex',
41
+ alignItems: 'center',
42
+ justifyContent: 'center',
43
+ top: 'auto',
44
+ bottom: 'auto',
45
+ },
46
+ '.ids-switch>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
47
+ position: 'relative',
48
+ display: 'flex',
49
+ justifyContent: 'center',
50
+ alignItems: 'center',
51
+ flexShrink: 0,
52
+ },
53
+ '.ids-switch>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': { position: 'absolute' },
54
+ '.ids-switch>.ids-switch__label': { fontStyle: 'normal' },
55
+ '.ids-switch.ids-switch-compact': { gap: 'var(--ids-comp-switch-container-size-gap-compact)' },
56
+ '.ids-switch.ids-switch-compact>.ids-switch__button': { borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-compact)' },
57
+ '.ids-switch.ids-switch-compact>.ids-switch__button:focus,.ids-switch.ids-switch-compact>.ids-switch__button:focus-visible': {
58
+ outlineWidth: 'var(--ids-comp-switch-focused-outline-outline-compact)',
59
+ },
60
+ '.ids-switch.ids-switch-compact>.ids-switch__button>.ids-switch__track': {
61
+ width: 'var(--ids-comp-switch-track-size-width-compact)',
62
+ height: 'var(--ids-comp-switch-handle-size-height-compact)',
63
+ padding: 'var(--ids-comp-switch-track-size-padding-y-compact) var(--ids-comp-switch-track-size-padding-x-compact)',
64
+ borderRadius: 'var(--ids-comp-switch-track-size-border-radius-compact)',
65
+ boxSizing: 'content-box',
66
+ },
67
+ '.ids-switch.ids-switch-compact>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon': {
68
+ width: 'var(--ids-comp-switch-handle-size-width-compact)',
69
+ height: 'var(--ids-comp-switch-handle-size-height-compact)',
70
+ },
71
+ '.ids-switch.ids-switch-compact>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon': {
72
+ width: 'var(--ids-comp-switch-icon-size-width-compact)',
73
+ height: 'var(--ids-comp-switch-icon-size-height-compact)',
74
+ },
75
+ '.ids-switch.ids-switch-compact>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(1)': {
76
+ left: 'var(--ids-comp-switch-track-size-padding-x-compact)',
77
+ },
78
+ '.ids-switch.ids-switch-compact>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(2)': {
79
+ right: 'var(--ids-comp-switch-track-size-padding-x-compact)',
80
+ },
81
+ '.ids-switch.ids-switch-compact>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
82
+ width: 'var(--ids-comp-switch-handle-size-width-compact)',
83
+ height: 'var(--ids-comp-switch-handle-size-height-compact)',
84
+ borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-compact)',
85
+ transition: 'left 100ms ease-in-out',
86
+ },
87
+ '.ids-switch.ids-switch-compact>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': {
88
+ width: 'var(--ids-comp-switch-icon-size-width-compact)',
89
+ height: 'var(--ids-comp-switch-icon-size-height-compact)',
90
+ },
91
+ '.ids-switch.ids-switch-compact>.ids-switch__label': {
92
+ fontFamily: 'var(--ids-comp-switch-label-typography-font-family-compact)',
93
+ fontSize: 'var(--ids-comp-switch-label-typography-font-size-compact)',
94
+ fontWeight: 'var(--ids-comp-switch-label-typography-font-weight-compact)',
95
+ lineHeight: 'var(--ids-comp-switch-label-typography-line-height-compact)',
96
+ letterSpacing: 'var(--ids-comp-switch-label-typography-letter-spacing-compact)',
97
+ },
98
+ '.ids-switch.ids-switch-compact:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': { left: '0' },
99
+ '.ids-switch.ids-switch-compact.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
100
+ left: 'calc(var(--ids-comp-switch-track-size-width-compact) - var(--ids-comp-switch-handle-size-width-compact))',
101
+ },
102
+ '.ids-switch.ids-switch-comfortable': { gap: 'var(--ids-comp-switch-container-size-gap-comfortable)' },
103
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button': {
104
+ borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-comfortable)',
105
+ },
106
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button:focus,.ids-switch.ids-switch-comfortable>.ids-switch__button:focus-visible': {
107
+ outlineWidth: 'var(--ids-comp-switch-focused-outline-outline-comfortable)',
108
+ },
109
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button>.ids-switch__track': {
110
+ width: 'var(--ids-comp-switch-track-size-width-comfortable)',
111
+ height: 'var(--ids-comp-switch-handle-size-height-comfortable)',
112
+ padding: 'var(--ids-comp-switch-track-size-padding-y-comfortable) var(--ids-comp-switch-track-size-padding-x-comfortable)',
113
+ borderRadius: 'var(--ids-comp-switch-track-size-border-radius-comfortable)',
114
+ boxSizing: 'content-box',
115
+ },
116
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon': {
117
+ width: 'var(--ids-comp-switch-handle-size-width-comfortable)',
118
+ height: 'var(--ids-comp-switch-handle-size-height-comfortable)',
119
+ },
120
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon': {
121
+ width: 'var(--ids-comp-switch-icon-size-width-comfortable)',
122
+ height: 'var(--ids-comp-switch-icon-size-height-comfortable)',
123
+ },
124
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(1)': {
125
+ left: 'var(--ids-comp-switch-track-size-padding-x-comfortable)',
126
+ },
127
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(2)': {
128
+ right: 'var(--ids-comp-switch-track-size-padding-x-comfortable)',
129
+ },
130
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
131
+ width: 'var(--ids-comp-switch-handle-size-width-comfortable)',
132
+ height: 'var(--ids-comp-switch-handle-size-height-comfortable)',
133
+ borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-comfortable)',
134
+ transition: 'left 100ms ease-in-out',
135
+ },
136
+ '.ids-switch.ids-switch-comfortable>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': {
137
+ width: 'var(--ids-comp-switch-icon-size-width-comfortable)',
138
+ height: 'var(--ids-comp-switch-icon-size-height-comfortable)',
139
+ },
140
+ '.ids-switch.ids-switch-comfortable>.ids-switch__label': {
141
+ fontFamily: 'var(--ids-comp-switch-label-typography-font-family-comfortable)',
142
+ fontSize: 'var(--ids-comp-switch-label-typography-font-size-comfortable)',
143
+ fontWeight: 'var(--ids-comp-switch-label-typography-font-weight-comfortable)',
144
+ lineHeight: 'var(--ids-comp-switch-label-typography-line-height-comfortable)',
145
+ letterSpacing: 'var(--ids-comp-switch-label-typography-letter-spacing-comfortable)',
146
+ },
147
+ '.ids-switch.ids-switch-comfortable:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': { left: '0' },
148
+ '.ids-switch.ids-switch-comfortable.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
149
+ left: 'calc(var(--ids-comp-switch-track-size-width-comfortable) - var(--ids-comp-switch-handle-size-width-comfortable))',
150
+ },
151
+ '.ids-switch.ids-switch-spacious': { gap: 'var(--ids-comp-switch-container-size-gap-spacious)' },
152
+ '.ids-switch.ids-switch-spacious>.ids-switch__button': { borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-spacious)' },
153
+ '.ids-switch.ids-switch-spacious>.ids-switch__button:focus,.ids-switch.ids-switch-spacious>.ids-switch__button:focus-visible': {
154
+ outlineWidth: 'var(--ids-comp-switch-focused-outline-outline-spacious)',
155
+ },
156
+ '.ids-switch.ids-switch-spacious>.ids-switch__button>.ids-switch__track': {
157
+ width: 'var(--ids-comp-switch-track-size-width-spacious)',
158
+ height: 'var(--ids-comp-switch-handle-size-height-spacious)',
159
+ padding: 'var(--ids-comp-switch-track-size-padding-y-spacious) var(--ids-comp-switch-track-size-padding-x-spacious)',
160
+ borderRadius: 'var(--ids-comp-switch-track-size-border-radius-spacious)',
161
+ boxSizing: 'content-box',
162
+ },
163
+ '.ids-switch.ids-switch-spacious>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon': {
164
+ width: 'var(--ids-comp-switch-handle-size-width-spacious)',
165
+ height: 'var(--ids-comp-switch-handle-size-height-spacious)',
166
+ },
167
+ '.ids-switch.ids-switch-spacious>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon': {
168
+ width: 'var(--ids-comp-switch-icon-size-width-spacious)',
169
+ height: 'var(--ids-comp-switch-icon-size-height-spacious)',
170
+ },
171
+ '.ids-switch.ids-switch-spacious>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(1)': {
172
+ left: 'var(--ids-comp-switch-track-size-padding-x-spacious)',
173
+ },
174
+ '.ids-switch.ids-switch-spacious>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(2)': {
175
+ right: 'var(--ids-comp-switch-track-size-padding-x-spacious)',
176
+ },
177
+ '.ids-switch.ids-switch-spacious>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
178
+ width: 'var(--ids-comp-switch-handle-size-width-spacious)',
179
+ height: 'var(--ids-comp-switch-handle-size-height-spacious)',
180
+ borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-spacious)',
181
+ transition: 'left 100ms ease-in-out',
182
+ },
183
+ '.ids-switch.ids-switch-spacious>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': {
184
+ width: 'var(--ids-comp-switch-icon-size-width-spacious)',
185
+ height: 'var(--ids-comp-switch-icon-size-height-spacious)',
186
+ },
187
+ '.ids-switch.ids-switch-spacious>.ids-switch__label': {
188
+ fontFamily: 'var(--ids-comp-switch-label-typography-font-family-spacious)',
189
+ fontSize: 'var(--ids-comp-switch-label-typography-font-size-spacious)',
190
+ fontWeight: 'var(--ids-comp-switch-label-typography-font-weight-spacious)',
191
+ lineHeight: 'var(--ids-comp-switch-label-typography-line-height-spacious)',
192
+ letterSpacing: 'var(--ids-comp-switch-label-typography-letter-spacing-spacious)',
193
+ },
194
+ '.ids-switch.ids-switch-spacious:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': { left: '0' },
195
+ '.ids-switch.ids-switch-spacious.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
196
+ left: 'calc(var(--ids-comp-switch-track-size-width-spacious) - var(--ids-comp-switch-handle-size-width-spacious))',
197
+ },
198
+ '.ids-switch.ids-switch-dense': { gap: 'var(--ids-comp-switch-container-size-gap-dense)' },
199
+ '.ids-switch.ids-switch-dense>.ids-switch__button': { borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-dense)' },
200
+ '.ids-switch.ids-switch-dense>.ids-switch__button:focus,.ids-switch.ids-switch-dense>.ids-switch__button:focus-visible': {
201
+ outlineWidth: 'var(--ids-comp-switch-focused-outline-outline-dense)',
202
+ },
203
+ '.ids-switch.ids-switch-dense>.ids-switch__button>.ids-switch__track': {
204
+ width: 'var(--ids-comp-switch-track-size-width-dense)',
205
+ height: 'var(--ids-comp-switch-handle-size-height-dense)',
206
+ padding: 'var(--ids-comp-switch-track-size-padding-y-dense) var(--ids-comp-switch-track-size-padding-x-dense)',
207
+ borderRadius: 'var(--ids-comp-switch-track-size-border-radius-dense)',
208
+ boxSizing: 'content-box',
209
+ },
210
+ '.ids-switch.ids-switch-dense>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon': {
211
+ width: 'var(--ids-comp-switch-handle-size-width-dense)',
212
+ height: 'var(--ids-comp-switch-handle-size-height-dense)',
213
+ },
214
+ '.ids-switch.ids-switch-dense>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon': {
215
+ width: 'var(--ids-comp-switch-icon-size-width-dense)',
216
+ height: 'var(--ids-comp-switch-icon-size-height-dense)',
217
+ },
218
+ '.ids-switch.ids-switch-dense>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(1)': {
219
+ left: 'var(--ids-comp-switch-track-size-padding-x-dense)',
220
+ },
221
+ '.ids-switch.ids-switch-dense>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon:nth-child(2)': {
222
+ right: 'var(--ids-comp-switch-track-size-padding-x-dense)',
223
+ },
224
+ '.ids-switch.ids-switch-dense>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
225
+ width: 'var(--ids-comp-switch-handle-size-width-dense)',
226
+ height: 'var(--ids-comp-switch-handle-size-height-dense)',
227
+ borderRadius: 'var(--ids-comp-switch-handle-size-border-radius-dense)',
228
+ transition: 'left 100ms ease-in-out',
229
+ },
230
+ '.ids-switch.ids-switch-dense>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': {
231
+ width: 'var(--ids-comp-switch-icon-size-width-dense)',
232
+ height: 'var(--ids-comp-switch-icon-size-height-dense)',
233
+ },
234
+ '.ids-switch.ids-switch-dense>.ids-switch__label': {
235
+ fontFamily: 'var(--ids-comp-switch-label-typography-font-family-dense)',
236
+ fontSize: 'var(--ids-comp-switch-label-typography-font-size-dense)',
237
+ fontWeight: 'var(--ids-comp-switch-label-typography-font-weight-dense)',
238
+ lineHeight: 'var(--ids-comp-switch-label-typography-line-height-dense)',
239
+ letterSpacing: 'var(--ids-comp-switch-label-typography-letter-spacing-dense)',
240
+ },
241
+ '.ids-switch.ids-switch-dense:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': { left: '0' },
242
+ '.ids-switch.ids-switch-dense.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
243
+ left: 'calc(var(--ids-comp-switch-track-size-width-dense) - var(--ids-comp-switch-handle-size-width-dense))',
244
+ },
245
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track': {
246
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-surface-default)',
247
+ },
248
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon': {
249
+ color: 'var(--ids-comp-switch-track-off-color-fg-icon-surface-default)',
250
+ },
251
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
252
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-surface-default)',
253
+ },
254
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': {
255
+ color: 'var(--ids-comp-switch-handle-off-color-fg-icon-surface-default)',
256
+ },
257
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button+.ids-switch__label': {
258
+ color: 'var(--ids-comp-switch-label-color-fg-surface-default)',
259
+ },
260
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track': {
261
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-surface-hovered)',
262
+ },
263
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
264
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-surface-default)' },
265
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle': {
266
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-surface-default)',
267
+ },
268
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle>.ids-icon':
269
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-surface-default)' },
270
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:hover+.ids-switch__label': {
271
+ color: 'var(--ids-comp-switch-label-color-fg-surface-hovered)',
272
+ },
273
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track': {
274
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-surface-pressed)',
275
+ },
276
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
277
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-surface-default)' },
278
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle': {
279
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-surface-default)',
280
+ },
281
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle>.ids-icon':
282
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-surface-default)' },
283
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:active+.ids-switch__label': {
284
+ color: 'var(--ids-comp-switch-label-color-fg-surface-pressed)',
285
+ },
286
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus,.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus-visible':
287
+ { outlineColor: 'var(--ids-comp-switch-focused-outline-color-surface-focused)' },
288
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track,.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track':
289
+ { backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-surface-focused)' },
290
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__track-icon>.ids-icon,.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
291
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-surface-default)' },
292
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle,.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__handle':
293
+ { backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-surface-default)' },
294
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle>.ids-icon,.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__handle>.ids-icon':
295
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-surface-default)' },
296
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus+.ids-switch__label,.ids-switch.ids-switch-surface:not(.ids-switch-disabled)>.ids-switch__button:focus-visible+.ids-switch__label':
297
+ { color: 'var(--ids-comp-switch-label-color-fg-surface-focused)' },
298
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track': {
299
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-surface-default)',
300
+ },
301
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
302
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-surface-default)' },
303
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
304
+ backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-surface-default)',
305
+ },
306
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
307
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-surface-default)' },
308
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track': {
309
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-surface-hovered)',
310
+ },
311
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
312
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-surface-default)' },
313
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle':
314
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-surface-default)' },
315
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle>.ids-icon':
316
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-surface-default)' },
317
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track': {
318
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-surface-pressed)',
319
+ },
320
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
321
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-surface-default)' },
322
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle':
323
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-surface-default)' },
324
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle>.ids-icon':
325
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-surface-default)' },
326
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track': {
327
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-surface-focused)',
328
+ },
329
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
330
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-surface-default)' },
331
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle':
332
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-surface-default)' },
333
+ '.ids-switch.ids-switch-surface:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle>.ids-icon':
334
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-surface-default)' },
335
+ '.ids-switch.ids-switch-surface.ids-switch-disabled>.ids-switch__button+.ids-switch__label': {
336
+ color: 'var(--ids-comp-switch-label-color-fg-surface-disabled)',
337
+ },
338
+ '.ids-switch.ids-switch-surface.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track': {
339
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-surface-disabled)',
340
+ },
341
+ '.ids-switch.ids-switch-surface.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
342
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-surface-disabled)' },
343
+ '.ids-switch.ids-switch-surface.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
344
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-surface-disabled)',
345
+ },
346
+ '.ids-switch.ids-switch-surface.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
347
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-surface-disabled)' },
348
+ '.ids-switch.ids-switch-surface.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track': {
349
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-surface-disabled)',
350
+ },
351
+ '.ids-switch.ids-switch-surface.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
352
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-surface-disabled)' },
353
+ '.ids-switch.ids-switch-surface.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
354
+ backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-surface-disabled)',
355
+ },
356
+ '.ids-switch.ids-switch-surface.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
357
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-surface-disabled)' },
358
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track': {
359
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-light-default)',
360
+ },
361
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon': {
362
+ color: 'var(--ids-comp-switch-track-off-color-fg-icon-light-default)',
363
+ },
364
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
365
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-light-default)',
366
+ },
367
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': {
368
+ color: 'var(--ids-comp-switch-handle-off-color-fg-icon-light-default)',
369
+ },
370
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button+.ids-switch__label': {
371
+ color: 'var(--ids-comp-switch-label-color-fg-light-default)',
372
+ },
373
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track': {
374
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-light-hovered)',
375
+ },
376
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
377
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-light-default)' },
378
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle': {
379
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-light-default)',
380
+ },
381
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle>.ids-icon': {
382
+ color: 'var(--ids-comp-switch-handle-off-color-fg-icon-light-default)',
383
+ },
384
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:hover+.ids-switch__label': {
385
+ color: 'var(--ids-comp-switch-label-color-fg-light-hovered)',
386
+ },
387
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track': {
388
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-light-pressed)',
389
+ },
390
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
391
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-light-default)' },
392
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle': {
393
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-light-default)',
394
+ },
395
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle>.ids-icon':
396
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-light-default)' },
397
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:active+.ids-switch__label': {
398
+ color: 'var(--ids-comp-switch-label-color-fg-light-pressed)',
399
+ },
400
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus,.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus-visible':
401
+ { outlineColor: 'var(--ids-comp-switch-focused-outline-color-light-focused)' },
402
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track,.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track':
403
+ { backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-light-focused)' },
404
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__track-icon>.ids-icon,.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
405
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-light-default)' },
406
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle,.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__handle':
407
+ { backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-light-default)' },
408
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle>.ids-icon,.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__handle>.ids-icon':
409
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-light-default)' },
410
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus+.ids-switch__label,.ids-switch.ids-switch-light:not(.ids-switch-disabled)>.ids-switch__button:focus-visible+.ids-switch__label':
411
+ { color: 'var(--ids-comp-switch-label-color-fg-light-focused)' },
412
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track': {
413
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-light-default)',
414
+ },
415
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
416
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-light-default)' },
417
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
418
+ backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-light-default)',
419
+ },
420
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
421
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-light-default)' },
422
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track': {
423
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-light-hovered)',
424
+ },
425
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
426
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-light-default)' },
427
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle':
428
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-light-default)' },
429
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle>.ids-icon':
430
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-light-default)' },
431
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track': {
432
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-light-pressed)',
433
+ },
434
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
435
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-light-default)' },
436
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle':
437
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-light-default)' },
438
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle>.ids-icon':
439
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-light-default)' },
440
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track': {
441
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-light-focused)',
442
+ },
443
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
444
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-light-default)' },
445
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle':
446
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-light-default)' },
447
+ '.ids-switch.ids-switch-light:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle>.ids-icon':
448
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-light-default)' },
449
+ '.ids-switch.ids-switch-light.ids-switch-disabled>.ids-switch__button+.ids-switch__label': {
450
+ color: 'var(--ids-comp-switch-label-color-fg-light-disabled)',
451
+ },
452
+ '.ids-switch.ids-switch-light.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track': {
453
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-light-disabled)',
454
+ },
455
+ '.ids-switch.ids-switch-light.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
456
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-light-disabled)' },
457
+ '.ids-switch.ids-switch-light.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
458
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-light-disabled)',
459
+ },
460
+ '.ids-switch.ids-switch-light.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
461
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-light-disabled)' },
462
+ '.ids-switch.ids-switch-light.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track': {
463
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-light-disabled)',
464
+ },
465
+ '.ids-switch.ids-switch-light.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
466
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-light-disabled)' },
467
+ '.ids-switch.ids-switch-light.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
468
+ backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-light-disabled)',
469
+ },
470
+ '.ids-switch.ids-switch-light.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
471
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-light-disabled)' },
472
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track': {
473
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-primary-default)',
474
+ },
475
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon': {
476
+ color: 'var(--ids-comp-switch-track-off-color-fg-icon-primary-default)',
477
+ },
478
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
479
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-primary-default)',
480
+ },
481
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon': {
482
+ color: 'var(--ids-comp-switch-handle-off-color-fg-icon-primary-default)',
483
+ },
484
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button+.ids-switch__label': {
485
+ color: 'var(--ids-comp-switch-label-color-fg-primary-default)',
486
+ },
487
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track': {
488
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-primary-hovered)',
489
+ },
490
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
491
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-primary-default)' },
492
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle': {
493
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-primary-default)',
494
+ },
495
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle>.ids-icon':
496
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-primary-default)' },
497
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:hover+.ids-switch__label': {
498
+ color: 'var(--ids-comp-switch-label-color-fg-primary-hovered)',
499
+ },
500
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track': {
501
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-primary-pressed)',
502
+ },
503
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
504
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-primary-default)' },
505
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle': {
506
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-primary-default)',
507
+ },
508
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle>.ids-icon':
509
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-primary-default)' },
510
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:active+.ids-switch__label': {
511
+ color: 'var(--ids-comp-switch-label-color-fg-primary-pressed)',
512
+ },
513
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus,.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus-visible':
514
+ { outlineColor: 'var(--ids-comp-switch-focused-outline-color-primary-focused)' },
515
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track,.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track':
516
+ { backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-primary-focused)' },
517
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__track-icon>.ids-icon,.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
518
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-primary-default)' },
519
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle,.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__handle':
520
+ { backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-primary-default)' },
521
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle>.ids-icon,.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus-visible>.ids-switch__track>.ids-switch__handle>.ids-icon':
522
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-primary-default)' },
523
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus+.ids-switch__label,.ids-switch.ids-switch-primary:not(.ids-switch-disabled)>.ids-switch__button:focus-visible+.ids-switch__label':
524
+ { color: 'var(--ids-comp-switch-label-color-fg-primary-focused)' },
525
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track': {
526
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-primary-default)',
527
+ },
528
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
529
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-primary-default)' },
530
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
531
+ backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-primary-default)',
532
+ },
533
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
534
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-primary-default)' },
535
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track': {
536
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-primary-hovered)',
537
+ },
538
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
539
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-primary-default)' },
540
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle':
541
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-primary-default)' },
542
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:hover>.ids-switch__track>.ids-switch__handle>.ids-icon':
543
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-primary-default)' },
544
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track': {
545
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-primary-pressed)',
546
+ },
547
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
548
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-primary-default)' },
549
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle':
550
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-primary-default)' },
551
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:active>.ids-switch__track>.ids-switch__handle>.ids-icon':
552
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-primary-default)' },
553
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track': {
554
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-primary-focused)',
555
+ },
556
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
557
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-primary-default)' },
558
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle':
559
+ { backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-primary-default)' },
560
+ '.ids-switch.ids-switch-primary:not(.ids-switch-disabled).ids-switch-on>.ids-switch__button:focus>.ids-switch__track>.ids-switch__handle>.ids-icon':
561
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-primary-default)' },
562
+ '.ids-switch.ids-switch-primary.ids-switch-disabled>.ids-switch__button+.ids-switch__label': {
563
+ color: 'var(--ids-comp-switch-label-color-fg-primary-disabled)',
564
+ },
565
+ '.ids-switch.ids-switch-primary.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track': {
566
+ backgroundColor: 'var(--ids-comp-switch-track-off-color-bg-primary-disabled)',
567
+ },
568
+ '.ids-switch.ids-switch-primary.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
569
+ { color: 'var(--ids-comp-switch-track-off-color-fg-icon-primary-disabled)' },
570
+ '.ids-switch.ids-switch-primary.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
571
+ backgroundColor: 'var(--ids-comp-switch-handle-off-color-bg-primary-disabled)',
572
+ },
573
+ '.ids-switch.ids-switch-primary.ids-switch-disabled:not(.ids-switch-on)>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
574
+ { color: 'var(--ids-comp-switch-handle-off-color-fg-icon-primary-disabled)' },
575
+ '.ids-switch.ids-switch-primary.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track': {
576
+ backgroundColor: 'var(--ids-comp-switch-track-on-color-bg-primary-disabled)',
577
+ },
578
+ '.ids-switch.ids-switch-primary.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__track-icon>.ids-icon':
579
+ { color: 'var(--ids-comp-switch-track-on-color-fg-icon-primary-disabled)' },
580
+ '.ids-switch.ids-switch-primary.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle': {
581
+ backgroundColor: 'var(--ids-comp-switch-handle-on-color-bg-primary-disabled)',
582
+ },
583
+ '.ids-switch.ids-switch-primary.ids-switch-disabled.ids-switch-on>.ids-switch__button>.ids-switch__track>.ids-switch__handle>.ids-icon':
584
+ { color: 'var(--ids-comp-switch-handle-on-color-fg-icon-primary-disabled)' },
585
+ '.ids-switch.ids-switch-disabled': { cursor: 'not-allowed' },
586
+ };
587
+
588
+ addComponents(cssObj);
589
+ };
590
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i-cell/ids-styles",
3
- "version": "0.0.13",
3
+ "version": "0.0.15-beta.0",
4
4
  "private": false,
5
5
  "description": "Stylesheets for i-Cell Design System UI Kit components (currently Vue and Angular)",
6
6
  "scripts": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "homepage": "https://github.com/i-Cell-Mobilsoft-Open-Source/ids-styles#readme",
37
37
  "devDependencies": {
38
- "@i-cell/ids-tokens": "0.0.22",
38
+ "@i-cell/ids-tokens": "0.0.24-beta.5",
39
39
  "commander": "^12.1.0",
40
40
  "gulp": "^5.0.0",
41
41
  "gulp-prettier": "^6.0.0",