@egovernments/digit-ui-components-css 2.0.0-dev-10 → 2.0.0-dev-12

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.
Files changed (59) hide show
  1. package/dist/index.css +2 -2
  2. package/package.json +1 -1
  3. package/src/digitv2/components/FormComposerV2.scss +1 -1
  4. package/src/digitv2/components/alertCardV2.scss +41 -41
  5. package/src/digitv2/components/backLinkV2.scss +7 -7
  6. package/src/digitv2/components/bottomSheetV2.scss +19 -19
  7. package/src/digitv2/components/breadcrumbV2.scss +21 -21
  8. package/src/digitv2/components/cardV2.scss +14 -14
  9. package/src/digitv2/components/cardlabelV2.scss +2 -2
  10. package/src/digitv2/components/checkboxV2.scss +41 -31
  11. package/src/digitv2/components/chipV2.scss +40 -40
  12. package/src/digitv2/components/dividerV2.scss +4 -4
  13. package/src/digitv2/components/errorMessageV2.scss +12 -12
  14. package/src/digitv2/components/fieldV1.scss +55 -55
  15. package/src/digitv2/components/fileUploadV2.scss +115 -115
  16. package/src/digitv2/components/filterCardV2.scss +50 -50
  17. package/src/digitv2/components/footerV2.scss +12 -12
  18. package/src/digitv2/components/formCardV2.scss +48 -48
  19. package/src/digitv2/components/hamburgerV2.scss +138 -138
  20. package/src/digitv2/components/headerV2.scss +48 -48
  21. package/src/digitv2/components/headerdropdownV2.scss +64 -64
  22. package/src/digitv2/components/infobuttonV2.scss +12 -12
  23. package/src/digitv2/components/labelFieldPairV2.scss +7 -7
  24. package/src/digitv2/components/landingpagecardV2.scss +66 -66
  25. package/src/digitv2/components/loaderV2.scss +3 -3
  26. package/src/digitv2/components/menuCardV2.scss +29 -29
  27. package/src/digitv2/components/metricCardV2.scss +49 -49
  28. package/src/digitv2/components/mobileNumberV2.scss +93 -3
  29. package/src/digitv2/components/multiSelectDropdownV2.scss +166 -152
  30. package/src/digitv2/components/otpInputV2.scss +23 -23
  31. package/src/digitv2/components/panelCardV2.scss +42 -42
  32. package/src/digitv2/components/panelV2.scss +28 -28
  33. package/src/digitv2/components/popUpV2.scss +85 -85
  34. package/src/digitv2/components/radiobtnV2.scss +21 -21
  35. package/src/digitv2/components/selectDropdownV2.scss +191 -181
  36. package/src/digitv2/components/selectionTagV2.scss +27 -27
  37. package/src/digitv2/components/sidePanelV2.scss +46 -46
  38. package/src/digitv2/components/sidenavV2.scss +114 -114
  39. package/src/digitv2/components/stepperV2.scss +54 -54
  40. package/src/digitv2/components/summaryCardFieldPairV2.scss +20 -20
  41. package/src/digitv2/components/summaryCardV2.scss +25 -25
  42. package/src/digitv2/components/switchV2.scss +30 -30
  43. package/src/digitv2/components/tabV2.scss +24 -24
  44. package/src/digitv2/components/tableV2.scss +138 -138
  45. package/src/digitv2/components/tagV2.scss +23 -23
  46. package/src/digitv2/components/textInputV2.scss +93 -90
  47. package/src/digitv2/components/textareaV2.scss +20 -20
  48. package/src/digitv2/components/textblockV2.scss +24 -24
  49. package/src/digitv2/components/timelineV2.scss +57 -57
  50. package/src/digitv2/components/toastV2.scss +22 -21
  51. package/src/digitv2/components/toggleV2.scss +45 -45
  52. package/src/digitv2/components/tooltipwrapperV2.scss +88 -88
  53. package/src/digitv2/components/treeSelectV2.scss +52 -52
  54. package/src/digitv2/index.scss +78 -78
  55. package/src/digitv2/pages/employee/boundaryFilter.scss +7 -7
  56. package/src/digitv2/pages/employee/inboxsearchcomposer.scss +41 -41
  57. package/src/digitv2/pages/employee/reactdatatable.scss +13 -13
  58. package/src/digitv2/pages/employee/workbench.scss +24 -24
  59. package/src/index.scss +3 -3
@@ -197,9 +197,9 @@ video::-webkit-media-controls-panel {
197
197
  left: 0;
198
198
  z-index: 9999999;
199
199
  display: flex;
200
- background-color: theme("digitv2.lightTheme.paper-primary");
200
+ background-color: var(--digitv2-lightTheme-paper-primary);
201
201
  height: 4.5rem;
202
- padding: theme("digitv2.spacers.spacer4") theme("digitv2.spacers.spacer10") theme("digitv2.spacers.spacer4") theme("digitv2.spacers.spacer10");
202
+ padding: var(--digitv2-spacers-spacer4) var(--digitv2-spacers-spacer10) var(--digitv2-spacers-spacer4) var(--digitv2-spacers-spacer10);
203
203
 
204
204
  .margin-top-10 {
205
205
  margin-top: 0.625rem;
@@ -224,7 +224,7 @@ video::-webkit-media-controls-panel {
224
224
  .digit-dropdown-item {
225
225
  display: flex;
226
226
  flex-direction: row;
227
- padding: theme("digitv2.spacers.spacer3");
227
+ padding: var(--digitv2-spacers-spacer3);
228
228
  column-gap: 0.625rem;
229
229
  color: theme("colors.text.secondary");
230
230
 
@@ -238,39 +238,39 @@ video::-webkit-media-controls-panel {
238
238
  }
239
239
 
240
240
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
241
- padding: theme("digitv2.spacers.spacer4") theme("digitv2.spacers.spacer6") theme("digitv2.spacers.spacer4") theme("digitv2.spacers.spacer6");
242
- gap: theme("digitv2.spacers.spacer4");
241
+ padding: var(--digitv2-spacers-spacer4) var(--digitv2-spacers-spacer6) var(--digitv2-spacers-spacer4) var(--digitv2-spacers-spacer6);
242
+ gap: var(--digitv2-spacers-spacer4);
243
243
  }
244
244
 
245
245
  @media (max-width: 30rem) {
246
246
  height: 3.5rem;
247
- padding: theme("digitv2.spacers.spacer4");
248
- gap: theme("digitv2.spacers.spacer4");
247
+ padding: var(--digitv2-spacers-spacer4);
248
+ gap: var(--digitv2-spacers-spacer4);
249
249
  }
250
250
 
251
251
  &.light {
252
- box-shadow: theme("digitv2.spacers.spacer0") 0.063rem 0.125rem theme("digitv2.spacers.spacer0") #00000029;
252
+ box-shadow: var(--digitv2-spacers-spacer0) 0.063rem 0.125rem var(--digitv2-spacers-spacer0) #00000029;
253
253
  }
254
254
 
255
255
  .digit-logo-ulb-wrapper {
256
256
  display: flex !important;
257
- gap: theme("digitv2.spacers.spacer4");
257
+ gap: var(--digitv2-spacers-spacer4);
258
258
  align-items: center !important;
259
- max-width: calc(50% - (theme("digitv2.spacers.spacer6")));
259
+ max-width: calc(50% - (var(--digitv2-spacers-spacer6)));
260
260
 
261
261
  @media (min-width: 48rem) {
262
- height: theme("digitv2.spacers.spacer8");
262
+ height: var(--digitv2-spacers-spacer8);
263
263
  }
264
264
 
265
265
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
266
- height: theme("digitv2.spacers.spacer8");
266
+ height: var(--digitv2-spacers-spacer8);
267
267
  }
268
268
 
269
269
  @media (max-width: 30rem) {}
270
270
 
271
271
  .digit-topbar-logo {
272
272
  flex-shrink: 0;
273
- height: theme("digitv2.spacers.spacer8");
273
+ height: var(--digitv2-spacers-spacer8);
274
274
  width: 1.291rem;
275
275
 
276
276
  &.clickable {
@@ -280,43 +280,43 @@ video::-webkit-media-controls-panel {
280
280
 
281
281
  .digit-topbar-ulb {
282
282
  @include typography-heading-s;
283
- font-family: theme("digitv2.fontFamily.sans");
284
- font-style: theme("digitv2.fontStyle.normal");
285
- font-weight: theme("digitv2.fontWeight.bold");
286
- line-height: theme("digitv2.lineHeight.lineheight1");
283
+ font-family: var(--digitv2-fontFamily-sans);
284
+ font-style: var(--digitv2-fontStyle-normal);
285
+ font-weight: var(--digitv2-fontWeight-bold);
286
+ line-height: var(--digitv2-lineHeight-lineheight1);
287
287
 
288
288
  @media (max-aspect-ratio: 9/16) {
289
289
  /* Media query for mobile */
290
- font-size: theme("digitv2.fontSize.heading-s.mobile");
290
+ font-size: var(--digitv2-fontSize-heading-s-mobile);
291
291
  }
292
292
 
293
293
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
294
294
  /* Media query for tablets */
295
- font-size: theme("digitv2.fontSize.heading-s.tablet");
295
+ font-size: var(--digitv2-fontSize-heading-s-tablet);
296
296
  }
297
297
 
298
298
  @media (min-aspect-ratio: 3/4) {
299
299
  /* Media query for desktop */
300
- font-size: theme("digitv2.fontSize.heading-s.desktop");
300
+ font-size: var(--digitv2-fontSize-heading-s-desktop);
301
301
  }
302
302
  @apply whitespace-nowrap overflow-hidden;
303
- color: theme("digitv2.lightTheme.text-primary");
303
+ color: var(--digitv2-lightTheme-text-primary);
304
304
  text-overflow: ellipsis;
305
305
  }
306
306
  }
307
307
 
308
308
  &.dark {
309
- background-color: theme("digitv2.lightTheme.primary-2");
309
+ background-color: var(--digitv2-lightTheme-primary-2);
310
310
 
311
311
  .digit-logo-ulb-wrapper {
312
312
  .digit-topbar-ulb {
313
- color: theme("digitv2.lightTheme.paper-primary");
313
+ color: var(--digitv2-lightTheme-paper-primary);
314
314
  }
315
315
  }
316
316
 
317
317
  .digit-header-action-fields {
318
318
  .individual-action-field {
319
- color: theme("digitv2.lightTheme.paper-primary");
319
+ color: var(--digitv2-lightTheme-paper-primary);
320
320
 
321
321
  .digit-dropdown-employee-select-wrap,
322
322
  .digit-dropdown-select-wrap{
@@ -329,16 +329,16 @@ video::-webkit-media-controls-panel {
329
329
  .digit-header-action-fields {
330
330
  @apply items-center overflow-hidden;
331
331
  display: flex !important;
332
- height: theme("digitv2.spacers.spacer8");
332
+ height: var(--digitv2-spacers-spacer8);
333
333
  max-width: 50%;
334
334
 
335
335
 
336
336
  @media (min-width: 48rem) {
337
- gap: theme("digitv2.spacers.spacer8");
337
+ gap: var(--digitv2-spacers-spacer8);
338
338
  }
339
339
 
340
340
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
341
- gap: theme("digitv2.spacers.spacer4");
341
+ gap: var(--digitv2-spacers-spacer4);
342
342
  }
343
343
 
344
344
  .digit-header-img {
@@ -349,16 +349,16 @@ video::-webkit-media-controls-panel {
349
349
  }
350
350
 
351
351
  .digit-topbar-hamburger {
352
- width: theme("digitv2.spacers.spacer6");
353
- height: theme("digitv2.spacers.spacer6");
352
+ width: var(--digitv2-spacers-spacer6);
353
+ height: var(--digitv2-spacers-spacer6);
354
354
 
355
355
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
356
- width: theme("digitv2.spacers.spacer8");
357
- height: theme("digitv2.spacers.spacer8");
356
+ width: var(--digitv2-spacers-spacer8);
357
+ height: var(--digitv2-spacers-spacer8);
358
358
 
359
359
  svg {
360
- width: theme("digitv2.spacers.spacer8");
361
- height: theme("digitv2.spacers.spacer8");
360
+ width: var(--digitv2-spacers-spacer8);
361
+ height: var(--digitv2-spacers-spacer8);
362
362
  }
363
363
  }
364
364
 
@@ -371,11 +371,11 @@ video::-webkit-media-controls-panel {
371
371
  .digit-header-img-ulb-wrapper-mobileview {
372
372
  display: flex;
373
373
  align-items: center;
374
- height: theme("digitv2.spacers.spacer6");
375
- max-width: calc(100% - (theme("digitv2.spacers.spacer6")));
374
+ height: var(--digitv2-spacers-spacer6);
375
+ max-width: calc(100% - (var(--digitv2-spacers-spacer6)));
376
376
 
377
377
  .digit-header-img {
378
- margin-right: theme("digitv2.spacers.spacer2");
378
+ margin-right: var(--digitv2-spacers-spacer2);
379
379
  margin-bottom: 0.156rem;
380
380
 
381
381
  &.clickable {
@@ -384,13 +384,13 @@ video::-webkit-media-controls-panel {
384
384
  }
385
385
 
386
386
  .topbar-divider {
387
- height: theme("digitv2.spacers.spacer6");
387
+ height: var(--digitv2-spacers-spacer6);
388
388
  width: 0.063rem;
389
- border: 0.063rem solid theme("digitv2.lightTheme.text-primary");
389
+ border: 0.063rem solid var(--digitv2-lightTheme-text-primary);
390
390
  margin-right: 0.625rem;
391
391
 
392
392
  &.dark {
393
- border: 0.063rem solid theme("digitv2.lightTheme.paper-primary");
393
+ border: 0.063rem solid var(--digitv2-lightTheme-paper-primary);
394
394
  }
395
395
 
396
396
  }
@@ -398,30 +398,30 @@ video::-webkit-media-controls-panel {
398
398
  .digit-topbar-ulb-mobileview {
399
399
  @apply overflow-hidden whitespace-nowrap;
400
400
  @include typography-body-s;
401
- font-family: theme("digitv2.fontFamily.sans");
402
- font-style: theme("digitv2.fontStyle.normal");
403
- font-weight: theme("digitv2.fontWeight.regular");
404
- line-height: theme("digitv2.lineHeight.lineheight2");
401
+ font-family: var(--digitv2-fontFamily-sans);
402
+ font-style: var(--digitv2-fontStyle-normal);
403
+ font-weight: var(--digitv2-fontWeight-regular);
404
+ line-height: var(--digitv2-lineHeight-lineheight2);
405
405
 
406
406
  @media (max-aspect-ratio: 9/16) {
407
407
  /* Media query for mobile */
408
- font-size: theme("digitv2.fontSize.body-s.mobile");
408
+ font-size: var( --digitv2-fontSize-body-s-mobile);
409
409
  }
410
410
 
411
411
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
412
412
  /* Media query for tablets */
413
- font-size: theme("digitv2.fontSize.body-s.tablet");
413
+ font-size: var( --digitv2-fontSize-body-s-tablet);
414
414
  }
415
415
 
416
416
  @media (min-aspect-ratio: 3/4) {
417
417
  /* Media query for desktop */
418
- font-size: theme("digitv2.fontSize.body-s.desktop");
418
+ font-size: var( --digitv2-fontSize-body-s-desktop);
419
419
  }
420
420
  text-overflow: ellipsis;
421
- color: theme("digitv2.lightTheme.text-primary");
421
+ color: var(--digitv2-lightTheme-text-primary);
422
422
 
423
423
  &.dark {
424
- color: theme("digitv2.lightTheme.paper-primary");
424
+ color: var(--digitv2-lightTheme-paper-primary);
425
425
  }
426
426
  }
427
427
 
@@ -5,22 +5,22 @@
5
5
  display: flex;
6
6
  align-items: center;
7
7
  justify-content: center;
8
- width: theme("digitv2.spacers.spacer8");
9
- height: theme("digitv2.spacers.spacer8");
8
+ width: var(--digitv2-spacers-spacer8);
9
+ height: var(--digitv2-spacers-spacer8);
10
10
  overflow: hidden;
11
11
  border-radius: 50%;
12
12
 
13
13
  &.text {
14
- color: theme("digitv2.lightTheme.paper-primary");
14
+ color: var(--digitv2-lightTheme-paper-primary);
15
15
  font-weight: 700;
16
- background: theme("digitv2.lightTheme.primary-2");
16
+ background: var(--digitv2-lightTheme-primary-2);
17
17
  }
18
18
 
19
19
  &.dark {
20
20
  &.text {
21
- background: theme("digitv2.lightTheme.paper-primary");
21
+ background: var(--digitv2-lightTheme-paper-primary);
22
22
  font-weight: 700;
23
- color: theme("digitv2.lightTheme.primary-2");
23
+ color: var(--digitv2-lightTheme-primary-2);
24
24
  }
25
25
  }
26
26
 
@@ -34,54 +34,54 @@
34
34
  .header-dropdown-label {
35
35
  @include typography-body-s;
36
36
  cursor: pointer;
37
- font-family: theme("digitv2.fontFamily.sans");
38
- font-style: theme("digitv2.fontStyle.normal");
39
- font-weight: theme("digitv2.fontWeight.regular");
40
- line-height: theme("digitv2.lineHeight.lineheight2");
37
+ font-family: var(--digitv2-fontFamily-sans);
38
+ font-style: var(--digitv2-fontStyle-normal);
39
+ font-weight: var(--digitv2-fontWeight-regular);
40
+ line-height: var(--digitv2-lineHeight-lineheight2);
41
41
 
42
42
  @media (max-aspect-ratio: 9/16) {
43
43
  /* Media query for mobile */
44
- font-size: theme("digitv2.fontSize.body-s.mobile");
44
+ font-size: var( --digitv2-fontSize-body-s-mobile);
45
45
  }
46
46
 
47
47
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
48
48
  /* Media query for tablets */
49
- font-size: theme("digitv2.fontSize.body-s.tablet");
49
+ font-size: var( --digitv2-fontSize-body-s-tablet);
50
50
  }
51
51
 
52
52
  @media (min-aspect-ratio: 3/4) {
53
53
  /* Media query for desktop */
54
- font-size: theme("digitv2.fontSize.body-s.desktop");
54
+ font-size: var( --digitv2-fontSize-body-s-desktop);
55
55
  }
56
56
  display: flex;
57
57
  align-items: center;
58
- color: theme("digitv2.lightTheme.text-primary");
58
+ color: var(--digitv2-lightTheme-text-primary);
59
59
  position: relative;
60
60
 
61
61
  &.dark {
62
- color: theme("digitv2.lightTheme.paper-primary");
62
+ color: var(--digitv2-lightTheme-paper-primary);
63
63
  }
64
64
  }
65
65
 
66
66
  .header-dropdown-arrow {
67
- margin-left: theme("digitv2.spacers.spacer2");
68
- width: theme("digitv2.spacers.spacer6");
69
- height: theme("digitv2.spacers.spacer6");
67
+ margin-left: var(--digitv2-spacers-spacer2);
68
+ width: var(--digitv2-spacers-spacer6);
69
+ height: var(--digitv2-spacers-spacer6);
70
70
  }
71
71
 
72
72
  .header-dropdown-menu {
73
73
  width: fit-content !important;
74
- box-shadow: theme("digitv2.spacers.spacer0") 0.063rem 0.275rem theme("digitv2.spacers.spacer0") #00000026;
74
+ box-shadow: var(--digitv2-spacers-spacer0) 0.063rem 0.275rem var(--digitv2-spacers-spacer0) #00000026;
75
75
  max-height: 80%;
76
- background-color: theme("digitv2.lightTheme.paper-primary");
77
- margin-top: theme("digitv2.spacers.spacer6");
76
+ background-color: var(--digitv2-lightTheme-paper-primary);
77
+ margin-top: var(--digitv2-spacers-spacer6);
78
78
  position: fixed;
79
79
  min-width: 14rem;
80
80
  max-width: 25rem;
81
81
  @apply z-30 overflow-y-auto overflow-x-hidden;
82
82
 
83
83
  &.underProfile{
84
- margin-top: theme("digitv2.spacers.spacer5");
84
+ margin-top: var(--digitv2-spacers-spacer5);
85
85
  }
86
86
  }
87
87
 
@@ -90,19 +90,19 @@
90
90
  min-width: 14rem;
91
91
  max-width: 25rem;
92
92
  width: auto;
93
- padding: theme("digitv2.spacers.spacer3") !important;
93
+ padding: var(--digitv2-spacers-spacer3) !important;
94
94
  }
95
95
 
96
96
  .header-dropdown-search {
97
- height: theme("digitv2.spacers.spacer8") !important;
97
+ height: var(--digitv2-spacers-spacer8) !important;
98
98
  min-width: 12.5rem;
99
99
  max-width: 23.5rem;
100
100
 
101
101
  .digit-text-input-customIcon {
102
- height: theme("digitv2.spacers.spacer5");
103
- width: theme("digitv2.spacers.spacer5");
102
+ height: var(--digitv2-spacers-spacer5);
103
+ width: var(--digitv2-spacers-spacer5);
104
104
  top: 0.4rem;
105
- right: theme("digitv2.spacers.spacer4");
105
+ right: var(--digitv2-spacers-spacer4);
106
106
  }
107
107
 
108
108
  .input-container {
@@ -122,29 +122,29 @@
122
122
  .header-dropdown-option {
123
123
  @include typography-body-s;
124
124
  @apply whitespace-nowrap w-full max-w-full overflow-hidden;
125
- font-family: theme("digitv2.fontFamily.sans");
126
- font-style: theme("digitv2.fontStyle.normal");
127
- font-weight: theme("digitv2.fontWeight.regular");
128
- line-height: theme("digitv2.lineHeight.lineheight2");
125
+ font-family: var(--digitv2-fontFamily-sans);
126
+ font-style: var(--digitv2-fontStyle-normal);
127
+ font-weight: var(--digitv2-fontWeight-regular);
128
+ line-height: var(--digitv2-lineHeight-lineheight2);
129
129
 
130
130
  @media (max-aspect-ratio: 9/16) {
131
131
  /* Media query for mobile */
132
- font-size: theme("digitv2.fontSize.body-s.mobile");
132
+ font-size: var( --digitv2-fontSize-body-s-mobile);
133
133
  }
134
134
 
135
135
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
136
136
  /* Media query for tablets */
137
- font-size: theme("digitv2.fontSize.body-s.tablet");
137
+ font-size: var( --digitv2-fontSize-body-s-tablet);
138
138
  }
139
139
 
140
140
  @media (min-aspect-ratio: 3/4) {
141
141
  /* Media query for desktop */
142
- font-size: theme("digitv2.fontSize.body-s.desktop");
142
+ font-size: var( --digitv2-fontSize-body-s-desktop);
143
143
  }
144
- padding: theme("digitv2.spacers.spacer4") 0.625rem;
145
- color: theme("digitv2.lightTheme.text-primary");
146
- gap: theme("digitv2.spacers.spacer2");
147
- height: theme("digitv2.spacers.spacer10");
144
+ padding: var(--digitv2-spacers-spacer4) 0.625rem;
145
+ color: var(--digitv2-lightTheme-text-primary);
146
+ gap: var(--digitv2-spacers-spacer2);
147
+ height: var(--digitv2-spacers-spacer10);
148
148
  display: flex;
149
149
  align-items: center;
150
150
  word-break: break-word;
@@ -157,80 +157,80 @@
157
157
  }
158
158
 
159
159
  .header-dropdown-option:not(:hover):not(:active):nth-of-type(2n +1) {
160
- background-color: theme("digitv2.lightTheme.paper-secondary");
160
+ background-color: var(--digitv2-lightTheme-paper-secondary);
161
161
  }
162
162
 
163
163
  .header-dropdown-nooption {
164
164
  @include typography-body-s;
165
- font-family: theme("digitv2.fontFamily.sans");
166
- font-style: theme("digitv2.fontStyle.normal");
167
- font-weight: theme("digitv2.fontWeight.regular");
168
- line-height: theme("digitv2.lineHeight.lineheight2");
165
+ font-family: var(--digitv2-fontFamily-sans);
166
+ font-style: var(--digitv2-fontStyle-normal);
167
+ font-weight: var(--digitv2-fontWeight-regular);
168
+ line-height: var(--digitv2-lineHeight-lineheight2);
169
169
 
170
170
  @media (max-aspect-ratio: 9/16) {
171
171
  /* Media query for mobile */
172
- font-size: theme("digitv2.fontSize.body-s.mobile");
172
+ font-size: var( --digitv2-fontSize-body-s-mobile);
173
173
  }
174
174
 
175
175
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
176
176
  /* Media query for tablets */
177
- font-size: theme("digitv2.fontSize.body-s.tablet");
177
+ font-size: var( --digitv2-fontSize-body-s-tablet);
178
178
  }
179
179
 
180
180
  @media (min-aspect-ratio: 3/4) {
181
181
  /* Media query for desktop */
182
- font-size: theme("digitv2.fontSize.body-s.desktop");
182
+ font-size: var( --digitv2-fontSize-body-s-desktop);
183
183
  }
184
- padding: theme("digitv2.spacers.spacer2");
184
+ padding: var(--digitv2-spacers-spacer2);
185
185
  pointer-events: none;
186
- color: theme("digitv2.lightTheme.text-disabled");
187
- background-color: theme("digitv2.lightTheme.paper-secondary");
186
+ color: var(--digitv2-lightTheme-text-disabled);
187
+ background-color: var(--digitv2-lightTheme-paper-secondary);
188
188
  }
189
189
 
190
190
  .header-dropdown-option:hover,
191
191
  .header-dropdown-option.keyChange {
192
- background: theme("digitv2.lightTheme.primary-bg") !important;
193
- border: 0.031rem solid theme("digitv2.lightTheme.primary-1");
192
+ background: var(--digitv2-lightTheme-primary-bg) !important;
193
+ border: 0.031rem solid var(--digitv2-lightTheme-primary-1);
194
194
  }
195
195
 
196
196
  .header-dropdown-option:active,
197
197
  .header-dropdown-option.activeIndex {
198
198
  @include typography-heading-s;
199
- background: theme("digitv2.lightTheme.primary-1") !important;
200
- color: theme("digitv2.lightTheme.paper-primary");
199
+ background: var(--digitv2-lightTheme-primary-1) !important;
200
+ color: var(--digitv2-lightTheme-paper-primary);
201
201
 
202
- font-family: theme("digitv2.fontFamily.sans");
203
- font-style: theme("digitv2.fontStyle.normal");
204
- font-weight: theme("digitv2.fontWeight.bold");
205
- line-height: theme("digitv2.lineHeight.lineheight1");
202
+ font-family: var(--digitv2-fontFamily-sans);
203
+ font-style: var(--digitv2-fontStyle-normal);
204
+ font-weight: var(--digitv2-fontWeight-bold);
205
+ line-height: var(--digitv2-lineHeight-lineheight1);
206
206
 
207
207
  @media (max-aspect-ratio: 9/16) {
208
208
  /* Media query for mobile */
209
- font-size: theme("digitv2.fontSize.heading-s.mobile");
209
+ font-size: var(--digitv2-fontSize-heading-s-mobile);
210
210
  }
211
211
 
212
212
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
213
213
  /* Media query for tablets */
214
- font-size: theme("digitv2.fontSize.heading-s.tablet");
214
+ font-size: var(--digitv2-fontSize-heading-s-tablet);
215
215
  }
216
216
 
217
217
  @media (min-aspect-ratio: 3/4) {
218
218
  /* Media query for desktop */
219
- font-size: theme("digitv2.fontSize.heading-s.desktop");
219
+ font-size: var(--digitv2-fontSize-heading-s-desktop);
220
220
  }
221
221
  }
222
222
 
223
223
  .header-dropdown-options::-webkit-scrollbar {
224
- width: theme("digitv2.spacers.spacer2");
225
- background-color: theme("digitv2.lightTheme.generic-background");
224
+ width: var(--digitv2-spacers-spacer2);
225
+ background-color: var(--digitv2-lightTheme-generic-background);
226
226
  }
227
227
 
228
228
  .header-dropdown-options::-webkit-scrollbar-track {
229
- background-color: theme("digitv2.lightTheme.generic-background");
229
+ background-color: var(--digitv2-lightTheme-generic-background);
230
230
  border-radius: 0.563rem;
231
231
  }
232
232
 
233
233
  .header-dropdown-options::-webkit-scrollbar-thumb {
234
- background-color: theme("digitv2.lightTheme.generic-divider");
234
+ background-color: var(--digitv2-lightTheme-generic-divider);
235
235
  border-radius: 0.563rem;
236
236
  }
@@ -4,36 +4,36 @@
4
4
  .digit-info-button {
5
5
  @apply text-center cursor-pointer outline-none flex max-w-full items-center justify-center h-10;
6
6
  width: fit-content;
7
- padding-left: theme("digitv2.spacers.spacer6");
8
- padding-right: theme("digitv2.spacers.spacer6");
9
- gap: theme("digitv2.spacers.spacer2");
7
+ padding-left: var(--digitv2-spacers-spacer6);
8
+ padding-right: var(--digitv2-spacers-spacer6);
9
+ gap: var(--digitv2-spacers-spacer2);
10
10
  min-width: 6.5625rem;
11
11
 
12
12
  &.info{
13
- background-color: theme("digitv2.lightTheme.alert-info");
13
+ background-color: var(--digitv2-lightTheme-alert-info);
14
14
  }
15
15
 
16
16
  &.error{
17
- background-color: theme("digitv2.lightTheme.alert-error");
17
+ background-color: var(--digitv2-lightTheme-alert-error);
18
18
  }
19
19
 
20
20
  &.success{
21
- background-color: theme("digitv2.lightTheme.alert-success");
21
+ background-color: var(--digitv2-lightTheme-alert-success);
22
22
  }
23
23
 
24
24
  &.warning{
25
- background-color: theme("digitv2.lightTheme.alert-warning");
25
+ background-color: var(--digitv2-lightTheme-alert-warning);
26
26
  }
27
27
 
28
28
  h1 {
29
29
  @include typography-button-large;
30
30
  margin: 0;
31
- color: theme("digitv2.lightTheme.paper-primary") !important;
31
+ color: var(--digitv2-lightTheme-paper-primary) !important;
32
32
  }
33
33
 
34
34
  &.disabled {
35
35
  @apply opacity-50;
36
- background: theme("digitv2.lightTheme.text-disabled");
36
+ background: var(--digitv2-lightTheme-text-disabled);
37
37
  }
38
38
 
39
39
  &:focus {
@@ -41,14 +41,14 @@
41
41
  }
42
42
 
43
43
  &:hover {
44
- box-shadow: theme("digitv2.spacers.spacer0") -0.125rem theme("digitv2.spacers.spacer0") theme("digitv2.spacers.spacer0") theme("digitv2.lightTheme.text-primary") inset;
44
+ box-shadow: var(--digitv2-spacers-spacer0) -0.125rem var(--digitv2-spacers-spacer0) var(--digitv2-spacers-spacer0) var(--digitv2-lightTheme-text-primary) inset;
45
45
  }
46
46
 
47
47
  &:active {
48
- box-shadow: theme("digitv2.spacers.spacer0") -0.125rem theme("digitv2.spacers.spacer0") theme("digitv2.spacers.spacer0") #0B0C0C inset, theme("digitv2.spacers.spacer0") 0.063rem 0.175rem theme("digitv2.spacers.spacer0") #00000040;
48
+ box-shadow: var(--digitv2-spacers-spacer0) -0.125rem var(--digitv2-spacers-spacer0) var(--digitv2-spacers-spacer0) #0B0C0C inset, var(--digitv2-spacers-spacer0) 0.063rem 0.175rem var(--digitv2-spacers-spacer0) #00000040;
49
49
 
50
50
  h1{
51
- font-weight: theme("digitv2.fontWeight.bold");
51
+ font-weight: var(--digitv2-fontWeight-bold);
52
52
  }
53
53
  }
54
54
 
@@ -10,16 +10,16 @@
10
10
  }
11
11
 
12
12
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
13
- gap: theme("digitv2.spacers.spacer5");
13
+ gap: var(--digitv2-spacers-spacer5);
14
14
  }
15
15
 
16
16
  @media (max-aspect-ratio: 9/16) {
17
17
  @apply flex-col items-start;
18
- gap: theme("digitv2.spacers.spacer4");
18
+ gap: var(--digitv2-spacers-spacer4);
19
19
  }
20
20
 
21
21
  @media (min-aspect-ratio: 3/4) {
22
- gap: theme("digitv2.spacers.spacer6");
22
+ gap: var(--digitv2-spacers-spacer6);
23
23
  }
24
24
 
25
25
  .digit-text-block-wrap {
@@ -32,14 +32,14 @@
32
32
 
33
33
  &.vertical {
34
34
  @apply flex-col items-start;
35
- gap: theme("digitv2.spacers.spacer2");
35
+ gap: var(--digitv2-spacers-spacer2);
36
36
 
37
37
  .digit-text-block-wrap {
38
- margin-top: theme("digitv2.spacers.spacer0");
38
+ margin-top: var(--digitv2-spacers-spacer0);
39
39
  }
40
40
 
41
41
  .digit-radio-options-wrap {
42
- margin-top: theme("digitv2.spacers.spacer0");
42
+ margin-top: var(--digitv2-spacers-spacer0);
43
43
  }
44
44
 
45
45
  }
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  &.removeMargin{
65
- margin-bottom: theme("digitv2.spacers.spacer0");
65
+ margin-bottom: var(--digitv2-spacers-spacer0);
66
66
  }
67
67
 
68
68
  &.digit-formcomposer-fieldpair{