@egovernments/digit-ui-components-css 2.0.0-dev-11 → 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 +152 -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 +181 -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 +90 -89
  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 +21 -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
@@ -4,12 +4,12 @@
4
4
  .digit-upload-image-drawer {
5
5
  @apply w-full fixed left-0 right-0 flex-col;
6
6
  display: flex;
7
- background-color: theme("digitv2.lightTheme.paper-primary");
8
- border-radius: theme("digitv2.spacers.spacer2") theme("digitv2.spacers.spacer2") theme("digitv2.spacers.spacer0") theme("digitv2.spacers.spacer0");
7
+ background-color: var(--digitv2-lightTheme-paper-primary);
8
+ border-radius: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer0) var(--digitv2-spacers-spacer0);
9
9
  z-index: 1000;
10
- border-radius: theme("digitv2.spacers.spacer1");
11
- gap: theme("digitv2.spacers.spacer6");
12
- padding: theme("digitv2.spacers.spacer6");
10
+ border-radius: var(--digitv2-spacers-spacer1);
11
+ gap: var(--digitv2-spacers-spacer6);
12
+ padding: var(--digitv2-spacers-spacer6);
13
13
 
14
14
  .image-upload-options {
15
15
  @apply h-full;
@@ -20,19 +20,19 @@
20
20
  display: flex;
21
21
  flex: 1;
22
22
  justify-content: center;
23
- gap: theme("digitv2.spacers.spacer2") theme("digitv2.spacers.spacer0");
23
+ gap: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer0);
24
24
  }
25
25
 
26
26
  .upload-options-svg-wrap{
27
- width: theme("digitv2.spacers.spacer10");
28
- height: theme("digitv2.spacers.spacer10");
27
+ width: var(--digitv2-spacers-spacer10);
28
+ height: var(--digitv2-spacers-spacer10);
29
29
  cursor: pointer;
30
30
  }
31
31
 
32
32
  .upload-options-label {
33
33
  @include typography-button-large;
34
34
  @apply cursor-pointer;
35
- color: theme("digitv2.lightTheme.primary-1");
35
+ color: var(--digitv2-lightTheme-primary-1);
36
36
  }
37
37
  }
38
38
 
@@ -71,14 +71,14 @@
71
71
 
72
72
  .digit-uploader-wrap {
73
73
  @apply flex flex-col;
74
- gap: theme("digitv2.spacers.spacer3");
74
+ gap: var(--digitv2-spacers-spacer3);
75
75
 
76
76
  @media (max-width: 30rem) {
77
- gap: theme("digitv2.spacers.spacer2");
77
+ gap: var(--digitv2-spacers-spacer2);
78
78
  }
79
79
 
80
80
  &.error{
81
- gap:theme("digitv2.spacers.spacer1");
81
+ gap:var(--digitv2-spacers-spacer1);
82
82
  }
83
83
 
84
84
  &.inline{
@@ -88,13 +88,13 @@
88
88
  .digit-upload-label {
89
89
  @include typography-label;
90
90
  @apply text-left;
91
- margin: theme("digitv2.spacers.spacer0");
92
- color: theme("digitv2.lightTheme.text-primary");
91
+ margin: var(--digitv2-spacers-spacer0);
92
+ color: var(--digitv2-lightTheme-text-primary);
93
93
  }
94
94
 
95
95
  .digit-uploader-content {
96
96
  @apply flex w-full;
97
- gap: theme("digitv2.spacers.spacer3");
97
+ gap: var(--digitv2-spacers-spacer3);
98
98
 
99
99
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
100
100
  max-width: 27.5rem;
@@ -119,10 +119,10 @@
119
119
 
120
120
  .digit-uploader-content-uploadWidget {
121
121
  @apply flex flex-col w-full items-center justify-center max-w-full;
122
- gap: theme("digitv2.spacers.spacer4");
123
- border: 0.063rem solid theme("digitv2.lightTheme.generic-divider");
124
- background: theme("digitv2.lightTheme.paper-secondary");
125
- padding: theme("digitv2.spacers.spacer4");
122
+ gap: var(--digitv2-spacers-spacer4);
123
+ border: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
124
+ background: var(--digitv2-lightTheme-paper-secondary);
125
+ padding: var(--digitv2-spacers-spacer4);
126
126
  height: 9rem;
127
127
  border-style: dashed;
128
128
 
@@ -144,29 +144,29 @@
144
144
 
145
145
  .drag-drop-text {
146
146
  @include typography-body-s;
147
- font-family: theme("digitv2.fontFamily.sans");
148
- font-style: theme("digitv2.fontStyle.normal");
149
- font-weight: theme("digitv2.fontWeight.regular");
150
- line-height: theme("digitv2.lineHeight.lineheight2");
147
+ font-family: var(--digitv2-fontFamily-sans);
148
+ font-style: var(--digitv2-fontStyle-normal);
149
+ font-weight: var(--digitv2-fontWeight-regular);
150
+ line-height: var(--digitv2-lineHeight-lineheight2);
151
151
 
152
152
  @media (max-aspect-ratio: 9/16) {
153
153
  /* Media query for mobile */
154
- font-size: theme("digitv2.fontSize.body-s.mobile");
154
+ font-size: var( --digitv2-fontSize-body-s-mobile);
155
155
  }
156
156
 
157
157
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
158
158
  /* Media query for tablets */
159
- font-size: theme("digitv2.fontSize.body-s.tablet");
159
+ font-size: var( --digitv2-fontSize-body-s-tablet);
160
160
  }
161
161
 
162
162
  @media (min-aspect-ratio: 3/4) {
163
163
  /* Media query for desktop */
164
- font-size: theme("digitv2.fontSize.body-s.desktop");
164
+ font-size: var( --digitv2-fontSize-body-s-desktop);
165
165
  }
166
166
  @apply items-center;
167
- color: theme("digitv2.lightTheme.text-disabled");
167
+ color: var(--digitv2-lightTheme-text-disabled);
168
168
  display: flex;
169
- margin: theme("digitv2.spacers.spacer0");
169
+ margin: var(--digitv2-spacers-spacer0);
170
170
 
171
171
  @media (max-width: 30rem) {
172
172
  @apply flex-col;
@@ -175,39 +175,39 @@
175
175
 
176
176
  .drag-drop-link{
177
177
  @include typography-link-S;
178
- margin-left: theme("digitv2.spacers.spacer1");
179
- color: theme("digitv2.lightTheme.primary-1");
178
+ margin-left: var(--digitv2-spacers-spacer1);
179
+ color: var(--digitv2-lightTheme-primary-1);
180
180
  cursor: pointer;
181
181
  }
182
182
 
183
183
  &.error {
184
184
  border-style: dashed !important;
185
- border: 0.094rem solid theme("digitv2.lightTheme.alert-error");
185
+ border: 0.094rem solid var(--digitv2-lightTheme-alert-error);
186
186
  }
187
187
  }
188
188
 
189
189
  .digit-uploadWidget-label {
190
190
  @include typography-body-s;
191
- font-family: theme("digitv2.fontFamily.sans");
192
- font-style: theme("digitv2.fontStyle.normal");
193
- font-weight: theme("digitv2.fontWeight.regular");
194
- line-height: theme("digitv2.lineHeight.lineheight2");
191
+ font-family: var(--digitv2-fontFamily-sans);
192
+ font-style: var(--digitv2-fontStyle-normal);
193
+ font-weight: var(--digitv2-fontWeight-regular);
194
+ line-height: var(--digitv2-lineHeight-lineheight2);
195
195
 
196
196
  @media (max-aspect-ratio: 9/16) {
197
197
  /* Media query for mobile */
198
- font-size: theme("digitv2.fontSize.body-s.mobile");
198
+ font-size: var( --digitv2-fontSize-body-s-mobile);
199
199
  }
200
200
 
201
201
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
202
202
  /* Media query for tablets */
203
- font-size: theme("digitv2.fontSize.body-s.tablet");
203
+ font-size: var( --digitv2-fontSize-body-s-tablet);
204
204
  }
205
205
 
206
206
  @media (min-aspect-ratio: 3/4) {
207
207
  /* Media query for desktop */
208
- font-size: theme("digitv2.fontSize.body-s.desktop");
208
+ font-size: var( --digitv2-fontSize-body-s-desktop);
209
209
  }
210
- color: theme("digitv2.lightTheme.text-disabled");
210
+ color: var(--digitv2-lightTheme-text-disabled);
211
211
  }
212
212
 
213
213
  .digit-upload {
@@ -216,43 +216,43 @@
216
216
 
217
217
  .digit-uploader-input {
218
218
  @include typography-body-s;
219
- font-family: theme("digitv2.fontFamily.sans");
220
- font-style: theme("digitv2.fontStyle.normal");
221
- font-weight: theme("digitv2.fontWeight.regular");
222
- line-height: theme("digitv2.lineHeight.lineheight2");
219
+ font-family: var(--digitv2-fontFamily-sans);
220
+ font-style: var(--digitv2-fontStyle-normal);
221
+ font-weight: var(--digitv2-fontWeight-regular);
222
+ line-height: var(--digitv2-lineHeight-lineheight2);
223
223
 
224
224
  @media (max-aspect-ratio: 9/16) {
225
225
  /* Media query for mobile */
226
- font-size: theme("digitv2.fontSize.body-s.mobile");
226
+ font-size: var( --digitv2-fontSize-body-s-mobile);
227
227
  }
228
228
 
229
229
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
230
230
  /* Media query for tablets */
231
- font-size: theme("digitv2.fontSize.body-s.tablet");
231
+ font-size: var( --digitv2-fontSize-body-s-tablet);
232
232
  }
233
233
 
234
234
  @media (min-aspect-ratio: 3/4) {
235
235
  /* Media query for desktop */
236
- font-size: theme("digitv2.fontSize.body-s.desktop");
236
+ font-size: var( --digitv2-fontSize-body-s-desktop);
237
237
  }
238
238
  @apply h-10;
239
239
  background-color: transparent;
240
- border: 0.063rem solid theme("digitv2.lightTheme.text-secondary");
241
- padding: theme("digitv2.spacers.spacer2");
242
- color: theme("digitv2.lightTheme.text-primary") !important;
240
+ border: 0.063rem solid var(--digitv2-lightTheme-text-secondary);
241
+ padding: var(--digitv2-spacers-spacer2);
242
+ color: var(--digitv2-lightTheme-text-primary) !important;
243
243
 
244
244
  &:focus {
245
245
  @apply outline-none;
246
246
  }
247
247
 
248
248
  &.error {
249
- border: 0.094rem solid theme("digitv2.lightTheme.alert-error");
249
+ border: 0.094rem solid var(--digitv2-lightTheme-alert-error);
250
250
  }
251
251
 
252
252
  }
253
253
 
254
254
  input::placeholder {
255
- color: theme("digitv2.lightTheme.text-disabled") !important;
255
+ color: var(--digitv2-lightTheme-text-disabled) !important;
256
256
  }
257
257
 
258
258
  .digit-upload,
@@ -279,7 +279,7 @@
279
279
 
280
280
  .digit-img-container {
281
281
  @apply flex flex-wrap max-w-full;
282
- gap: theme("digitv2.spacers.spacer3");
282
+ gap: var(--digitv2-spacers-spacer3);
283
283
 
284
284
  .preview-container {
285
285
  @apply relative cursor-pointer h-auto;
@@ -311,7 +311,7 @@
311
311
  }
312
312
 
313
313
  .digit-docupload-icon{
314
- border: 0.063rem solid theme("digitv2.lightTheme.generic-divider");
314
+ border: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
315
315
 
316
316
  &:hover{
317
317
  box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
@@ -321,7 +321,7 @@
321
321
  .preview-file-name{
322
322
  @include typography-body-xs;
323
323
  @apply whitespace-pre-wrap break-words;
324
- color: theme("digitv2.lightTheme.text-secondary");
324
+ color: var(--digitv2-lightTheme-text-secondary);
325
325
  word-break: break-word;
326
326
  cursor: default;
327
327
  }
@@ -337,7 +337,7 @@
337
337
 
338
338
  &.error {
339
339
  img {
340
- border: 0.063rem solid theme("digitv2.lightTheme.alert-error");
340
+ border: 0.063rem solid var(--digitv2-lightTheme-alert-error);
341
341
  }
342
342
  }
343
343
 
@@ -385,49 +385,49 @@
385
385
 
386
386
  .digit-uploader-close-icon {
387
387
  @apply absolute top-0 right-0 w-6 h-6 cursor-pointer;
388
- background-color: theme("digitv2.lightTheme.primary-2");
389
- padding: theme("digitv2.spacers.spacer1");
388
+ background-color: var(--digitv2-lightTheme-primary-2);
389
+ padding: var(--digitv2-spacers-spacer1);
390
390
 
391
391
  &.error {
392
- background-color: theme("digitv2.lightTheme.alert-error");
392
+ background-color: var(--digitv2-lightTheme-alert-error);
393
393
  }
394
394
  }
395
395
 
396
396
  .digit-upload-helptext {
397
397
  @include typography-body-s;
398
- font-family: theme("digitv2.fontFamily.sans");
399
- font-style: theme("digitv2.fontStyle.normal");
400
- font-weight: theme("digitv2.fontWeight.regular");
401
- line-height: theme("digitv2.lineHeight.lineheight2");
398
+ font-family: var(--digitv2-fontFamily-sans);
399
+ font-style: var(--digitv2-fontStyle-normal);
400
+ font-weight: var(--digitv2-fontWeight-regular);
401
+ line-height: var(--digitv2-lineHeight-lineheight2);
402
402
 
403
403
  @media (max-aspect-ratio: 9/16) {
404
404
  /* Media query for mobile */
405
- font-size: theme("digitv2.fontSize.body-s.mobile");
405
+ font-size: var( --digitv2-fontSize-body-s-mobile);
406
406
  }
407
407
 
408
408
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
409
409
  /* Media query for tablets */
410
- font-size: theme("digitv2.fontSize.body-s.tablet");
410
+ font-size: var( --digitv2-fontSize-body-s-tablet);
411
411
  }
412
412
 
413
413
  @media (min-aspect-ratio: 3/4) {
414
414
  /* Media query for desktop */
415
- font-size: theme("digitv2.fontSize.body-s.desktop");
415
+ font-size: var( --digitv2-fontSize-body-s-desktop);
416
416
  }
417
417
  @apply text-left;
418
- margin: theme("digitv2.spacers.spacer0");
419
- color: theme("digitv2.lightTheme.text-secondary");
418
+ margin: var(--digitv2-spacers-spacer0);
419
+ color: var(--digitv2-lightTheme-text-secondary);
420
420
  }
421
421
 
422
422
  .digit-uploaded-file-container {
423
423
  @apply items-start relative w-full max-w-full flex-wrap;
424
424
  display: flex !important;
425
- gap: theme("digitv2.spacers.spacer3");
426
- border: 0.063rem solid theme("digitv2.lightTheme.generic-divider");
427
- background-color: theme("digitv2.lightTheme.paper-secondary");
428
- margin: theme("digitv2.spacers.spacer0");
429
- padding: theme("digitv2.spacers.spacer4");
430
- border-radius: theme("digitv2.spacers.spacer0");
425
+ gap: var(--digitv2-spacers-spacer3);
426
+ border: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
427
+ background-color: var(--digitv2-lightTheme-paper-secondary);
428
+ margin: var(--digitv2-spacers-spacer0);
429
+ padding: var(--digitv2-spacers-spacer4);
430
+ border-radius: var(--digitv2-spacers-spacer0);
431
431
 
432
432
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
433
433
  min-width: 18.75rem;
@@ -444,30 +444,30 @@
444
444
  .uploaded-file-container-sub {
445
445
  @apply items-center cursor-pointer;
446
446
  display: flex !important;
447
- gap: theme("digitv2.spacers.spacer2");
447
+ gap: var(--digitv2-spacers-spacer2);
448
448
 
449
449
  .uploaded-file-details {
450
450
  @include typography-heading-s;
451
- font-family: theme("digitv2.fontFamily.sans");
452
- font-style: theme("digitv2.fontStyle.normal");
453
- font-weight: theme("digitv2.fontWeight.bold");
454
- line-height: theme("digitv2.lineHeight.lineheight1");
451
+ font-family: var(--digitv2-fontFamily-sans);
452
+ font-style: var(--digitv2-fontStyle-normal);
453
+ font-weight: var(--digitv2-fontWeight-bold);
454
+ line-height: var(--digitv2-lineHeight-lineheight1);
455
455
 
456
456
  @media (max-aspect-ratio: 9/16) {
457
457
  /* Media query for mobile */
458
- font-size: theme("digitv2.fontSize.heading-s.mobile");
458
+ font-size: var(--digitv2-fontSize-heading-s-mobile);
459
459
  }
460
460
 
461
461
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
462
462
  /* Media query for tablets */
463
- font-size: theme("digitv2.fontSize.heading-s.tablet");
463
+ font-size: var(--digitv2-fontSize-heading-s-tablet);
464
464
  }
465
465
 
466
466
  @media (min-aspect-ratio: 3/4) {
467
467
  /* Media query for desktop */
468
- font-size: theme("digitv2.fontSize.heading-s.desktop");
468
+ font-size: var(--digitv2-fontSize-heading-s-desktop);
469
469
  }
470
- color: theme("digitv2.lightTheme.text-secondary");
470
+ color: var(--digitv2-lightTheme-text-secondary);
471
471
  }
472
472
 
473
473
  svg {
@@ -478,19 +478,19 @@
478
478
  .digit-upload-and-download-button {
479
479
  @apply flex-wrap;
480
480
  display: flex !important;
481
- gap: theme("digitv2.spacers.spacer4");
481
+ gap: var(--digitv2-spacers-spacer4);
482
482
  margin-left: auto;
483
- margin-right: theme("digitv2.spacers.spacer6");
483
+ margin-right: var(--digitv2-spacers-spacer6);
484
484
 
485
485
  &.error-card{
486
- margin-right: theme("digitv2.spacers.spacer0");
486
+ margin-right: var(--digitv2-spacers-spacer0);
487
487
  }
488
488
  }
489
489
 
490
490
  .digit-uploadWidget-close-icon {
491
491
  @apply absolute top-0 right-0 w-6 h-6 items-center cursor-pointer;
492
- background: theme("digitv2.lightTheme.generic-background");
493
- border: 0.063rem solid theme("digitv2.lightTheme.generic-divider");
492
+ background: var(--digitv2-lightTheme-generic-background);
493
+ border: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
494
494
  display: flex !important;
495
495
  justify-content: center;
496
496
  border-top: none;
@@ -502,11 +502,11 @@
502
502
  }
503
503
 
504
504
  &.error {
505
- border: 0.063rem solid theme("digitv2.lightTheme.alert-error");
505
+ border: 0.063rem solid var(--digitv2-lightTheme-alert-error);
506
506
 
507
507
  .digit-uploadWidget-close-icon {
508
- background: theme("digitv2.lightTheme.alert-error");
509
- border: 0.063rem solid theme("digitv2.lightTheme.alert-error");
508
+ background: var(--digitv2-lightTheme-alert-error);
509
+ border: 0.063rem solid var(--digitv2-lightTheme-alert-error);
510
510
  border-top: none;
511
511
  border-right: none;
512
512
  }
@@ -515,15 +515,15 @@
515
515
 
516
516
  .uploaded-file-details {
517
517
  @apply flex-col;
518
- color: theme("digitv2.lightTheme.alert-error");
518
+ color: var(--digitv2-lightTheme-alert-error);
519
519
  display: flex;
520
- gap: theme("digitv2.spacers.spacer1");
520
+ gap: var(--digitv2-spacers-spacer1);
521
521
  }
522
522
  }
523
523
 
524
524
  .uploadWidget-error-card {
525
525
  @apply w-full max-w-full;
526
- margin: theme("digitv2.spacers.spacer0");
526
+ margin: var(--digitv2-spacers-spacer0);
527
527
  }
528
528
  }
529
529
  }
@@ -531,17 +531,17 @@
531
531
  .image-background {
532
532
  @apply fixed top-0 left-0 right-0 bottom-0 w-full;
533
533
  height: 100vh;
534
- background-color: theme("digitv2.lightTheme.text-color-primary");
534
+ background-color: var(--digitv2-lightTheme-text-color-primary);
535
535
  }
536
536
 
537
537
  .digit-image-uploader {
538
538
  @apply flex-col items-center cursor-pointer;
539
539
  display: flex;
540
- border: 0.063rem solid theme("digitv2.lightTheme.generic-inputborder");
540
+ border: 0.063rem solid var(--digitv2-lightTheme-generic-inputborder);
541
541
  background-color: transparent;
542
542
  justify-content: center;
543
543
  gap: 0.188rem;
544
- padding: theme("digitv2.spacers.spacer10");
544
+ padding: var(--digitv2-spacers-spacer10);
545
545
 
546
546
  width: 100%;
547
547
 
@@ -559,7 +559,7 @@
559
559
 
560
560
  .upload-image-label {
561
561
  @include typography-body-xs;
562
- color: theme("digitv2.lightTheme.primary-1");
562
+ color: var(--digitv2-lightTheme-primary-1);
563
563
  }
564
564
  }
565
565
 
@@ -569,10 +569,10 @@
569
569
  left: 50%;
570
570
  top: 25%;
571
571
  transform: translateX(-50%);
572
- gap: theme("digitv2.spacers.spacer6");
573
- background-color: theme("digitv2.lightTheme.paper-primary");
574
- border-radius: theme("digitv2.spacers.spacer1");
575
- padding: theme("digitv2.spacers.spacer6");
572
+ gap: var(--digitv2-spacers-spacer6);
573
+ background-color: var(--digitv2-lightTheme-paper-primary);
574
+ border-radius: var(--digitv2-spacers-spacer1);
575
+ padding: var(--digitv2-spacers-spacer6);
576
576
 
577
577
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
578
578
  max-height: 31.25rem;
@@ -610,7 +610,7 @@
610
610
  }
611
611
 
612
612
  video {
613
- border: 0.063rem solid theme("digitv2.lightTheme.text-secondary");
613
+ border: 0.063rem solid var(--digitv2-lightTheme-text-secondary);
614
614
  width: 100% !important;
615
615
  height: 100% !important;
616
616
  max-width: 100% !important;
@@ -618,12 +618,12 @@
618
618
  }
619
619
 
620
620
  .cancel-capture-button-wrap {
621
- gap: theme("digitv2.spacers.spacer6");
621
+ gap: var(--digitv2-spacers-spacer6);
622
622
  margin-left: auto;
623
623
 
624
624
  @media (max-width: 30rem) {
625
625
  justify-content: space-between;
626
- margin-left: theme("digitv2.spacers.spacer0");
626
+ margin-left: var(--digitv2-spacers-spacer0);
627
627
  flex-direction: column;
628
628
 
629
629
  button {
@@ -635,24 +635,24 @@
635
635
 
636
636
  .capture-heading {
637
637
  @include typography-heading-m;
638
- font-family: theme("digitv2.fontFamily.sans");
639
- font-style: theme("digitv2.fontStyle.normal");
640
- font-weight: theme("digitv2.fontWeight.bold");
641
- line-height: theme("digitv2.lineHeight.lineheight1");
638
+ font-family: var(--digitv2-fontFamily-sans);
639
+ font-style: var(--digitv2-fontStyle-normal);
640
+ font-weight: var(--digitv2-fontWeight-bold);
641
+ line-height: var(--digitv2-lineHeight-lineheight1);
642
642
 
643
643
  @media (max-aspect-ratio: 9/16) {
644
644
  /* Media query for mobile */
645
- font-size: theme("digitv2.fontSize.heading-m.mobile");
645
+ font-size: var(--digitv2-fontSize-heading-m-mobile);
646
646
  }
647
647
 
648
648
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
649
649
  /* Media query for tablets */
650
- font-size: theme("digitv2.fontSize.heading-m.tablet");
650
+ font-size: var(--digitv2-fontSize-heading-m-tablet);
651
651
  }
652
652
 
653
653
  @media (min-aspect-ratio: 3/4) {
654
654
  /* Media query for desktop */
655
- font-size: theme("digitv2.fontSize.heading-m.desktop");
655
+ font-size: var(--digitv2-fontSize-heading-m-desktop);
656
656
  }
657
657
  @apply items-center;
658
658
  color: #000000;
@@ -696,19 +696,19 @@
696
696
  flex-direction: column;
697
697
 
698
698
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
699
- gap:theme("digitv2.spacers.spacer5");
699
+ gap:var(--digitv2-spacers-spacer5);
700
700
  }
701
701
 
702
702
  @media (max-width: 30rem) {
703
- gap:theme("digitv2.spacers.spacer4");
703
+ gap:var(--digitv2-spacers-spacer4);
704
704
  }
705
705
 
706
706
  @media (min-width: 48rem) {
707
- gap:theme("digitv2.spacers.spacer6");
707
+ gap:var(--digitv2-spacers-spacer6);
708
708
  }
709
709
 
710
710
  .upload-filecomposer-header{
711
- color: theme("digitv2.lightTheme.text-primary") !important;
711
+ color: var(--digitv2-lightTheme-text-primary) !important;
712
712
  }
713
713
 
714
714
  }