@egovernments/digit-ui-components-css 0.2.3 → 2.0.0-dev-02

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 (70) hide show
  1. package/dist/index.css +3 -15427
  2. package/package.json +30 -35
  3. package/src/digitv2/components/FormComposerV2.scss +6 -5
  4. package/src/digitv2/components/accordionV2.scss +59 -59
  5. package/src/digitv2/components/alertCardV2.scss +43 -43
  6. package/src/digitv2/components/backLinkV2.scss +11 -8
  7. package/src/digitv2/components/bodyContainerV2.scss +2 -1
  8. package/src/digitv2/components/bottomSheetV2.scss +22 -19
  9. package/src/digitv2/components/breadcrumbV2.scss +27 -25
  10. package/src/digitv2/components/buttonsV2.scss +72 -72
  11. package/src/digitv2/components/cardV2.scss +18 -17
  12. package/src/digitv2/components/cardbasedoptionsV2.scss +4 -1
  13. package/src/digitv2/components/cardlabelV2.scss +4 -3
  14. package/src/digitv2/components/checkboxV2.scss +37 -32
  15. package/src/digitv2/components/chipV2.scss +46 -43
  16. package/src/digitv2/components/dividerV2.scss +7 -4
  17. package/src/digitv2/components/errorMessageV2.scss +15 -15
  18. package/src/digitv2/components/fieldV1.scss +65 -64
  19. package/src/digitv2/components/fileUploadV2.scss +129 -126
  20. package/src/digitv2/components/filterCardV2.scss +54 -51
  21. package/src/digitv2/components/footerV2.scss +14 -13
  22. package/src/digitv2/components/formCardV2.scss +52 -49
  23. package/src/digitv2/components/hamburgerV2.scss +145 -142
  24. package/src/digitv2/components/headerV2.scss +60 -57
  25. package/src/digitv2/components/headerdropdownV2.scss +72 -69
  26. package/src/digitv2/components/infobuttonV2.scss +18 -15
  27. package/src/digitv2/components/labelFieldPairV2.scss +11 -8
  28. package/src/digitv2/components/landingpagecardV2.scss +73 -70
  29. package/src/digitv2/components/loaderV2.scss +7 -4
  30. package/src/digitv2/components/menuCardV2.scss +34 -31
  31. package/src/digitv2/components/metricCardV2.scss +55 -52
  32. package/src/digitv2/components/mobileNumberV2.scss +10 -10
  33. package/src/digitv2/components/multiSelectDropdownV2.scss +170 -168
  34. package/src/digitv2/components/otpInputV2.scss +29 -26
  35. package/src/digitv2/components/panelCardV2.scss +46 -43
  36. package/src/digitv2/components/panelV2.scss +34 -31
  37. package/src/digitv2/components/popUpV2.scss +94 -91
  38. package/src/digitv2/components/radiobtnV2.scss +24 -23
  39. package/src/digitv2/components/selectDropdownV2.scss +200 -197
  40. package/src/digitv2/components/selectionTagV2.scss +32 -29
  41. package/src/digitv2/components/sidePanelV2.scss +51 -48
  42. package/src/digitv2/components/sidenavV2.scss +119 -116
  43. package/src/digitv2/components/stepperV2.scss +61 -58
  44. package/src/digitv2/components/summaryCardFieldPairV2.scss +25 -22
  45. package/src/digitv2/components/summaryCardV2.scss +30 -27
  46. package/src/digitv2/components/switchV2.scss +34 -31
  47. package/src/digitv2/components/tabV2.scss +29 -26
  48. package/src/digitv2/components/tableV2.scss +152 -149
  49. package/src/digitv2/components/tagV2.scss +27 -24
  50. package/src/digitv2/components/textInputV2.scss +101 -101
  51. package/src/digitv2/components/textareaV2.scss +23 -20
  52. package/src/digitv2/components/textblockV2.scss +31 -28
  53. package/src/digitv2/components/timelineV2.scss +64 -61
  54. package/src/digitv2/components/toastV2.scss +28 -25
  55. package/src/digitv2/components/toggleV2.scss +55 -46
  56. package/src/digitv2/components/tooltipwrapperV2.scss +97 -94
  57. package/src/digitv2/components/treeSelectV2.scss +64 -55
  58. package/src/digitv2/index.scss +136 -134
  59. package/src/digitv2/pages/employee/boundaryFilter.scss +7 -7
  60. package/src/digitv2/pages/employee/inboxsearchcomposer.scss +48 -48
  61. package/src/digitv2/pages/employee/index.scss +4 -4
  62. package/src/digitv2/pages/employee/reactdatatable.scss +13 -13
  63. package/src/digitv2/pages/employee/workbench.scss +29 -28
  64. package/src/digitv2/typography.scss +633 -640
  65. package/src/index.scss +28 -19
  66. package/src/pages/employee/index.scss +26 -26
  67. package/src/pages/employee/login.scss +4 -4
  68. package/src/theme-variables.css +137 -0
  69. package/CHANGELOG.md +0 -260
  70. package/dist/index.min.css +0 -7
@@ -1,4 +1,5 @@
1
- @import url("../index.scss");
1
+ @import './theme-variables.css';
2
+ @import '../typography.scss';
2
3
 
3
4
  .digit-card {
4
5
  @apply bg-white m-sm px-md pt-md pb-lg shadow-card;
@@ -178,7 +179,7 @@
178
179
  .submit-bar {
179
180
  @extend .light-primary-button;
180
181
  @apply h-10 text-center w-full outline-none;
181
- box-shadow: inset 0px -2px 0px theme(colors.text.primary);
182
+ box-shadow: inset 0px -2px 0px theme("colors.text.primary");
182
183
  cursor: pointer;
183
184
 
184
185
  &:focus {
@@ -335,7 +336,7 @@
335
336
 
336
337
  .digit-card-section-header {
337
338
  @apply text-heading-m font-bold;
338
- color: theme(digitv2.lightTheme.text-primary);
339
+ color: theme("digitv2.lightTheme.text-primary");
339
340
  }
340
341
 
341
342
  .digit-card-search-heading {
@@ -389,16 +390,16 @@
389
390
 
390
391
  width: 100%;
391
392
  height: auto;
392
- background-color: theme(digitv2.lightTheme.paper-primary);
393
- border-radius: theme(digitv2.spacers.spacer1);
393
+ background-color: theme("digitv2.lightTheme.paper-primary");
394
+ border-radius: theme("digitv2.spacers.spacer1");
394
395
  box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
395
396
  display: flex;
396
- gap: theme(digitv2.spacers.spacer4);
397
+ gap: theme("digitv2.spacers.spacer4");
397
398
  flex-direction: column;
398
399
 
399
400
  &.secondary {
400
- background-color: theme(digitv2.lightTheme.paper-secondary);
401
- border: 0.063em solid theme(digitv2.lightTheme.generic-divider);
401
+ background-color: theme("digitv2.lightTheme.paper-secondary");
402
+ border: 0.063em solid theme("digitv2.lightTheme.generic-divider");
402
403
  }
403
404
 
404
405
  &.secondary.search,
@@ -460,20 +461,20 @@
460
461
  }
461
462
 
462
463
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
463
- padding: theme(digitv2.spacers.spacer5);
464
+ padding: theme("digitv2.spacers.spacer5");
464
465
  }
465
466
 
466
467
  @media (min-aspect-ratio: 3/4) {
467
- padding: theme(digitv2.spacers.spacer6);
468
+ padding: theme("digitv2.spacers.spacer6");
468
469
  }
469
470
 
470
471
  @media (max-aspect-ratio: 9/16) {
471
- padding: theme(digitv2.spacers.spacer4);
472
+ padding: theme("digitv2.spacers.spacer4");
472
473
  }
473
474
 
474
475
  &.action {
475
- padding: theme(digitv2.spacers.spacer6);
476
- gap: theme(digitv2.spacers.spacer6);
476
+ padding: theme("digitv2.spacers.spacer6");
477
+ gap: theme("digitv2.spacers.spacer6");
477
478
 
478
479
  button {
479
480
  width: 100%;
@@ -483,7 +484,7 @@
483
484
  &.summarycard{
484
485
 
485
486
  .digit-text-block-wrap .digit-text-block-header-content .digit-text-block-subheader{
486
- color: theme(digitv2.lightTheme.primary-2);
487
+ color: theme("digitv2.lightTheme.primary-2");
487
488
  }
488
489
  }
489
490
 
@@ -498,7 +499,7 @@
498
499
  }
499
500
  }
500
501
  .titleStyle{
501
- color: theme(digitv2.lightTheme.primary-2);
502
- font-weight: theme(digitv2.fontWeight.bold);
503
- font-size: theme(digitv2.spacers.spacer10);
502
+ color: theme("digitv2.lightTheme.primary-2");
503
+ font-weight: theme("digitv2.fontWeight.bold");
504
+ font-size: theme("digitv2.spacers.spacer10");
504
505
  }
@@ -1,3 +1,6 @@
1
+ @import './theme-variables.css';
2
+ @import '../typography.scss';
3
+
1
4
  .digit-card-based-options {
2
5
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
3
6
  @apply bg-white mb-md px-sm py-md mx-sm rounded w-full;
@@ -25,7 +28,7 @@
25
28
  svg {
26
29
  height: 20px;
27
30
  width: 20px;
28
- fill: theme(colors.primary.main);
31
+ fill: theme("colors.primary.main");
29
32
  margin: auto;
30
33
  }
31
34
  }
@@ -1,8 +1,9 @@
1
- @import url("../typography.scss");
1
+ @import './theme-variables.css';
2
+ @import '../typography.scss';
2
3
 
3
4
  .digit-card-label {
4
- font-weight: theme(digitv2.fontWeight.regular);
5
+ font-weight: theme("digitv2.fontWeight.regular");
5
6
  font-size: 16px;
6
7
  line-height: 19px;
7
- color: theme(digitv2.lightTheme.text-primary);
8
+ color: theme("digitv2.lightTheme.text-primary");
8
9
  }
@@ -1,14 +1,15 @@
1
- @import url("../index.scss");
1
+ @import './theme-variables.css';
2
+ @import '../typography.scss';
2
3
 
3
4
  .digit-checkbox-container {
4
5
  @apply flex mb-md relative;
5
- gap: theme(digitv2.spacers.spacer4);
6
+ gap: theme("digitv2.spacers.spacer4");
6
7
 
7
8
  input {
8
9
  @apply opacity-0 absolute cursor-pointer z-10;
9
10
  @extend .light-input-border;
10
- width: theme(digitv2.spacers.spacer8);
11
- height: theme(digitv2.spacers.spacer8);
11
+ width: theme("digitv2.spacers.spacer8");
12
+ height: theme("digitv2.spacers.spacer8");
12
13
  left: -15%;
13
14
  }
14
15
 
@@ -18,8 +19,8 @@
18
19
 
19
20
  .digit-custom-checkbox {
20
21
  @apply flex items-center border border-solid border-text-secondary justify-center;
21
- width: theme(digitv2.spacers.spacer6);
22
- height: theme(digitv2.spacers.spacer6);
22
+ width: theme("digitv2.spacers.spacer6");
23
+ height: theme("digitv2.spacers.spacer6");
23
24
 
24
25
  img,
25
26
  svg {
@@ -32,11 +33,11 @@
32
33
 
33
34
  &:hover {
34
35
  @apply border-2;
35
- border-color: theme(digitv2.lightTheme.primary-1);
36
+ border-color: theme("digitv2.lightTheme.primary-1");
36
37
  }
37
38
 
38
39
  &.intermediate {
39
- border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
40
+ border: 0.125rem solid theme("digitv2.lightTheme.primary-1");
40
41
  }
41
42
  }
42
43
 
@@ -46,15 +47,15 @@
46
47
 
47
48
  input:hover~.digit-custom-checkbox {
48
49
  @apply border-2;
49
- border-color: theme(digitv2.lightTheme.primary-1);
50
+ border-color: theme("digitv2.lightTheme.primary-1");
50
51
  }
51
52
 
52
53
  input:hover~.digit-custom-checkbox.intermediate{
53
- border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
54
+ border: 0.125rem solid theme("digitv2.lightTheme.primary-1");
54
55
  }
55
56
 
56
57
  input:checked~.digit-custom-checkbox {
57
- border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
58
+ border: 0.125rem solid theme("digitv2.lightTheme.primary-1");
58
59
  }
59
60
 
60
61
 
@@ -64,65 +65,69 @@
64
65
 
65
66
  input:checked~.digit-custom-checkbox svg {
66
67
  @apply opacity-100;
67
- width: theme(digitv2.spacers.spacer4);
68
- height: theme(digitv2.spacers.spacer4);
68
+ width: theme("digitv2.spacers.spacer4");
69
+ height: theme("digitv2.spacers.spacer4");
69
70
  }
70
71
 
71
72
  .intermediate-square {
72
- width: theme(digitv2.spacers.spacer4);
73
- height: theme(digitv2.spacers.spacer4);
74
- background-color: theme(digitv2.lightTheme.primary-1);
73
+ width: theme("digitv2.spacers.spacer4");
74
+ height: theme("digitv2.spacers.spacer4");
75
+ background-color: theme("digitv2.lightTheme.primary-1");
75
76
  display: block;
76
77
  }
77
78
 
78
79
  .label {
79
- @extend .typography.body-s;
80
- font-family: theme(digitv2.fontFamily.sans);
81
- font-style: theme(digitv2.fontStyle.normal);
82
- font-weight: theme(digitv2.fontWeight.regular);
83
- line-height: theme(digitv2.lineHeight.lineheight2);
80
+ @include typography-body-s;
81
+ font-family: theme("digitv2.fontFamily.sans");
82
+ font-style: theme("digitv2.fontStyle.normal");
83
+ font-weight: theme("digitv2.fontWeight.regular");
84
+ line-height: theme("digitv2.lineHeight.lineheight2");
84
85
 
85
86
  @media (max-aspect-ratio: 9/16) {
86
87
  /* Media query for mobile */
87
- font-size: theme(digitv2.fontSize.body-s.mobile);
88
+ font-size: theme("digitv2.fontSize.body-s.mobile");
88
89
  }
89
90
 
90
91
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
91
92
  /* Media query for tablets */
92
- font-size: theme(digitv2.fontSize.body-s.tablet);
93
+ font-size: theme("digitv2.fontSize.body-s.tablet");
93
94
  }
94
95
 
95
96
  @media (min-aspect-ratio: 3/4) {
96
97
  /* Media query for desktop */
97
- font-size: theme(digitv2.fontSize.body-s.desktop);
98
+ font-size: theme("digitv2.fontSize.body-s.desktop");
98
99
  }
99
100
 
100
101
  @apply text-left;
101
102
  word-break: break-word;
102
- letter-spacing: theme(digitv2.spacers.spacer0);
103
- color: theme(digitv2.lightTheme.text-primary) !important;
103
+ letter-spacing: theme("digitv2.spacers.spacer0");
104
+ color: theme("digitv2.lightTheme.text-primary") !important;
104
105
  display: flex;
105
106
  align-items: center;
106
107
  }
107
108
 
108
109
  &.disabled {
109
110
  .digit-custom-checkbox {
110
- border: 0.063rem solid theme(digitv2.lightTheme.text-disabled);
111
+ border: 0.063rem solid theme("digitv2.lightTheme.text-disabled");
111
112
  }
112
113
 
113
114
  input:checked~.digit-custom-checkbox {
114
- border: 0.125rem solid theme(digitv2.lightTheme.text-disabled);
115
+ border: 0.125rem solid theme("digitv2.lightTheme.text-disabled");
115
116
  }
116
117
 
117
118
  .digit-custom-checkbox.intermediate{
118
- border: 0.125rem solid theme(digitv2.lightTheme.text-disabled);
119
+ border: 0.125rem solid theme("digitv2.lightTheme.text-disabled");
119
120
  }
120
121
 
121
122
  .intermediate-square {
122
- width: theme(digitv2.spacers.spacer4);
123
- height: theme(digitv2.spacers.spacer4);
124
- background-color: theme(digitv2.lightTheme.text-disabled);
123
+ width: theme("digitv2.spacers.spacer4");
124
+ height: theme("digitv2.spacers.spacer4");
125
+ background-color: theme("digitv2.lightTheme.text-disabled");
125
126
  display: block;
126
127
  }
127
128
  }
129
+
130
+ &.noMargin{
131
+ margin-bottom: theme("digitv2.spacers.spacer0");
132
+ }
128
133
  }
@@ -1,12 +1,15 @@
1
+ @import './theme-variables.css';
2
+ @import '../typography.scss';
3
+
1
4
  .digit-tag-error-container {
2
5
  @apply flex flex-col max-w-full;
3
- gap: theme(digitv2.spacers.spacer1);
6
+ gap: theme("digitv2.spacers.spacer1");
4
7
  }
5
8
 
6
9
  .digit-tag-container {
7
10
  @apply flex flex-wrap mb-md items-center;
8
- gap: theme(digitv2.spacers.spacer2);
9
- margin-top: theme(digitv2.spacers.spacer2);
11
+ gap: theme("digitv2.spacers.spacer2");
12
+ margin-top: theme("digitv2.spacers.spacer2");
10
13
 
11
14
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
12
15
  /* Media query for tablets */
@@ -28,21 +31,21 @@
28
31
 
29
32
  .digit-tag {
30
33
  @apply inline-flex items-center h-10 w-full max-w-full;
31
- padding: theme(digitv2.spacers.spacer2);
32
- gap: theme(digitv2.spacers.spacer2);
33
- border-radius: theme(digitv2.spacers.spacer1);
34
- background: theme(digitv2.lightTheme.generic-background);
35
- margin: theme(digitv2.spacers.spacer0);
36
- border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
34
+ padding: theme("digitv2.spacers.spacer2");
35
+ gap: theme("digitv2.spacers.spacer2");
36
+ border-radius: theme("digitv2.spacers.spacer1");
37
+ background: theme("digitv2.lightTheme.generic-background");
38
+ margin: theme("digitv2.spacers.spacer0");
39
+ border: 0.063rem solid theme("digitv2.lightTheme.generic-divider");
37
40
 
38
41
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
39
42
  /* Media query for tablets */
40
- height: theme(digitv2.spacers.spacer9);
43
+ height: theme("digitv2.spacers.spacer9");
41
44
  }
42
45
 
43
46
  @media (max-aspect-ratio: 9/16) {
44
47
  /* Media query for mobile */
45
- height: theme(digitv2.spacers.spacer9);
48
+ height: theme("digitv2.spacers.spacer9");
46
49
  }
47
50
 
48
51
 
@@ -55,53 +58,53 @@
55
58
  }
56
59
 
57
60
  .digit-text {
58
- @extend .typography.body-xs;
59
- @apply overflow-hidden items-center whitespace-no-wrap;
60
- font-family: theme(digitv2.fontFamily.sans);
61
- font-style: theme(digitv2.fontStyle.normal);
62
- font-weight: theme(digitv2.fontWeight.regular);
63
- line-height: theme(digitv2.lineHeight.lineheight2);
61
+ @include typography-body-xs;
62
+ @apply overflow-hidden items-center whitespace-nowrap;
63
+ font-family: theme("digitv2.fontFamily.sans");
64
+ font-style: theme("digitv2.fontStyle.normal");
65
+ font-weight: theme("digitv2.fontWeight.regular");
66
+ line-height: theme("digitv2.lineHeight.lineheight2");
64
67
 
65
68
  @media (max-aspect-ratio: 9/16) {
66
69
  /* Media query for mobile */
67
- font-size: theme(digitv2.fontSize.body-xs.mobile);
70
+ font-size: theme("digitv2.fontSize.body-xs.mobile");
68
71
  }
69
72
 
70
73
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
71
74
  /* Media query for tablets */
72
- font-size: theme(digitv2.fontSize.body-xs.tablet);
75
+ font-size: theme("digitv2.fontSize.body-xs.tablet");
73
76
  }
74
77
 
75
78
  @media (min-aspect-ratio: 3/4) {
76
79
  /* Media query for desktop */
77
- font-size: theme(digitv2.fontSize.body-xs.desktop);
80
+ font-size: theme("digitv2.fontSize.body-xs.desktop");
78
81
  }
79
- max-width: calc(100% - (theme(digitv2.spacers.spacer7)));
80
- width: calc(100% - (theme(digitv2.spacers.spacer7)));
82
+ max-width: calc(100% - (theme("digitv2.spacers.spacer7")));
83
+ width: calc(100% - (theme("digitv2.spacers.spacer7")));
81
84
  text-overflow: clip;
82
- color: theme(digitv2.lightTheme.text-primary);
85
+ color: theme("digitv2.lightTheme.text-primary");
83
86
  display: flex;
84
87
  text-overflow: ellipsis;
85
88
  }
86
89
 
87
90
  .close-icon {
88
91
  @apply items-center w-6 h-6 cursor-pointer flex-shrink-0;
89
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
90
- border-radius: theme(digitv2.spacers.spacer1);
91
- background-color: theme(digitv2.lightTheme.text-secondary);
92
+ border: 0.063rem solid theme("digitv2.lightTheme.text-secondary");
93
+ border-radius: theme("digitv2.spacers.spacer1");
94
+ background-color: theme("digitv2.lightTheme.text-secondary");
92
95
  display: flex !important;
93
96
  justify-content: center;
94
97
 
95
98
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
96
99
  /* Media query for tablets */
97
- height: theme(digitv2.spacers.spacer5);
98
- width: theme(digitv2.spacers.spacer5);
100
+ height: theme("digitv2.spacers.spacer5");
101
+ width: theme("digitv2.spacers.spacer5");
99
102
  }
100
103
 
101
104
  @media (max-aspect-ratio: 9/16) {
102
105
  /* Media query for mobile */
103
- height: theme(digitv2.spacers.spacer5);
104
- width: theme(digitv2.spacers.spacer5);
106
+ height: theme("digitv2.spacers.spacer5");
107
+ width: theme("digitv2.spacers.spacer5");
105
108
  }
106
109
 
107
110
  &.disabled{
@@ -110,38 +113,38 @@
110
113
 
111
114
  svg{
112
115
  @apply items-center flex-shrink-0;
113
- width: theme(digitv2.spacers.spacer6);
114
- height: theme(digitv2.spacers.spacer6);
116
+ width: theme("digitv2.spacers.spacer6");
117
+ height: theme("digitv2.spacers.spacer6");
115
118
  display: flex !important;
116
119
  justify-content: center;
117
120
 
118
121
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
119
122
  /* Media query for tablets */
120
- height: theme(digitv2.spacers.spacer5);
121
- width: theme(digitv2.spacers.spacer5);
123
+ height: theme("digitv2.spacers.spacer5");
124
+ width: theme("digitv2.spacers.spacer5");
122
125
  }
123
126
 
124
127
  @media (max-aspect-ratio: 9/16) {
125
128
  /* Media query for mobile */
126
- height: theme(digitv2.spacers.spacer5);
127
- width: theme(digitv2.spacers.spacer5);
129
+ height: theme("digitv2.spacers.spacer5");
130
+ width: theme("digitv2.spacers.spacer5");
128
131
  }
129
132
  }
130
133
  }
131
134
 
132
135
  &.errortag {
133
- border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
134
- background-color: theme(digitv2.lightTheme.paper-primary);
135
- box-shadow: 0.125rem 0.125rem theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #D4351C4D;
136
+ border: 0.063rem solid theme("digitv2.lightTheme.alert-error");
137
+ background-color: theme("digitv2.lightTheme.paper-primary");
138
+ box-shadow: 0.125rem 0.125rem theme("digitv2.spacers.spacer1") theme("digitv2.spacers.spacer0") #D4351C4D;
136
139
 
137
140
  .digit-text {
138
- @extend .typography.heading-xs;
139
- color: theme(digitv2.lightTheme.alert-error);
141
+ @include typography-heading-xs;
142
+ color: theme("digitv2.lightTheme.alert-error");
140
143
  }
141
144
 
142
145
  .close-icon {
143
- border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
144
- background-color: theme(digitv2.lightTheme.alert-error);
146
+ border: 0.063rem solid theme("digitv2.lightTheme.alert-error");
147
+ background-color: theme("digitv2.lightTheme.alert-error");
145
148
  }
146
149
  }
147
150
  }
@@ -1,13 +1,16 @@
1
+ @import './theme-variables.css';
2
+ @import '../typography.scss';
3
+
1
4
  .digit-divider {
2
- border: theme(digitv2.divider.dividerS);
5
+ border: theme("digitv2.divider.dividerS");
3
6
  width: 100%;
4
- margin: theme(digitv2.spacers.spacer0);
7
+ margin: theme("digitv2.spacers.spacer0");
5
8
 
6
9
  &.medium {
7
- border: theme(digitv2.divider.dividerM);
10
+ border: theme("digitv2.divider.dividerM");
8
11
  }
9
12
 
10
13
  &.large {
11
- border: theme(digitv2.divider.dividerL);
14
+ border: theme("digitv2.divider.dividerL");
12
15
  }
13
16
  }
@@ -1,42 +1,42 @@
1
- @import url("../index.scss");
2
- @import url("../typography.scss");
1
+ @import './theme-variables.css';
2
+ @import '../typography.scss';
3
3
 
4
4
  .digit-error-icon-message-wrap {
5
5
  @apply flex w-full whitespace-pre-wrap break-words;
6
- gap: theme(digitv2.spacers.spacer1);
6
+ gap: theme("digitv2.spacers.spacer1");
7
7
  word-break: break-word;
8
8
  cursor: default;
9
9
 
10
10
  .digit-error-icon {
11
11
  @apply flex items-center;
12
- width: theme(digitv2.spacers.spacer4);
13
- height: theme(digitv2.lineHeight.lineheight2);
12
+ width: theme("digitv2.spacers.spacer4");
13
+ height: theme("digitv2.lineHeight.lineheight2");
14
14
  }
15
15
 
16
16
  .digit-error-message {
17
- @extend .typography.body-s;
17
+ @include typography-body-s;
18
18
  @apply w-full;
19
- font-family: theme(digitv2.fontFamily.sans);
20
- font-style: theme(digitv2.fontStyle.normal);
21
- font-weight: theme(digitv2.fontWeight.regular);
22
- line-height: theme(digitv2.lineHeight.lineheight2);
19
+ font-family: theme("digitv2.fontFamily.sans");
20
+ font-style: theme("digitv2.fontStyle.normal");
21
+ font-weight: theme("digitv2.fontWeight.regular");
22
+ line-height: theme("digitv2.lineHeight.lineheight2");
23
23
 
24
24
  @media (max-aspect-ratio: 9/16) {
25
25
  /* Media query for mobile */
26
- font-size: theme(digitv2.fontSize.body-s.mobile);
26
+ font-size: theme("digitv2.fontSize.body-s.mobile");
27
27
  }
28
28
 
29
29
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
30
30
  /* Media query for tablets */
31
- font-size: theme(digitv2.fontSize.body-s.tablet);
31
+ font-size: theme("digitv2.fontSize.body-s.tablet");
32
32
  }
33
33
 
34
34
  @media (min-aspect-ratio: 3/4) {
35
35
  /* Media query for desktop */
36
- font-size: theme(digitv2.fontSize.body-s.desktop);
36
+ font-size: theme("digitv2.fontSize.body-s.desktop");
37
37
  }
38
38
 
39
- margin: theme(digitv2.spacers.spacer0);
40
- color: theme(digitv2.lightTheme.alert-error)
39
+ margin: theme("digitv2.spacers.spacer0");
40
+ color: theme("digitv2.lightTheme.alert-error")
41
41
  }
42
42
  }