@egovernments/digit-ui-components-css 0.0.2-beta.24 → 0.0.2-beta.26

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.
@@ -1,4 +1,4 @@
1
- .msb-sidebar {
1
+ .digit-msb-sidebar {
2
2
  background-color: theme(digitv2.lightTheme.paper-primary);
3
3
  color: theme(digitv2.lightTheme.primary-2);
4
4
  display: flex;
@@ -10,6 +10,7 @@
10
10
  left: 0;
11
11
  top: 0;
12
12
  min-width: 17.5rem;
13
+ z-index: 1000;
13
14
  flex-direction: column;
14
15
 
15
16
  &.dark {
@@ -18,7 +19,7 @@
18
19
  }
19
20
  }
20
21
 
21
- .msb-profile {
22
+ .digit-msb-profile {
22
23
  display: flex;
23
24
  align-items: center;
24
25
  padding: theme(digitv2.spacers.spacer6);
@@ -26,21 +27,20 @@
26
27
  gap: theme(digitv2.spacers.spacer3);
27
28
  }
28
29
 
29
- .msb-profile-icon {
30
+ .digit-msb-profile-icon {
30
31
  width: 3.875rem;
31
32
  height: 4rem;
32
33
  margin-right: theme(digitv2.spacers.spacer4);
33
34
  }
34
35
 
35
- .msb-profile-details {
36
+ .digit-msb-profile-details {
36
37
  display: flex;
37
38
  flex-direction: column;
38
39
  gap: theme(digitv2.spacers.spacer1);
39
- ;
40
40
  text-align: center;
41
41
  }
42
42
 
43
- .msb-profile-name {
43
+ .digit-msb-profile-name {
44
44
  font-family: theme(digitv2.fontFamily.sans);
45
45
  font-style: theme(digitv2.fontStyle.normal);
46
46
  font-weight: theme(digitv2.fontWeight.bold);
@@ -68,7 +68,7 @@
68
68
  }
69
69
  }
70
70
 
71
- .msb-profile-phone {
71
+ .digit-msb-profile-phone {
72
72
  font-family: theme(digitv2.fontFamily.sans);
73
73
  font-style: theme(digitv2.fontStyle.normal);
74
74
  font-weight: theme(digitv2.fontWeight.regular);
@@ -96,45 +96,49 @@
96
96
  }
97
97
  }
98
98
 
99
- .msb-sidebar-items {
99
+ .digit-msb-sidebar-items {
100
100
  flex: 1;
101
101
  overflow-y: auto;
102
102
  overflow-x: hidden;
103
103
  }
104
104
 
105
- .msb-item-child-wrapper {
105
+ .digit-msb-item-child-wrapper {
106
106
  display: flex;
107
107
  flex-direction: column;
108
108
  height: theme(digitv2.spacers.spacer12);
109
109
  padding: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer6);
110
- ;
111
110
  justify-content: space-between;
112
111
  border-top: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
112
+
113
+ &.usermanuals{
114
+ padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer6);
115
+ height: 3.5rem;
116
+ }
113
117
  }
114
118
 
115
- .msb-item-child-wrapper:last-child,
116
- .msb-item-child-wrapper.expanded {
119
+ .digit-msb-item-child-wrapper:last-child,
120
+ .digit-msb-item-child-wrapper.expanded {
117
121
  border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
118
122
  }
119
123
 
120
- .msb-item-child-wrapper:not(.dark):nth-child(2n+1) {
124
+ .digit-msb-item-child-wrapper:not(.dark):nth-child(2n+1) {
121
125
  background-color: theme(digitv2.lightTheme.paper-secondary);
122
126
  }
123
127
 
124
- .msb-item-child-wrapper.expanded {
128
+ .digit-msb-item-child-wrapper.expanded {
125
129
  height: auto;
126
130
  }
127
131
 
128
- .msb-sidebar-item {
132
+ .digit-msb-sidebar-item {
129
133
  display: flex;
130
134
  align-items: center;
131
135
  cursor: pointer;
132
136
  }
133
137
 
134
- .msb-sidebar-item.msb-parentLevel {
138
+ .digit-msb-sidebar-item.digit-msb-parentLevel {
135
139
  height: theme(digitv2.spacers.spacer6);
136
140
 
137
- .msb-item-label {
141
+ .digit-msb-item-label {
138
142
  font-family: theme(digitv2.fontFamily.sans);
139
143
  font-style: theme(digitv2.fontStyle.normal);
140
144
  font-weight: theme(digitv2.fontWeight.bold);
@@ -157,19 +161,52 @@
157
161
  }
158
162
  }
159
163
 
160
- .msb-sidebar-item .msb-icon {
164
+ .digit-msb-item-label{
165
+ &.usermanuals{
166
+ @extend .typography.body-xs;
167
+ font-family: theme(digitv2.fontFamily.sans);
168
+ font-style: theme(digitv2.fontStyle.normal);
169
+ font-weight: theme(digitv2.fontWeight.regular);
170
+ line-height: theme(digitv2.lineHeight.lineheight2);
171
+
172
+ @media (max-aspect-ratio: 9/16) {
173
+ /* Media query for mobile */
174
+ font-size: theme(digitv2.fontSize.body-xs.mobile);
175
+ }
176
+
177
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
178
+ /* Media query for tablets */
179
+ font-size: theme(digitv2.fontSize.body-xs.tablet);
180
+ }
181
+
182
+ @media (min-aspect-ratio: 3/4) {
183
+ /* Media query for desktop */
184
+ font-size: theme(digitv2.fontSize.body-xs.desktop);
185
+ }
186
+ }
187
+ }
188
+ .digit-msb-sidebar-item .digit-msb-icon {
161
189
  margin-right: theme(digitv2.spacers.spacer4);
190
+
191
+ &.usermanuals{
192
+ display: flex;
193
+ width: theme(digitv2.spacers.spacer6);
194
+ height: theme(digitv2.spacers.spacer6);
195
+ justify-content: center;
196
+ align-items: center;
197
+ margin-right: theme(digitv2.spacers.spacer2);
198
+ }
162
199
  }
163
200
 
164
- .msb-expand-icon {
201
+ .digit-msb-expand-icon {
165
202
  margin-left: auto;
166
203
  }
167
204
 
168
- .msb-sidebar-children {
205
+ .digit-msb-sidebar-children {
169
206
  width: "100%";
170
207
  transition: height 0.3s ease;
171
208
 
172
- .inner-level-child {
209
+ .digit-inner-level-child {
173
210
  margin-left: 3.5rem;
174
211
  border-left: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
175
212
 
@@ -179,19 +216,49 @@
179
216
  }
180
217
  }
181
218
 
219
+ .digit-msb-no-results{
220
+ @extend .typography.body-s;
221
+ display: flex;
222
+ flex-direction: column;
223
+ height: theme(digitv2.spacers.spacer12);
224
+ padding: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer6);
225
+ justify-content: space-between;
226
+ border-top: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
227
+ color:theme(digitv2.lightTheme.text-disabled);
228
+ font-family: theme(digitv2.fontFamily.sans);
229
+ font-style: theme(digitv2.fontStyle.normal);
230
+ font-weight: theme(digitv2.fontWeight.regular);
231
+ line-height: theme(digitv2.lineHeight.lineheight2);
232
+
233
+ @media (max-aspect-ratio: 9/16) {
234
+ /* Media query for mobile */
235
+ font-size: theme(digitv2.fontSize.body-s.mobile);
236
+ }
237
+
238
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
239
+ /* Media query for tablets */
240
+ font-size: theme(digitv2.fontSize.body-s.tablet);
241
+ }
182
242
 
183
- .msb-sidebar-children.expanded {
243
+ @media (min-aspect-ratio: 3/4) {
244
+ /* Media query for desktop */
245
+ font-size: theme(digitv2.fontSize.body-s.desktop);
246
+ }
247
+ }
248
+
249
+
250
+ .digit-msb-sidebar-children.expanded {
184
251
  height: auto;
185
252
  }
186
253
 
187
254
 
188
- .mb-search-container {
255
+ .digit-mb-search-container {
189
256
  height: 4.5rem;
190
257
  min-width: 15rem;
191
258
  width: auto;
192
259
  padding: theme(digitv2.spacers.spacer4) !important;
193
260
 
194
- .mb-search {
261
+ .digit-mb-search {
195
262
  height: theme(digitv2.spacers.spacer10) !important;
196
263
  min-width: 13rem;
197
264
 
@@ -228,17 +295,36 @@
228
295
  ::placeholder {
229
296
  content: attr(placeholder);
230
297
  @extend .typography.body-s;
298
+ font-family: theme(digitv2.fontFamily.sans);
299
+ font-style: theme(digitv2.fontStyle.normal);
300
+ font-weight: theme(digitv2.fontWeight.regular);
301
+ line-height: theme(digitv2.lineHeight.lineheight2);
302
+
303
+ @media (max-aspect-ratio: 9/16) {
304
+ /* Media query for mobile */
305
+ font-size: theme(digitv2.fontSize.body-s.mobile);
306
+ }
307
+
308
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
309
+ /* Media query for tablets */
310
+ font-size: theme(digitv2.fontSize.body-s.tablet);
311
+ }
312
+
313
+ @media (min-aspect-ratio: 3/4) {
314
+ /* Media query for desktop */
315
+ font-size: theme(digitv2.fontSize.body-s.desktop);
316
+ }
231
317
  color: theme(digitv2.lightTheme.text-disabled);
232
318
  }
233
319
  }
234
320
 
235
- .mb-search-container.dark {
321
+ .digit-mb-search-container.dark {
236
322
  height: 4.5rem;
237
323
  min-width: 15rem;
238
324
  width: auto;
239
325
  padding: theme(digitv2.spacers.spacer4) !important;
240
326
 
241
- .mb-search {
327
+ .digit-mb-search {
242
328
  height: theme(digitv2.spacers.spacer10) !important;
243
329
  min-width: 13rem;
244
330
 
@@ -274,11 +360,30 @@
274
360
  ::placeholder {
275
361
  content: attr(placeholder);
276
362
  @extend .typography.body-s;
363
+ font-family: theme(digitv2.fontFamily.sans);
364
+ font-style: theme(digitv2.fontStyle.normal);
365
+ font-weight: theme(digitv2.fontWeight.regular);
366
+ line-height: theme(digitv2.lineHeight.lineheight2);
367
+
368
+ @media (max-aspect-ratio: 9/16) {
369
+ /* Media query for mobile */
370
+ font-size: theme(digitv2.fontSize.body-s.mobile);
371
+ }
372
+
373
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
374
+ /* Media query for tablets */
375
+ font-size: theme(digitv2.fontSize.body-s.tablet);
376
+ }
377
+
378
+ @media (min-aspect-ratio: 3/4) {
379
+ /* Media query for desktop */
380
+ font-size: theme(digitv2.fontSize.body-s.desktop);
381
+ }
277
382
  color: theme(digitv2.lightTheme.generic-background);
278
383
  }
279
384
  }
280
385
 
281
- .msb-sidebar-bottom {
386
+ .digit-msb-sidebar-bottom {
282
387
  background-color: theme(digitv2.lightTheme.paper-secondary);
283
388
  z-index: 5;
284
389
  padding: theme(digitv2.spacers.spacer4);
@@ -304,14 +409,14 @@
304
409
  }
305
410
  }
306
411
 
307
- .icon-msb {
412
+ .digit-icon-msb {
308
413
  margin-right: theme(digitv2.spacers.spacer3);
309
414
  width: theme(digitv2.spacers.spacer6);
310
415
  height: theme(digitv2.spacers.spacer6);
311
416
  margin-left: theme(digitv2.spacers.spacer7);
312
417
  }
313
418
 
314
- .item-label-msb {
419
+ .digit-item-label-msb {
315
420
 
316
421
  font-family: theme(digitv2.fontFamily.sans);
317
422
  font-style: theme(digitv2.fontStyle.normal);
@@ -332,9 +437,13 @@
332
437
  /* Media query for desktop */
333
438
  font-size: theme(digitv2.fontSize.body-s.desktop);
334
439
  }
440
+
441
+ &.withoutIcon{
442
+ margin-left: theme(digitv2.spacers.spacer7);
443
+ }
335
444
  }
336
445
 
337
- .expand-icon-msb {
446
+ .digit-expand-icon-msb {
338
447
  width: theme(digitv2.spacers.spacer6);
339
448
  height: theme(digitv2.spacers.spacer6);
340
449
  margin-left: auto !important;
@@ -344,7 +453,7 @@
344
453
  }
345
454
  }
346
455
 
347
- .sidebar-item-msb {
456
+ .digit-sidebar-item-msb {
348
457
  display: flex;
349
458
  align-items: center;
350
459
  text-decoration: none;
@@ -357,33 +466,33 @@
357
466
  }
358
467
 
359
468
 
360
- .item-child-wrapper-msb {
469
+ .digit-item-child-wrapper-msb {
361
470
  width: 100%;
362
471
  height: theme(digitv2.spacers.spacer12);
363
472
  display: flex;
364
473
  align-items: center;
365
474
  justify-content: center;
366
475
 
367
- .sidebar-item-msb:hover {
476
+ .digit-sidebar-item-msb:hover {
368
477
  background-color: #FFFFFF4D;
369
478
  }
370
479
 
371
- .sidebar-item-msb:active,
372
- .sidebar-item-msb.selected,
373
- .sidebar-item-msb.selectedAsParent {
480
+ .digit-sidebar-item-msb:active,
481
+ .digit-sidebar-item-msb.selected,
482
+ .digit-sidebar-item-msb.selectedAsParent {
374
483
  background: #c84c0e1a;
375
484
 
376
- .item-label-msb {
485
+ .digit-item-label-msb {
377
486
  color: theme(digitv2.lightTheme.primary-2);
378
487
  }
379
488
  }
380
489
 
381
- .sidebar-item-msb.selected::before,
382
- .sidebar-item-msb:active::before,
383
- .sidebar-item-msb:active:hover::before,
384
- .sidebar-item-msb.selected:hover::before,
385
- .sidebar-item-msb.selectedAsParent::before,
386
- .sidebar-item-msb.selectedAsParent:hover::before {
490
+ .digit-sidebar-item-msb.selected::before,
491
+ .digit-sidebar-item-msb:active::before,
492
+ .digit-sidebar-item-msb:active:hover::before,
493
+ .digit-sidebar-item-msb.selected:hover::before,
494
+ .digit-sidebar-item-msb.selectedAsParent::before,
495
+ .digit-sidebar-item-msb.selectedAsParent:hover::before {
387
496
  content: '';
388
497
  position: absolute;
389
498
  top: 0.062rem;
@@ -395,21 +504,21 @@
395
504
  border-bottom-right-radius: theme(digitv2.spacers.spacer1);
396
505
  }
397
506
 
398
- .sidebar-item-msb.dark:active,
399
- .sidebar-item-msb.dark.selected,
400
- .sidebar-item-msb.dark.selectedAsParent {
507
+ .digit-sidebar-item-msb.dark:active,
508
+ .digit-sidebar-item-msb.dark.selected,
509
+ .digit-sidebar-item-msb.dark.selectedAsParent {
401
510
  background: theme(digitv2.lightTheme.primary-1);
402
- .item-label-msb {
511
+ .digit-item-label-msb {
403
512
  color: theme(digitv2.lightTheme.paper-primary);
404
513
  }
405
514
  }
406
515
 
407
- .sidebar-item-msb.dark.selected::before,
408
- .sidebar-item-msb.dark:active::before,
409
- .sidebar-item-msb.dark.selectedAsParent::before,
410
- .sidebar-item-msb.dark:active:hover::before,
411
- .sidebar-item-msb.dark.selected:hover::before,
412
- .sidebar-item-msb.dark.selectedAsParent:hover::before {
516
+ .digit-sidebar-item-msb.dark.selected::before,
517
+ .digit-sidebar-item-msb.dark:active::before,
518
+ .digit-sidebar-item-msb.dark.selectedAsParent::before,
519
+ .digit-sidebar-item-msb.dark:active:hover::before,
520
+ .digit-sidebar-item-msb.dark.selected:hover::before,
521
+ .digit-sidebar-item-msb.dark.selectedAsParent:hover::before {
413
522
  content: '';
414
523
  position: absolute;
415
524
  top: 0.062rem;
@@ -423,17 +532,23 @@
423
532
  }
424
533
 
425
534
 
426
- .msb-sidebar-items::-webkit-scrollbar {
535
+ .digit-msb-sidebar-items::-webkit-scrollbar {
427
536
  width: 0.375rem;
428
537
  background-color: theme(digitv2.lightTheme.generic-background);
429
538
  }
430
539
 
431
- .msb-sidebar-items::-webkit-scrollbar-track {
540
+ .digit-msb-sidebar-items::-webkit-scrollbar-track {
432
541
  background-color: theme(digitv2.lightTheme.generic-background);
433
542
  border-radius: 0.563rem;
434
543
  }
435
544
 
436
- .msb-sidebar-items::-webkit-scrollbar-thumb {
545
+ .digit-msb-sidebar-items::-webkit-scrollbar-thumb {
437
546
  background-color: theme(digitv2.lightTheme.generic-divider);
438
547
  border-radius: 0.563rem;
548
+ }
549
+
550
+ .digit-hamburger-profile{
551
+ width: 3.875rem;
552
+ height: 4rem;
553
+ object-fit: cover;
439
554
  }
@@ -92,6 +92,25 @@
92
92
  align-items: center;
93
93
  .category-selectAll-label {
94
94
  @extend .typography.body-s;
95
+ font-family: theme(digitv2.fontFamily.sans);
96
+ font-style: theme(digitv2.fontStyle.normal);
97
+ font-weight: theme(digitv2.fontWeight.regular);
98
+ line-height: theme(digitv2.lineHeight.lineheight2);
99
+
100
+ @media (max-aspect-ratio: 9/16) {
101
+ /* Media query for mobile */
102
+ font-size: theme(digitv2.fontSize.body-s.mobile);
103
+ }
104
+
105
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
106
+ /* Media query for tablets */
107
+ font-size: theme(digitv2.fontSize.body-s.tablet);
108
+ }
109
+
110
+ @media (min-aspect-ratio: 3/4) {
111
+ /* Media query for desktop */
112
+ font-size: theme(digitv2.fontSize.body-s.desktop);
113
+ }
95
114
  text-align: left;
96
115
  color: theme(digitv2.lightTheme.primary-1);
97
116
  }
@@ -181,6 +200,25 @@
181
200
  p {
182
201
  @extend .typography.body-s;
183
202
  @apply w-full overflow-hidden whitespace-no-wrap max-w-full;
203
+ font-family: theme(digitv2.fontFamily.sans);
204
+ font-style: theme(digitv2.fontStyle.normal);
205
+ font-weight: theme(digitv2.fontWeight.regular);
206
+ line-height: theme(digitv2.lineHeight.lineheight2);
207
+
208
+ @media (max-aspect-ratio: 9/16) {
209
+ /* Media query for mobile */
210
+ font-size: theme(digitv2.fontSize.body-s.mobile);
211
+ }
212
+
213
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
214
+ /* Media query for tablets */
215
+ font-size: theme(digitv2.fontSize.body-s.tablet);
216
+ }
217
+
218
+ @media (min-aspect-ratio: 3/4) {
219
+ /* Media query for desktop */
220
+ font-size: theme(digitv2.fontSize.body-s.desktop);
221
+ }
184
222
  color: theme(digitv2.lightTheme.text-primary);
185
223
  margin: theme(digitv2.spacers.spacer0);
186
224
  text-overflow: ellipsis;
@@ -84,6 +84,25 @@
84
84
 
85
85
  .digit-panelcard-description {
86
86
  @extend .typography.body-s;
87
+ font-family: theme(digitv2.fontFamily.sans);
88
+ font-style: theme(digitv2.fontStyle.normal);
89
+ font-weight: theme(digitv2.fontWeight.regular);
90
+ line-height: theme(digitv2.lineHeight.lineheight2);
91
+
92
+ @media (max-aspect-ratio: 9/16) {
93
+ /* Media query for mobile */
94
+ font-size: theme(digitv2.fontSize.body-s.mobile);
95
+ }
96
+
97
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
98
+ /* Media query for tablets */
99
+ font-size: theme(digitv2.fontSize.body-s.tablet);
100
+ }
101
+
102
+ @media (min-aspect-ratio: 3/4) {
103
+ /* Media query for desktop */
104
+ font-size: theme(digitv2.fontSize.body-s.desktop);
105
+ }
87
106
  color: theme(digitv2.lightTheme.generic-inputborder);
88
107
  }
89
108
 
@@ -141,6 +141,25 @@
141
141
 
142
142
  .digit-popup-children-wrap {
143
143
  @extend .typography.body-s;
144
+ font-family: theme(digitv2.fontFamily.sans);
145
+ font-style: theme(digitv2.fontStyle.normal);
146
+ font-weight: theme(digitv2.fontWeight.regular);
147
+ line-height: theme(digitv2.lineHeight.lineheight2);
148
+
149
+ @media (max-aspect-ratio: 9/16) {
150
+ /* Media query for mobile */
151
+ font-size: theme(digitv2.fontSize.body-s.mobile);
152
+ }
153
+
154
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
155
+ /* Media query for tablets */
156
+ font-size: theme(digitv2.fontSize.body-s.tablet);
157
+ }
158
+
159
+ @media (min-aspect-ratio: 3/4) {
160
+ /* Media query for desktop */
161
+ font-size: theme(digitv2.fontSize.body-s.desktop);
162
+ }
144
163
  @apply overflow-hidden overflow-y-auto flex-col;
145
164
  display: flex;
146
165
  flex: 1;
@@ -148,6 +167,25 @@
148
167
 
149
168
  .digit-popup-description {
150
169
  @extend .typography.body-s;
170
+ font-family: theme(digitv2.fontFamily.sans);
171
+ font-style: theme(digitv2.fontStyle.normal);
172
+ font-weight: theme(digitv2.fontWeight.regular);
173
+ line-height: theme(digitv2.lineHeight.lineheight2);
174
+
175
+ @media (max-aspect-ratio: 9/16) {
176
+ /* Media query for mobile */
177
+ font-size: theme(digitv2.fontSize.body-s.mobile);
178
+ }
179
+
180
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
181
+ /* Media query for tablets */
182
+ font-size: theme(digitv2.fontSize.body-s.tablet);
183
+ }
184
+
185
+ @media (min-aspect-ratio: 3/4) {
186
+ /* Media query for desktop */
187
+ font-size: theme(digitv2.fontSize.body-s.desktop);
188
+ }
151
189
  color: theme(digitv2.lightTheme.text-primary);
152
190
  }
153
191
 
@@ -76,6 +76,25 @@
76
76
 
77
77
  label {
78
78
  @extend .typography.body-s;
79
+ font-family: theme(digitv2.fontFamily.sans);
80
+ font-style: theme(digitv2.fontStyle.normal);
81
+ font-weight: theme(digitv2.fontWeight.regular);
82
+ line-height: theme(digitv2.lineHeight.lineheight2);
83
+
84
+ @media (max-aspect-ratio: 9/16) {
85
+ /* Media query for mobile */
86
+ font-size: theme(digitv2.fontSize.body-s.mobile);
87
+ }
88
+
89
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
90
+ /* Media query for tablets */
91
+ font-size: theme(digitv2.fontSize.body-s.tablet);
92
+ }
93
+
94
+ @media (min-aspect-ratio: 3/4) {
95
+ /* Media query for desktop */
96
+ font-size: theme(digitv2.fontSize.body-s.desktop);
97
+ }
79
98
  color: theme(digitv2.lightTheme.text-primary);
80
99
  overflow-wrap: anywhere;
81
100
  }
@@ -154,6 +154,25 @@
154
154
  }
155
155
  .main-option {
156
156
  @extend .typography.body-s;
157
+ font-family: theme(digitv2.fontFamily.sans);
158
+ font-style: theme(digitv2.fontStyle.normal);
159
+ font-weight: theme(digitv2.fontWeight.regular);
160
+ line-height: theme(digitv2.lineHeight.lineheight2);
161
+
162
+ @media (max-aspect-ratio: 9/16) {
163
+ /* Media query for mobile */
164
+ font-size: theme(digitv2.fontSize.body-s.mobile);
165
+ }
166
+
167
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
168
+ /* Media query for tablets */
169
+ font-size: theme(digitv2.fontSize.body-s.tablet);
170
+ }
171
+
172
+ @media (min-aspect-ratio: 3/4) {
173
+ /* Media query for desktop */
174
+ font-size: theme(digitv2.fontSize.body-s.desktop);
175
+ }
157
176
  @apply whitespace-no-wrap w-full max-w-full overflow-hidden;
158
177
  text-overflow: ellipsis;
159
178
  &.nestedtextdropdown,
@@ -251,6 +270,25 @@
251
270
  pointer-events: none;
252
271
  span {
253
272
  @extend .typography.body-s;
273
+ font-family: theme(digitv2.fontFamily.sans);
274
+ font-style: theme(digitv2.fontStyle.normal);
275
+ font-weight: theme(digitv2.fontWeight.regular);
276
+ line-height: theme(digitv2.lineHeight.lineheight2);
277
+
278
+ @media (max-aspect-ratio: 9/16) {
279
+ /* Media query for mobile */
280
+ font-size: theme(digitv2.fontSize.body-s.mobile);
281
+ }
282
+
283
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
284
+ /* Media query for tablets */
285
+ font-size: theme(digitv2.fontSize.body-s.tablet);
286
+ }
287
+
288
+ @media (min-aspect-ratio: 3/4) {
289
+ /* Media query for desktop */
290
+ font-size: theme(digitv2.fontSize.body-s.desktop);
291
+ }
254
292
  color: theme(digitv2.lightTheme.text-disabled);
255
293
  }
256
294
  }
@@ -61,6 +61,25 @@
61
61
  ::placeholder {
62
62
  content: attr(placeholder);
63
63
  @extend .typography.body-s;
64
+ font-family: theme(digitv2.fontFamily.sans);
65
+ font-style: theme(digitv2.fontStyle.normal);
66
+ font-weight: theme(digitv2.fontWeight.regular);
67
+ line-height: theme(digitv2.lineHeight.lineheight2);
68
+
69
+ @media (max-aspect-ratio: 9/16) {
70
+ /* Media query for mobile */
71
+ font-size: theme(digitv2.fontSize.body-s.mobile);
72
+ }
73
+
74
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
75
+ /* Media query for tablets */
76
+ font-size: theme(digitv2.fontSize.body-s.tablet);
77
+ }
78
+
79
+ @media (min-aspect-ratio: 3/4) {
80
+ /* Media query for desktop */
81
+ font-size: theme(digitv2.fontSize.body-s.desktop);
82
+ }
64
83
  color: theme(digitv2.lightTheme.generic-background);
65
84
  }
66
85
  }
@@ -24,6 +24,25 @@
24
24
 
25
25
  .stepper-label {
26
26
  @extend .typography.body-s;
27
+ font-family: theme(digitv2.fontFamily.sans);
28
+ font-style: theme(digitv2.fontStyle.normal);
29
+ font-weight: theme(digitv2.fontWeight.regular);
30
+ line-height: theme(digitv2.lineHeight.lineheight2);
31
+
32
+ @media (max-aspect-ratio: 9/16) {
33
+ /* Media query for mobile */
34
+ font-size: theme(digitv2.fontSize.body-s.mobile);
35
+ }
36
+
37
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
38
+ /* Media query for tablets */
39
+ font-size: theme(digitv2.fontSize.body-s.tablet);
40
+ }
41
+
42
+ @media (min-aspect-ratio: 3/4) {
43
+ /* Media query for desktop */
44
+ font-size: theme(digitv2.fontSize.body-s.desktop);
45
+ }
27
46
  @apply text-center;
28
47
  color: theme(digitv2.lightTheme.text-secondary);
29
48
  letter-spacing: theme(digitv2.spacers.spacer0);