@egovernments/digit-ui-components-css 0.0.2-beta.9 → 0.2.0-beta.1

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 (64) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/README.md +11 -2
  3. package/dist/index.css +10775 -3688
  4. package/dist/index.min.css +3 -3
  5. package/package.json +8 -9
  6. package/src/digitv2/components/accordionV2.scss +214 -0
  7. package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +1 -4
  8. package/src/digitv2/components/backLinkV2.scss +1 -1
  9. package/src/digitv2/components/bottomSheetV2.scss +121 -0
  10. package/src/digitv2/components/breadcrumbV2.scss +38 -0
  11. package/src/digitv2/components/buttonsV2.scss +85 -29
  12. package/src/digitv2/components/cardV2.scss +498 -0
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
  14. package/src/digitv2/components/cardlabelV2.scss +8 -0
  15. package/src/digitv2/components/checkboxV2.scss +54 -6
  16. package/src/digitv2/components/chipV2.scss +39 -0
  17. package/src/digitv2/components/dividerV2.scss +13 -0
  18. package/src/digitv2/components/errorMessageV2.scss +29 -8
  19. package/src/digitv2/components/fieldV1.scss +52 -2
  20. package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +163 -9
  21. package/src/digitv2/components/filterCardV2.scss +417 -0
  22. package/src/digitv2/components/footerV2.scss +208 -0
  23. package/src/digitv2/components/formCardV2.scss +234 -0
  24. package/src/digitv2/components/hamburgerV2.scss +555 -0
  25. package/src/digitv2/components/headerV2.scss +426 -0
  26. package/src/digitv2/components/headerdropdownV2.scss +233 -0
  27. package/src/digitv2/components/labelFieldPairV2.scss +45 -11
  28. package/src/digitv2/components/landingpagecardV2.scss +278 -0
  29. package/src/digitv2/components/loaderV2.scss +47 -0
  30. package/src/digitv2/components/menuCardV2.scss +116 -0
  31. package/src/digitv2/components/metricCardV2.scss +151 -0
  32. package/src/digitv2/components/mobileNumberV2.scss +1 -1
  33. package/src/digitv2/components/multiSelectDropdownV2.scss +225 -9
  34. package/src/digitv2/components/otpInputV2.scss +99 -0
  35. package/src/digitv2/components/panelCardV2.scss +19 -0
  36. package/src/digitv2/components/panelV2.scss +19 -0
  37. package/src/digitv2/components/popUpV2.scss +86 -2
  38. package/src/digitv2/components/radiobtnV2.scss +35 -6
  39. package/src/digitv2/components/selectDropdownV2.scss +258 -14
  40. package/src/digitv2/components/selectionTagV2.scss +102 -0
  41. package/src/digitv2/components/sidePanelV2.scss +222 -0
  42. package/src/digitv2/components/sidenavV2.scss +516 -0
  43. package/src/digitv2/components/stepperV2.scss +106 -6
  44. package/src/digitv2/components/summaryCardFieldPairV2.scss +83 -0
  45. package/src/digitv2/components/summaryCardV2.scss +100 -0
  46. package/src/digitv2/components/switchV2.scss +112 -0
  47. package/src/digitv2/components/tabV2.scss +126 -0
  48. package/src/digitv2/components/tableV2.scss +697 -0
  49. package/src/digitv2/components/tagV2.scss +108 -0
  50. package/src/digitv2/components/textInputV2.scss +5 -3
  51. package/src/digitv2/components/textareaV2.scss +1 -1
  52. package/src/digitv2/components/textblockV2.scss +38 -0
  53. package/src/digitv2/components/timelineV2.scss +145 -15
  54. package/src/digitv2/components/toastV2.scss +79 -1
  55. package/src/digitv2/components/toggleV2.scss +38 -0
  56. package/src/digitv2/components/tooltipwrapperV2.scss +365 -0
  57. package/src/digitv2/components/treeSelectV2.scss +58 -1
  58. package/src/digitv2/index.scss +175 -9
  59. package/src/digitv2/pages/employee/inboxsearchcomposer.scss +409 -0
  60. package/src/digitv2/pages/employee/index.scss +2 -0
  61. package/src/digitv2/pages/employee/reactdatatable.scss +132 -0
  62. package/src/digitv2/pages/employee/workbench.scss +10 -10
  63. package/src/digitv2/typography.scss +24 -9
  64. package/src/index.scss +0 -4
@@ -0,0 +1,409 @@
1
+ .digit-search-wrapper {
2
+ @extend .light-text-color-primary;
3
+ @extend .light-paper-primary;
4
+ height: 100%;
5
+ width: 100%;
6
+
7
+ .popup-label {
8
+ display: flex;
9
+ font-size: large;
10
+ @extend .light-text-color-primary;
11
+
12
+ .header {
13
+ @extend .light-text-color-primary;
14
+ width: 100%;
15
+ font-weight: normal;
16
+ font-size: large;
17
+
18
+ .icon {
19
+ @extend .light-primary;
20
+ margin-right: 12px;
21
+ margin-top: 5px;
22
+ }
23
+ }
24
+ }
25
+
26
+ .filter-header-wrapper {
27
+ @extend .light-text-color-primary;
28
+ display: grid;
29
+ grid-template-columns: 15% 1fr 15%;
30
+ height: 3rem;
31
+ margin-bottom: 1rem;
32
+
33
+ .icon-refresh {
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ border: 1px solid #00000017;
38
+ cursor: pointer;
39
+
40
+ svg {
41
+ height: 60%;
42
+ width: 40%;
43
+ }
44
+ }
45
+
46
+ .label {
47
+ @extend .light-text-color-primary;
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: flex-start;
51
+ }
52
+
53
+ @media (min-width: 1024px) {
54
+ .label {
55
+ font-size: 24px;
56
+ }
57
+ }
58
+
59
+ @media (max-width: 1024px) {
60
+ .label {
61
+ font-size: 16px;
62
+ }
63
+ }
64
+
65
+ .icon-filter {
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: flex-start;
69
+ }
70
+ }
71
+ }
72
+
73
+ @screen sm {
74
+ .digit-search-wrapper {
75
+ .digit-search-field-wrapper {
76
+ display: flex;
77
+ flex-direction: column;
78
+ }
79
+ }
80
+ }
81
+
82
+ .digit-inbox-search-wrapper {
83
+
84
+ .digit-inbox-search-component-wrapper {
85
+ height: 100%;
86
+ width: 100%;
87
+
88
+ .digit-sections-parent {
89
+ height: 100%;
90
+ display: grid;
91
+ grid-template-columns: 20% 1fr;
92
+ gap: 1rem;
93
+
94
+ &.inbox {
95
+ @extend .light-text-color-primary;
96
+
97
+ .links {
98
+ .inbox-links-icon {
99
+ color: theme(colors.primary.main);
100
+ fill: theme(colors.primary.main);
101
+
102
+ path {
103
+ fill: theme(colors.primary.main);
104
+ }
105
+ }
106
+ }
107
+ }
108
+
109
+ &.search {
110
+ display: flex;
111
+ flex-direction: column;
112
+
113
+ .digit-section {
114
+ &.links {
115
+ display: none;
116
+ }
117
+
118
+ &.filter {
119
+ display: none;
120
+ }
121
+ }
122
+
123
+ .digit-search-wrapper {
124
+ @extend .light-paper-primary;
125
+
126
+ .digit-search-field-wrapper.search.custom-both-clear-search {
127
+
128
+ .digit-search-button-wrapper {
129
+ .link-label {
130
+ @extend .light-primary;
131
+ white-space: initial;
132
+ }
133
+
134
+ .submit-bar {
135
+ @extend .light-primary-button;
136
+ width: 60%;
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+
143
+ &.download {
144
+ grid-template-columns: 100%
145
+ }
146
+
147
+ .digit-section {
148
+ @extend .light-paper-primary;
149
+ @extend .light-text-color-primary;
150
+ min-height: 10rem;
151
+
152
+ &.search-results {
153
+ min-height: 0;
154
+ }
155
+
156
+ &.links {
157
+ height: 100%;
158
+ color: theme(colors.primary.main);
159
+
160
+ .inbox-search-links-component {
161
+ height: 100% !important;
162
+ width: 100%;
163
+ }
164
+ }
165
+
166
+ &.filter {
167
+ height: fit-content;
168
+ }
169
+
170
+ &.tab {
171
+ display: block;
172
+ background-color: #eee;
173
+ box-shadow: none;
174
+
175
+ .digit-search-wrapper {
176
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+
184
+ @screen sm {
185
+ .employee-main-application-details-for-modal {
186
+ padding: 0 !important;
187
+ }
188
+
189
+ .digit-inbox-search-wrapper {
190
+ .digit-inbox-search-component-wrapper {
191
+ .digit-sections-parent {
192
+ display: flex;
193
+ flex-direction: column;
194
+
195
+ .digit-section {
196
+ &.search-results {}
197
+
198
+ &.links {}
199
+
200
+ &.filter {}
201
+
202
+ &.as-modal {
203
+ position: fixed;
204
+ top: 0;
205
+ height: 100vh;
206
+ width: 100vw;
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }
212
+ }
213
+
214
+
215
+
216
+
217
+ .digit-inbox-search-wrapper {
218
+ height: 100%;
219
+
220
+ .digit-inbox-search-component-wrapper {
221
+ height: 100%;
222
+ width: 100%;
223
+
224
+ .digit-sections-parent {
225
+
226
+ height: 100%;
227
+ display: grid;
228
+ grid-template-columns: 20% 1fr;
229
+ gap: theme(digitv2.spacers.spacer6);
230
+
231
+ .digit-section {
232
+
233
+ &.links,
234
+ &.search{
235
+ background-color: theme(digitv2.lightTheme.paper-primary);
236
+ box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
237
+ border-radius: theme(digitv2.spacers.spacer1);
238
+ padding: theme(digitv2.spacers.spacer6);
239
+ justify-content: flex-start;
240
+ display: flex;
241
+ align-items: center;
242
+ }
243
+
244
+ &.links{
245
+ align-items: flex-start;
246
+ }
247
+
248
+ &.search {
249
+ .digit-tab-main {
250
+ width: 100%;
251
+ }
252
+ }
253
+
254
+ &.filter{
255
+ .digit-inbox-search-composer-filter-card-content{
256
+ gap:theme(digitv2.spacers.spacer4)
257
+ }
258
+ }
259
+
260
+ .digit-search-wrapper {
261
+ .digit-search-field-wrapper {
262
+ .digit-search-button-wrapper {
263
+ display: flex;
264
+ align-items: center;
265
+ justify-content: flex-end;
266
+ gap: theme(digitv2.spacers.spacer6);
267
+
268
+ &.add-margin{
269
+ margin-top:theme(digitv2.spacers.spacer6);
270
+ }
271
+
272
+ &.inbox {
273
+ grid-column: 3 / -1;
274
+
275
+ &.filter {
276
+ button {
277
+ width: 100%;
278
+ }
279
+ }
280
+ }
281
+
282
+ &.search {
283
+ grid-column: 3 / -1;
284
+ }
285
+ }
286
+ }
287
+
288
+ .digit-filter-header-wrapper{
289
+
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+
297
+ .digit-inbox-search-composer-header {
298
+ @extend .typography.heading-xl;
299
+ color: theme(digitv2.lightTheme.primary-2);
300
+ margin-bottom: theme(digitv2.spacers.spacer6);
301
+ line-height: normal;
302
+ }
303
+
304
+ .digit-inbox-search-links-container {
305
+ .digit-inbox-search-links-header {
306
+ display: flex;
307
+ gap: theme(digitv2.spacers.spacer2);
308
+ align-items: center;
309
+ margin-bottom: theme(digitv2.spacers.spacer6);
310
+
311
+ .digit-inbox-search-links-header-logo {
312
+ width: theme(digitv2.spacers.spacer8);
313
+ height: theme(digitv2.spacers.spacer8);
314
+ }
315
+
316
+ .digit-inbox-search-links-header-text {
317
+ @extend .typography.heading-m;
318
+ font-family: theme(digitv2.fontFamily.sans);
319
+ font-style: theme(digitv2.fontStyle.normal);
320
+ font-weight: theme(digitv2.fontWeight.bold);
321
+ line-height: theme(digitv2.lineHeight.lineheight1);
322
+
323
+ @media (max-aspect-ratio: 9/16) {
324
+ /* Media query for mobile */
325
+ font-size: theme(digitv2.fontSize.heading-m.mobile);
326
+ }
327
+
328
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
329
+ /* Media query for tablets */
330
+ font-size: theme(digitv2.fontSize.heading-m.tablet);
331
+ }
332
+
333
+ @media (min-aspect-ratio: 3/4) {
334
+ /* Media query for desktop */
335
+ font-size: theme(digitv2.fontSize.heading-m.desktop);
336
+ }
337
+
338
+ color:theme(digitv2.lightTheme.primary-2);
339
+ line-height: normal;
340
+ }
341
+ }
342
+
343
+ .digit-inbox-search-links-contents {
344
+ display: flex;
345
+ flex-direction: column;
346
+ gap: theme(digitv2.spacers.spacer4);
347
+
348
+ a {
349
+ color: theme(digitv2.lightTheme.primary-1) !important;
350
+ }
351
+
352
+ .digit-inbox-search-link {
353
+ @extend .typography.link-L;
354
+ color: theme(digitv2.lightTheme.primary-1);
355
+ }
356
+ }
357
+ }
358
+
359
+ .digit-inbox-search-composer-label-pair {
360
+ margin-bottom: theme(digitv2.spacers.spacer0);
361
+ }
362
+
363
+ .digit-search-wrapper {
364
+ .digit-search-field-wrapper {
365
+ display: grid;
366
+ row-gap: theme(digitv2.spacers.spacer6);
367
+ column-gap: theme(digitv2.spacers.spacer4);
368
+ grid-template-columns: repeat(3, 1fr);
369
+
370
+ &.inbox {
371
+ &.filter {
372
+ display: flex;
373
+ flex-direction: column;
374
+ }
375
+ }
376
+
377
+ }
378
+ }
379
+
380
+ @media screen and (max-width: 426px) {
381
+
382
+ .digit-header-content{
383
+ &.digit-inbox-search-composer-header{
384
+ margin-left: 1rem;
385
+ }
386
+ }
387
+
388
+ .digit-inbox-search-wrapper {
389
+ .digit-inbox-search-component-wrapper {
390
+ .digit-sections-parent {
391
+ display: flex;
392
+ flex-direction: column;
393
+
394
+ &.inbox{
395
+ .searchBox{
396
+ margin: 0rem 1rem;
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+
404
+ .digit-table-loader{
405
+ height: 31.25rem;
406
+ display: flex;
407
+ align-items: center;
408
+ justify-content: center ;
409
+ }
@@ -1 +1,3 @@
1
1
  @import url("./workbench.scss");
2
+ @import url("./inboxsearchcomposer.scss");
3
+ @import url("./reactdatatable.scss");
@@ -0,0 +1,132 @@
1
+
2
+ .digit-global-serach-results-table-wrapper{
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: flex-end;
6
+ }
7
+
8
+ .digit-global-serach-results-table{
9
+ margin-bottom: 1.5rem;
10
+
11
+
12
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
13
+ /* Media query for tablets */
14
+ min-width: 27.5rem;
15
+ }
16
+
17
+ @media (max-aspect-ratio: 9/16) {
18
+ /* Media query for mobile */
19
+ min-width: 100%;
20
+ width: 100%;
21
+ }
22
+
23
+ @media (min-aspect-ratio: 3/4) {
24
+ /* Media query for desktop */
25
+ min-width: 37.5rem;
26
+ }
27
+ }
28
+
29
+ .rdt_TableRow {
30
+ &.selectedRow {
31
+ background-color: #FBEEE8 !important;
32
+ border-bottom-color: theme(digitv2.lightTheme.generic-divider) !important;
33
+ }
34
+ }
35
+
36
+ .rdt_TableCol_Sortable {
37
+ display: flex;
38
+ align-items: center;
39
+ gap: theme(digitv2.spacers.spacer1);
40
+
41
+ &:hover {
42
+ opacity: 1 !important;
43
+ }
44
+
45
+ /* Target the first div directly inside .rdt_TableCol_Sortable */
46
+ >div:first-child {
47
+ white-space: normal;
48
+ }
49
+
50
+ .__rdt_custom_sort_icon__ {
51
+ display: flex;
52
+ align-items: center;
53
+ }
54
+ }
55
+
56
+ .rdt_TableCol {
57
+ border-radius: theme(digitv2.spacers.spacer0) !important;
58
+
59
+ &:last-of-type {
60
+ border-left: none !important;
61
+ }
62
+ }
63
+
64
+ .rdt_TableCol {
65
+ border-radius: theme(digitv2.spacers.spacer0) !important;
66
+
67
+ &:last-of-type {
68
+ border-left: none !important;
69
+ }
70
+ }
71
+
72
+ .sc-fzXfNN.sc-fzXfNO.sc-fzXfNP.iSamCd.rdt_TableCell>div:first-of-type {
73
+ width: 100%;
74
+ }
75
+
76
+ .rdt_TableHead {
77
+ z-index: 13 !important;
78
+ }
79
+
80
+ .rdt_TableHeadRow {
81
+ justify-content: space-between;
82
+ }
83
+
84
+ .rdt_TableRow {
85
+ justify-content: space-between;
86
+ }
87
+
88
+ .digit-data-table::-webkit-scrollbar-track {
89
+ background-color: theme(digitv2.lightTheme.generic-divider);
90
+ border-radius: 0.563rem;
91
+ }
92
+
93
+ .digit-data-table::-webkit-scrollbar-thumb {
94
+ background-color: theme(digitv2.lightTheme.generic-divider);
95
+ border-radius: 0.563rem;
96
+ }
97
+
98
+ .digit-data-table::-webkit-scrollbar {
99
+ width: theme(digitv2.spacers.spacer2);
100
+ background-color: theme(digitv2.lightTheme.generic-divider);
101
+ }
102
+
103
+ .digit-data-table::-webkit-scrollbar:horizontal {
104
+ height: theme(digitv2.spacers.spacer2);
105
+ background-color: theme(digitv2.lightTheme.generic-divider);
106
+ }
107
+
108
+ .digit-data-table-select-checkbox {
109
+ margin-bottom: theme(digitv2.spacers.spacer0);
110
+ }
111
+
112
+ .rdt_Pagination {
113
+ margin-top: -1rem;
114
+ border: 0.063rem solid #d6d5d4;
115
+ border-top: theme(digitv2.spacers.spacer0);
116
+ }
117
+
118
+
119
+ .rdt_TableHeadRow {
120
+ justify-content: space-between;
121
+ }
122
+
123
+ .rdt_TableRow {
124
+ justify-content: space-between;
125
+ }
126
+
127
+ .digit-dataTable-actions-container{
128
+ display: flex;
129
+ gap:theme(digitv2.spacers.spacer2);
130
+ align-items: center;
131
+ flex-wrap: wrap;
132
+ }
@@ -2,7 +2,7 @@
2
2
 
3
3
  .bread-crumb.workbench-bredcrumb{
4
4
  a{
5
- color: theme(digitv2.lightTheme.primary-orange);
5
+ color: theme(digitv2.lightTheme.primary-1);
6
6
  }
7
7
  }
8
8
  .workbench{
@@ -142,7 +142,7 @@ a{
142
142
  }
143
143
 
144
144
  .digit__control--is-focused {
145
- border-color: theme(digitv2.lightTheme.primary-orange) !important;
145
+ border-color: theme(digitv2.lightTheme.primary-1) !important;
146
146
  box-shadow: none;
147
147
  box-sizing: unset;
148
148
  @apply outline-none;
@@ -158,10 +158,10 @@ a{
158
158
  }
159
159
 
160
160
  .digit__control:focus {
161
- border-color: theme(digitv2.lightTheme.primary-orange);
161
+ border-color: theme(digitv2.lightTheme.primary-1);
162
162
 
163
163
  .digit__value-container:focus {
164
- border-color: theme(digitv2.lightTheme.primary-orange);
164
+ border-color: theme(digitv2.lightTheme.primary-1);
165
165
 
166
166
  }
167
167
  }
@@ -169,7 +169,7 @@ a{
169
169
 
170
170
  &.form-select:focus {
171
171
  @apply outline-none;
172
- border-color: theme(digitv2.lightTheme.primary-orange);
172
+ border-color: theme(digitv2.lightTheme.primary-1);
173
173
 
174
174
  }
175
175
  }
@@ -182,7 +182,7 @@ a{
182
182
  .form-control:focus {
183
183
 
184
184
  @apply outline-none;
185
- border-color: theme(digitv2.lightTheme.primary-orange);
185
+ border-color: theme(digitv2.lightTheme.primary-1);
186
186
  }
187
187
 
188
188
  textarea.form-control {
@@ -236,7 +236,7 @@ a{
236
236
  }
237
237
 
238
238
  input[type="checkbox"]#digit_root_active {
239
- accent-color: theme(digitv2.lightTheme.primary-orange);
239
+ accent-color: theme(digitv2.lightTheme.primary-1);
240
240
  }
241
241
 
242
242
  input:checked,
@@ -549,7 +549,7 @@ a{
549
549
  padding-left:0.8rem ;
550
550
  padding-right:0.8rem ;
551
551
  &-row-mdms:hover{
552
- background-color: theme(digitv2.lightTheme.primary-orangebg); /* Change this to the desired hover color */
552
+ background-color: theme(digitv2.lightTheme.primary-bg); /* Change this to the desired hover color */
553
553
  cursor: pointer;
554
554
  }
555
555
  }
@@ -573,11 +573,11 @@ a{
573
573
  text-decoration: none;
574
574
  .browse-text {
575
575
  text-decoration: none;
576
- color: #F47738;
576
+ color: theme(digitv2.lightTheme.primary-1);
577
577
  transition: color 0.3s;
578
578
  }
579
579
  .browse-text:hover {
580
- color: #F47738;
580
+ color: theme(digitv2.lightTheme.primary-1);
581
581
  text-decoration: underline;
582
582
  cursor: pointer;
583
583
  }
@@ -443,46 +443,61 @@
443
443
  }
444
444
 
445
445
  &.body-s {
446
- font-family: theme(digitv2.fontFamily.sans);
447
- font-style: theme(digitv2.fontStyle.normal);
448
- font-weight: theme(digitv2.fontWeight.regular);
449
- line-height: theme(digitv2.lineHeight.lineheight2);
450
-
451
446
  @media (max-aspect-ratio: 9/16) {
452
447
  /* Media query for mobile */
453
448
  font-size: theme(digitv2.fontSize.body-s.mobile);
449
+ font-family: theme(digitv2.fontFamily.sans);
450
+ font-style: theme(digitv2.fontStyle.normal);
451
+ font-weight: theme(digitv2.fontWeight.regular);
452
+ line-height: theme(digitv2.lineHeight.lineheight2);
454
453
  }
455
454
 
456
455
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
457
456
  /* Media query for tablets */
458
457
  font-size: theme(digitv2.fontSize.body-s.tablet);
458
+ font-family: theme(digitv2.fontFamily.sans);
459
+ font-style: theme(digitv2.fontStyle.normal);
460
+ font-weight: theme(digitv2.fontWeight.regular);
461
+ line-height: theme(digitv2.lineHeight.lineheight2);
459
462
  }
460
463
 
461
464
  @media (min-aspect-ratio: 3/4) {
462
465
  /* Media query for desktop */
463
466
  font-size: theme(digitv2.fontSize.body-s.desktop);
467
+ font-family: theme(digitv2.fontFamily.sans);
468
+ font-style: theme(digitv2.fontStyle.normal);
469
+ font-weight: theme(digitv2.fontWeight.regular);
470
+ line-height: theme(digitv2.lineHeight.lineheight2);
464
471
  }
465
472
  }
466
473
 
467
474
  &.body-xs {
468
- font-family: theme(digitv2.fontFamily.sans);
469
- font-style: theme(digitv2.fontStyle.normal);
470
- font-weight: theme(digitv2.fontWeight.regular);
471
- line-height: theme(digitv2.lineHeight.lineheight2);
472
475
 
473
476
  @media (max-aspect-ratio: 9/16) {
474
477
  /* Media query for mobile */
475
478
  font-size: theme(digitv2.fontSize.body-xs.mobile);
479
+ font-family: theme(digitv2.fontFamily.sans);
480
+ font-style: theme(digitv2.fontStyle.normal);
481
+ font-weight: theme(digitv2.fontWeight.regular);
482
+ line-height: theme(digitv2.lineHeight.lineheight2);
476
483
  }
477
484
 
478
485
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
479
486
  /* Media query for tablets */
480
487
  font-size: theme(digitv2.fontSize.body-xs.tablet);
488
+ font-family: theme(digitv2.fontFamily.sans);
489
+ font-style: theme(digitv2.fontStyle.normal);
490
+ font-weight: theme(digitv2.fontWeight.regular);
491
+ line-height: theme(digitv2.lineHeight.lineheight2);
481
492
  }
482
493
 
483
494
  @media (min-aspect-ratio: 3/4) {
484
495
  /* Media query for desktop */
485
496
  font-size: theme(digitv2.fontSize.body-xs.desktop);
497
+ font-family: theme(digitv2.fontFamily.sans);
498
+ font-style: theme(digitv2.fontStyle.normal);
499
+ font-weight: theme(digitv2.fontWeight.regular);
500
+ line-height: theme(digitv2.lineHeight.lineheight2);
486
501
  }
487
502
  }
488
503
 
package/src/index.scss CHANGED
@@ -74,10 +74,6 @@ h1, h2, h3, h4, h5, h6 {
74
74
  }
75
75
  }
76
76
 
77
- .dark {
78
- @apply text-text-primary;
79
- }
80
-
81
77
  .mrlg {
82
78
  @apply mr-lg;
83
79
  }