@egovernments/digit-ui-components-css 0.2.3 → 2.0.0-dev-01
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.
- package/dist/index.css +3 -15427
- package/package.json +30 -35
- package/src/digitv2/components/FormComposerV2.scss +6 -5
- package/src/digitv2/components/accordionV2.scss +59 -59
- package/src/digitv2/components/alertCardV2.scss +43 -43
- package/src/digitv2/components/backLinkV2.scss +11 -8
- package/src/digitv2/components/bodyContainerV2.scss +2 -1
- package/src/digitv2/components/bottomSheetV2.scss +22 -19
- package/src/digitv2/components/breadcrumbV2.scss +27 -25
- package/src/digitv2/components/buttonsV2.scss +72 -72
- package/src/digitv2/components/cardV2.scss +18 -17
- package/src/digitv2/components/cardbasedoptionsV2.scss +4 -1
- package/src/digitv2/components/cardlabelV2.scss +4 -3
- package/src/digitv2/components/checkboxV2.scss +33 -32
- package/src/digitv2/components/chipV2.scss +46 -43
- package/src/digitv2/components/dividerV2.scss +7 -4
- package/src/digitv2/components/errorMessageV2.scss +15 -15
- package/src/digitv2/components/fieldV1.scss +65 -64
- package/src/digitv2/components/fileUploadV2.scss +129 -126
- package/src/digitv2/components/filterCardV2.scss +54 -51
- package/src/digitv2/components/footerV2.scss +14 -13
- package/src/digitv2/components/formCardV2.scss +52 -49
- package/src/digitv2/components/hamburgerV2.scss +145 -142
- package/src/digitv2/components/headerV2.scss +60 -57
- package/src/digitv2/components/headerdropdownV2.scss +72 -69
- package/src/digitv2/components/infobuttonV2.scss +18 -15
- package/src/digitv2/components/labelFieldPairV2.scss +11 -8
- package/src/digitv2/components/landingpagecardV2.scss +73 -70
- package/src/digitv2/components/loaderV2.scss +7 -4
- package/src/digitv2/components/menuCardV2.scss +34 -31
- package/src/digitv2/components/metricCardV2.scss +55 -52
- package/src/digitv2/components/mobileNumberV2.scss +10 -10
- package/src/digitv2/components/multiSelectDropdownV2.scss +170 -168
- package/src/digitv2/components/otpInputV2.scss +29 -26
- package/src/digitv2/components/panelCardV2.scss +46 -43
- package/src/digitv2/components/panelV2.scss +34 -31
- package/src/digitv2/components/popUpV2.scss +94 -91
- package/src/digitv2/components/radiobtnV2.scss +24 -23
- package/src/digitv2/components/selectDropdownV2.scss +200 -197
- package/src/digitv2/components/selectionTagV2.scss +32 -29
- package/src/digitv2/components/sidePanelV2.scss +51 -48
- package/src/digitv2/components/sidenavV2.scss +119 -116
- package/src/digitv2/components/stepperV2.scss +61 -58
- package/src/digitv2/components/summaryCardFieldPairV2.scss +25 -22
- package/src/digitv2/components/summaryCardV2.scss +30 -27
- package/src/digitv2/components/switchV2.scss +34 -31
- package/src/digitv2/components/tabV2.scss +29 -26
- package/src/digitv2/components/tableV2.scss +152 -149
- package/src/digitv2/components/tagV2.scss +27 -24
- package/src/digitv2/components/textInputV2.scss +101 -101
- package/src/digitv2/components/textareaV2.scss +23 -20
- package/src/digitv2/components/textblockV2.scss +31 -28
- package/src/digitv2/components/timelineV2.scss +64 -61
- package/src/digitv2/components/toastV2.scss +28 -25
- package/src/digitv2/components/toggleV2.scss +55 -46
- package/src/digitv2/components/tooltipwrapperV2.scss +97 -94
- package/src/digitv2/components/treeSelectV2.scss +58 -55
- package/src/digitv2/index.scss +136 -134
- package/src/digitv2/pages/employee/boundaryFilter.scss +7 -7
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +48 -48
- package/src/digitv2/pages/employee/index.scss +4 -4
- package/src/digitv2/pages/employee/reactdatatable.scss +13 -13
- package/src/digitv2/pages/employee/workbench.scss +29 -28
- package/src/digitv2/typography.scss +633 -640
- package/src/index.scss +28 -19
- package/src/pages/employee/index.scss +26 -26
- package/src/pages/employee/login.scss +4 -4
- package/src/theme-variables.css +137 -0
- package/CHANGELOG.md +0 -260
- package/dist/index.min.css +0 -7
package/src/index.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*@import 'normalize.css';*/
|
|
2
2
|
|
|
3
|
-
/*@import
|
|
3
|
+
/*@import "https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap";*/
|
|
4
4
|
|
|
5
5
|
@import "tailwindcss/base";
|
|
6
6
|
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
@import "./pages/employee/index.scss";
|
|
16
16
|
@import "./pages/employee/login.scss";
|
|
17
|
-
|
|
18
17
|
@import "./digitv2/index.scss";
|
|
18
|
+
|
|
19
19
|
@import "./digitv2/typography.scss";
|
|
20
20
|
|
|
21
21
|
|
|
@@ -104,12 +104,12 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
104
104
|
margin-bottom: 16px;
|
|
105
105
|
|
|
106
106
|
a {
|
|
107
|
-
color: theme(colors.link.normal);
|
|
107
|
+
color: theme("colors.link.normal");
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.clear-search-label {
|
|
112
|
-
color: theme(colors.primary.main);
|
|
112
|
+
color: theme("colors.primary.main");
|
|
113
113
|
cursor: pointer;
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -122,7 +122,7 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
122
122
|
@apply flex justify-between items-center;
|
|
123
123
|
|
|
124
124
|
.download-button {
|
|
125
|
-
color: theme(colors.primary.main);
|
|
125
|
+
color: theme("colors.primary.main");
|
|
126
126
|
margin-left: 8px;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
@@ -131,13 +131,13 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
131
131
|
@apply flex mb-sm;
|
|
132
132
|
|
|
133
133
|
.download-button {
|
|
134
|
-
color: theme(colors.primary.main);
|
|
134
|
+
color: theme("colors.primary.main");
|
|
135
135
|
margin-left: 8px;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.check-page-link-button {
|
|
140
|
-
color: theme(colors.primary.main) !important;
|
|
140
|
+
color: theme("colors.primary.main") !important;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.pt-application-download-btn {
|
|
@@ -160,10 +160,10 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
160
160
|
gap: 10px;
|
|
161
161
|
|
|
162
162
|
svg {
|
|
163
|
-
fill: theme(colors.primary.main);
|
|
163
|
+
fill: theme("colors.primary.main");
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
color: theme(colors.primary.main);
|
|
166
|
+
color: theme("colors.primary.main");
|
|
167
167
|
|
|
168
168
|
cursor: pointer;
|
|
169
169
|
font-weight: 500;
|
|
@@ -171,13 +171,13 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.primaryColor {
|
|
174
|
-
color: theme(colors.text.primary) !important;
|
|
174
|
+
color: theme("colors.text.primary") !important;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
input[readonly] {
|
|
178
|
-
background-color: theme(digitv2.lightTheme.generic-background);
|
|
179
|
-
border-color: theme(digitv2.lightTheme.text-secondary);
|
|
180
|
-
color: theme(digitv2.lightTheme.text-secondary);
|
|
178
|
+
background-color: theme("digitv2.lightTheme.generic-background");
|
|
179
|
+
border-color: theme("digitv2.lightTheme.text-secondary");
|
|
180
|
+
color: theme("digitv2.lightTheme.text-secondary");
|
|
181
181
|
--border-opacity: 1;
|
|
182
182
|
border-color: #9E9E9E;
|
|
183
183
|
border-color: rgba(158, 158, 158, var(--border-opacity));
|
|
@@ -212,7 +212,8 @@ input[readonly] {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.card-date-input {
|
|
215
|
-
@apply absolute top-0 left-0 w-3/4 bg-white pl-sm border
|
|
215
|
+
@apply absolute top-0 left-0 w-3/4 bg-white pl-sm border-input-border border-solid border-r-0;
|
|
216
|
+
border-width: 1px;
|
|
216
217
|
outline: transparent solid 1px;
|
|
217
218
|
height: 2.5rem;
|
|
218
219
|
}
|
|
@@ -225,7 +226,7 @@ input[readonly] {
|
|
|
225
226
|
width: 194px;
|
|
226
227
|
height: 2.5rem;
|
|
227
228
|
&__wrapper {
|
|
228
|
-
border: 2px solid theme(colors.text.primary);
|
|
229
|
+
border: 2px solid theme("colors.text.primary");
|
|
229
230
|
padding-left: 16px;
|
|
230
231
|
}
|
|
231
232
|
&__inputGroup__input {
|
|
@@ -330,7 +331,7 @@ input[type="number"] {
|
|
|
330
331
|
|
|
331
332
|
.cheque-date {
|
|
332
333
|
@apply flex items-center mb-lg;
|
|
333
|
-
border: 2px solid theme(colors.text.primary);
|
|
334
|
+
border: 2px solid theme("colors.text.primary");
|
|
334
335
|
border-radius: 2px;
|
|
335
336
|
|
|
336
337
|
input {
|
|
@@ -355,7 +356,7 @@ input[type="number"] {
|
|
|
355
356
|
|
|
356
357
|
.ifsc-field {
|
|
357
358
|
@apply flex items-center mb-lg;
|
|
358
|
-
border: 2px solid theme(colors.text.primary);
|
|
359
|
+
border: 2px solid theme("colors.text.primary");
|
|
359
360
|
border-radius: 2px;
|
|
360
361
|
|
|
361
362
|
input {
|
|
@@ -479,7 +480,7 @@ input[type="number"] {
|
|
|
479
480
|
padding: 8px 24px;
|
|
480
481
|
color: white;
|
|
481
482
|
cursor: pointer;
|
|
482
|
-
background-color: theme(colors.primary.main);
|
|
483
|
+
background-color: theme("colors.primary.main");
|
|
483
484
|
}
|
|
484
485
|
}
|
|
485
486
|
}
|
|
@@ -647,7 +648,7 @@ input[type="number"] {
|
|
|
647
648
|
.modal-body-ws {
|
|
648
649
|
padding: 1rem;
|
|
649
650
|
font-weight: 700;
|
|
650
|
-
color: theme(colors.text.primary);
|
|
651
|
+
color: theme("colors.text.primary");
|
|
651
652
|
font-size: 24px;
|
|
652
653
|
margin-bottom: 1rem;
|
|
653
654
|
}
|
|
@@ -676,3 +677,11 @@ input[type="number"] {
|
|
|
676
677
|
max-height: 120px;
|
|
677
678
|
margin-top: 90px;
|
|
678
679
|
}
|
|
680
|
+
|
|
681
|
+
*:focus-visible {
|
|
682
|
+
outline: 2px solid #b91900 !important;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.spanWrapper .submit-bar:focus-visible{
|
|
686
|
+
outline: 2px solid #b91900 !important;
|
|
687
|
+
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
margin-top: 12px;
|
|
59
59
|
|
|
60
60
|
.user-img-txt {
|
|
61
|
-
background: theme(colors.primary.main);
|
|
61
|
+
background: theme("colors.primary.main");
|
|
62
62
|
padding: 10px 15px;
|
|
63
63
|
border-radius: 50%;
|
|
64
64
|
color: white;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.react-time-picker__wrapper {
|
|
96
|
-
border: 1px solid theme(colors.inputBorder);
|
|
96
|
+
border: 1px solid theme("colors.inputBorder");
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.react-time-picker__clock {
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
left: 0;
|
|
132
132
|
background: #0B4B66;
|
|
133
133
|
height: 100%;
|
|
134
|
-
color: theme(colors.white);
|
|
134
|
+
color: theme("colors.white");
|
|
135
135
|
margin-top: 83px;
|
|
136
136
|
z-index: 999;
|
|
137
137
|
transition: 0.3s ease all;
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
svg {
|
|
155
155
|
width: 24px;
|
|
156
156
|
height: 24px;
|
|
157
|
-
fill: theme(colors.white);
|
|
157
|
+
fill: theme("colors.white");
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
a {
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
|
|
164
164
|
.sidebar-link {
|
|
165
165
|
display: flex;
|
|
166
|
-
color: theme(colors.white);
|
|
166
|
+
color: theme("colors.white");
|
|
167
167
|
justify-content: space-between;
|
|
168
168
|
align-items: center;
|
|
169
169
|
padding: 20px;
|
|
@@ -179,12 +179,12 @@
|
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
&.active {
|
|
182
|
-
color: theme(colors.primary.main) !important;
|
|
182
|
+
color: theme("colors.primary.main") !important;
|
|
183
183
|
|
|
184
184
|
border-right: none;
|
|
185
185
|
|
|
186
186
|
svg {
|
|
187
|
-
fill: theme(colors.primary.main) !important;
|
|
187
|
+
fill: theme("colors.primary.main") !important;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
svg {
|
|
210
|
-
fill: theme(colors.white) !important;
|
|
210
|
+
fill: theme("colors.white") !important;
|
|
211
211
|
width: 21px;
|
|
212
212
|
height: 21px;
|
|
213
213
|
}
|
|
@@ -221,17 +221,17 @@
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
.search-icon-wrapper {
|
|
224
|
-
border: 2px solid theme(colors.white);
|
|
224
|
+
border: 2px solid theme("colors.white");
|
|
225
225
|
border-radius: 4px;
|
|
226
226
|
padding: 5px;
|
|
227
227
|
|
|
228
228
|
svg {
|
|
229
|
-
fill: theme(colors.white) !important;
|
|
229
|
+
fill: theme("colors.white") !important;
|
|
230
230
|
width: 21px;
|
|
231
231
|
height: 21px;
|
|
232
232
|
|
|
233
233
|
path {
|
|
234
|
-
fill: theme(colors.white) !important;
|
|
234
|
+
fill: theme("colors.white") !important;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
}
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
margin-left: 40px;
|
|
244
244
|
align-items: center;
|
|
245
245
|
text-decoration: none;
|
|
246
|
-
color: theme(colors.white);
|
|
246
|
+
color: theme("colors.white");
|
|
247
247
|
font-size: 14px;
|
|
248
248
|
|
|
249
249
|
.actions {
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
svg {
|
|
257
257
|
width: 20px;
|
|
258
258
|
height: 20px;
|
|
259
|
-
fill: theme(colors.white);
|
|
259
|
+
fill: theme("colors.white");
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
&:hover {
|
|
@@ -271,25 +271,25 @@
|
|
|
271
271
|
|
|
272
272
|
|
|
273
273
|
&.active {
|
|
274
|
-
border-left: 4px solid theme(colors.primary.main);
|
|
274
|
+
border-left: 4px solid theme("colors.primary.main");
|
|
275
275
|
|
|
276
276
|
&.level-0 {}
|
|
277
277
|
|
|
278
278
|
&.level-1 {
|
|
279
|
-
border-left: 8.5px solid theme(colors.primary.main);
|
|
279
|
+
border-left: 8.5px solid theme("colors.primary.main");
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
&.level-2 {
|
|
283
|
-
border-left: 4px solid theme(colors.primary.main);
|
|
283
|
+
border-left: 4px solid theme("colors.primary.main");
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
&.level-3 {}
|
|
287
287
|
|
|
288
|
-
color: theme(colors.primary.main) !important;
|
|
288
|
+
color: theme("colors.primary.main") !important;
|
|
289
289
|
border-right: none;
|
|
290
290
|
|
|
291
291
|
svg {
|
|
292
|
-
fill: theme(colors.primary.main) !important;
|
|
292
|
+
fill: theme("colors.primary.main") !important;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
padding-top: 10px;
|
|
309
309
|
|
|
310
310
|
.containerStyles {
|
|
311
|
-
border: 1px solid theme(colors.text.secondary);
|
|
311
|
+
border: 1px solid theme("colors.text.secondary");
|
|
312
312
|
padding: 16px;
|
|
313
313
|
margin-bottom: 20px;
|
|
314
314
|
}
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
.tableContainerStyles {
|
|
326
|
-
border: 1px solid theme(colors.text.secondary);
|
|
326
|
+
border: 1px solid theme("colors.text.secondary");
|
|
327
327
|
padding: 16px;
|
|
328
328
|
margin-bottom: 20px;
|
|
329
329
|
}
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
margin-bottom: unset;
|
|
435
435
|
|
|
436
436
|
svg {
|
|
437
|
-
fill: theme(colors.white);
|
|
437
|
+
fill: theme("colors.white");
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
}
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
flex-direction: column;
|
|
469
469
|
padding-top: 80px;
|
|
470
470
|
margin-left: 72px;
|
|
471
|
-
width: calc(100
|
|
471
|
+
width: calc(100% - 83px);
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
.citizen-home-container {
|
|
@@ -539,11 +539,11 @@
|
|
|
539
539
|
|
|
540
540
|
.top-back-btn {
|
|
541
541
|
margin-bottom: 0px;
|
|
542
|
-
color: theme(colors.white);
|
|
542
|
+
color: theme("colors.white");
|
|
543
543
|
margin-right: 1em;
|
|
544
544
|
|
|
545
545
|
& svg {
|
|
546
|
-
fill: theme(colors.white);
|
|
546
|
+
fill: theme("colors.white");
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
|
|
594
594
|
div {
|
|
595
595
|
span {
|
|
596
|
-
color: theme(colors.primary.main) !important;
|
|
596
|
+
color: theme("colors.primary.main") !important;
|
|
597
597
|
text-decoration: none;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
|
|
614
614
|
div {
|
|
615
615
|
span {
|
|
616
|
-
color: theme(colors.white);
|
|
616
|
+
color: theme("colors.white");
|
|
617
617
|
text-decoration: none;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
font-weight: normal;
|
|
67
67
|
font-size: 16px;
|
|
68
68
|
line-height: 19px;
|
|
69
|
-
color: theme(colors.text.primary);
|
|
69
|
+
color: theme("colors.text.primary");
|
|
70
70
|
margin-top: 20px;
|
|
71
71
|
}
|
|
72
72
|
.banner .bannerHeader {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
font-weight: normal;
|
|
77
77
|
font-size: 16px;
|
|
78
78
|
line-height: 19px;
|
|
79
|
-
color: theme(colors.text.primary);
|
|
79
|
+
color: theme("colors.text.primary");
|
|
80
80
|
}
|
|
81
81
|
.profile-label-margin{
|
|
82
82
|
margin-top: 10px;
|
|
@@ -86,13 +86,13 @@
|
|
|
86
86
|
font-weight: normal;
|
|
87
87
|
font-size: 16px;
|
|
88
88
|
line-height: 24px;
|
|
89
|
-
color: theme(colors.text.secondary);
|
|
89
|
+
color: theme("colors.text.secondary");
|
|
90
90
|
margin-top: 15px;
|
|
91
91
|
}
|
|
92
92
|
.employeeChangePassword .employeeCard .card-text {
|
|
93
93
|
margin-bottom: 15px;
|
|
94
94
|
font-size: 16px;
|
|
95
|
-
color: theme(colors.text.secondary);
|
|
95
|
+
color: theme("colors.text.secondary");
|
|
96
96
|
}
|
|
97
97
|
@media screen and (max-width: 768px) {
|
|
98
98
|
.employeeChangePassword .employeeCard .card-text {
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* Auto-generated from tailwind.config.js */
|
|
2
|
+
/* Generated: 2025-08-22T06:22:58.708Z */
|
|
3
|
+
/* DO NOT EDIT MANUALLY - Run 'npm run generate-theme' to update */
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--digitv2-lightTheme-text-color-primary: #0B0C0C;
|
|
7
|
+
--digitv2-lightTheme-primary-1: #C84C0E;
|
|
8
|
+
--digitv2-lightTheme-primary-bg: #FBEEE8;
|
|
9
|
+
--digitv2-lightTheme-primary-2: #0B4B66;
|
|
10
|
+
--digitv2-lightTheme-text-primary: #363636;
|
|
11
|
+
--digitv2-lightTheme-text-secondary: #787878;
|
|
12
|
+
--digitv2-lightTheme-text-disabled: #C5C5C5;
|
|
13
|
+
--digitv2-lightTheme-alert-error: #B91900;
|
|
14
|
+
--digitv2-lightTheme-alert-errorbg: #FFF5F4;
|
|
15
|
+
--digitv2-lightTheme-alert-success: #00703C;
|
|
16
|
+
--digitv2-lightTheme-alert-successbg: #F1FFF8;
|
|
17
|
+
--digitv2-lightTheme-alert-warning: #9E5F00;
|
|
18
|
+
--digitv2-lightTheme-alert-warning-bg: #FFF9F0;
|
|
19
|
+
--digitv2-lightTheme-alert-info: #0057BD;
|
|
20
|
+
--digitv2-lightTheme-alert-infobg: #DEEFFF;
|
|
21
|
+
--digitv2-lightTheme-generic-background: #EEEEEE;
|
|
22
|
+
--digitv2-lightTheme-generic-divider: #D6D5D4;
|
|
23
|
+
--digitv2-lightTheme-generic-inputborder: #505A5F;
|
|
24
|
+
--digitv2-lightTheme-paper-primary: #FFFFFF;
|
|
25
|
+
--digitv2-lightTheme-paper-secondary: #FAFAFA;
|
|
26
|
+
--digitv2-alert-error: #D4351C;
|
|
27
|
+
--digitv2-alert-error-bg: #EFC7C1;
|
|
28
|
+
--digitv2-alert-success: #00703C;
|
|
29
|
+
--digitv2-alert-success-bg: #BAD6C9;
|
|
30
|
+
--digitv2-alert-info: #3498DB;
|
|
31
|
+
--digitv2-alert-info-bg: #C7E0F1;
|
|
32
|
+
--digitv2-chart-chart-1: #048BD0;
|
|
33
|
+
--digitv2-chart-chart-1-gradient: #048BD0;
|
|
34
|
+
--digitv2-chart-chart-2: #FBC02D;
|
|
35
|
+
--digitv2-chart-chart-2-gradient: #FBC02D;
|
|
36
|
+
--digitv2-chart-chart-3: #8E29BF;
|
|
37
|
+
--digitv2-chart-chart-4: #EA8A3B;
|
|
38
|
+
--digitv2-chart-chart-5: #0BABDE;
|
|
39
|
+
--digitv2-fontSize-heading-xl-mobile: 2rem;
|
|
40
|
+
--digitv2-fontSize-heading-xl-tablet: 2.25rem;
|
|
41
|
+
--digitv2-fontSize-heading-xl-desktop: 2.5rem;
|
|
42
|
+
--digitv2-fontSize-heading-l-mobile: 1.5rem;
|
|
43
|
+
--digitv2-fontSize-heading-l-tablet: 1.75rem;
|
|
44
|
+
--digitv2-fontSize-heading-l-desktop: 2rem;
|
|
45
|
+
--digitv2-fontSize-heading-m-mobile: 1.25rem;
|
|
46
|
+
--digitv2-fontSize-heading-m-tablet: 1.25rem;
|
|
47
|
+
--digitv2-fontSize-heading-m-desktop: 1.25rem;
|
|
48
|
+
--digitv2-fontSize-heading-s-mobile: 1rem;
|
|
49
|
+
--digitv2-fontSize-heading-s-tablet: 1rem;
|
|
50
|
+
--digitv2-fontSize-heading-s-desktop: 1rem;
|
|
51
|
+
--digitv2-fontSize-heading-xs-mobile: 0.75rem;
|
|
52
|
+
--digitv2-fontSize-heading-xs-tablet: 0.875rem;
|
|
53
|
+
--digitv2-fontSize-heading-xs-desktop: 0.875rem;
|
|
54
|
+
--digitv2-fontSize-caption-l-mobile: 1.5rem;
|
|
55
|
+
--digitv2-fontSize-caption-l-tablet: 1.75rem;
|
|
56
|
+
--digitv2-fontSize-caption-l-desktop: 1.75rem;
|
|
57
|
+
--digitv2-fontSize-caption-m-mobile: 1.25rem;
|
|
58
|
+
--digitv2-fontSize-caption-m-tablet: 1.5rem;
|
|
59
|
+
--digitv2-fontSize-caption-m-desktop: 1.5rem;
|
|
60
|
+
--digitv2-fontSize-caption-s-mobile: 1rem;
|
|
61
|
+
--digitv2-fontSize-caption-s-tablet: 1.25rem;
|
|
62
|
+
--digitv2-fontSize-caption-s-desktop: 1.25rem;
|
|
63
|
+
--digitv2-fontSize-body-l-mobile: 1rem;
|
|
64
|
+
--digitv2-fontSize-body-l-tablet: 1.25rem;
|
|
65
|
+
--digitv2-fontSize-body-l-desktop: 1.25rem;
|
|
66
|
+
--digitv2-fontSize-body-s-mobile: 0.875rem;
|
|
67
|
+
--digitv2-fontSize-body-s-tablet: 1rem;
|
|
68
|
+
--digitv2-fontSize-body-s-desktop: 1rem;
|
|
69
|
+
--digitv2-fontSize-body-xs-mobile: 0.75rem;
|
|
70
|
+
--digitv2-fontSize-body-xs-tablet: 0.875rem;
|
|
71
|
+
--digitv2-fontSize-body-xs-desktop: 0.875rem;
|
|
72
|
+
--digitv2-fontSize-label-mobile: 1rem;
|
|
73
|
+
--digitv2-fontSize-label-tablet: 1rem;
|
|
74
|
+
--digitv2-fontSize-label-desktop: 1rem;
|
|
75
|
+
--digitv2-fontSize-link-l-mobile: 1rem;
|
|
76
|
+
--digitv2-fontSize-link-l-tablet: 1.25rem;
|
|
77
|
+
--digitv2-fontSize-link-l-desktop: 1.25rem;
|
|
78
|
+
--digitv2-fontSize-link-s-mobile: 0.875rem;
|
|
79
|
+
--digitv2-fontSize-link-s-tablet: 1rem;
|
|
80
|
+
--digitv2-fontSize-link-s-desktop: 1rem;
|
|
81
|
+
--digitv2-fontSize-link-xs-mobile: 0.75rem;
|
|
82
|
+
--digitv2-fontSize-link-xs-tablet: 0.875rem;
|
|
83
|
+
--digitv2-fontSize-link-xs-desktop: 0.875rem;
|
|
84
|
+
--digitv2-fontSize-button-large: 1.25rem;
|
|
85
|
+
--digitv2-fontSize-button-medium: 1rem;
|
|
86
|
+
--digitv2-fontSize-button-small: 0.875rem;
|
|
87
|
+
--digitv2-fontFamily-sans: Roboto;
|
|
88
|
+
--digitv2-fontFamily-rc: "Roboto Condensed";
|
|
89
|
+
--digitv2-fontStyle-normal: normal;
|
|
90
|
+
--digitv2-fontStyle-italic: italic;
|
|
91
|
+
--digitv2-textDecorationLine-underline: underline;
|
|
92
|
+
--digitv2-fontWeight-regular: 400;
|
|
93
|
+
--digitv2-fontWeight-medium: 500;
|
|
94
|
+
--digitv2-fontWeight-bold: 700;
|
|
95
|
+
--digitv2-lineHeight-line-height-body-l-mobile: 1.5rem;
|
|
96
|
+
--digitv2-lineHeight-line-height-body-l-tablet: 1.75rem;
|
|
97
|
+
--digitv2-lineHeight-line-height-body-l-desktop: 1.75rem;
|
|
98
|
+
--digitv2-lineHeight-line-height-body-s-mobile: 1.0938rem;
|
|
99
|
+
--digitv2-lineHeight-line-height-body-s-tablet: 1.5rem;
|
|
100
|
+
--digitv2-lineHeight-line-height-body-s-desktop: 1.5rem;
|
|
101
|
+
--digitv2-lineHeight-line-height-body-xs-mobile: 1.125rem;
|
|
102
|
+
--digitv2-lineHeight-line-height-body-xs-tablet: 1.5rem;
|
|
103
|
+
--digitv2-lineHeight-line-height-body-xs-desktop: 1.5rem;
|
|
104
|
+
--digitv2-lineHeight-normal: normal;
|
|
105
|
+
--digitv2-lineHeight-lineheight1: 1.14rem;
|
|
106
|
+
--digitv2-lineHeight-lineheight2: 1.37rem;
|
|
107
|
+
--digitv2-screens-mobile: 400px;
|
|
108
|
+
--digitv2-screens-tablet: 768px;
|
|
109
|
+
--digitv2-screens-desktop: 1024px;
|
|
110
|
+
--digitv2-spacers-spacer0: 0rem;
|
|
111
|
+
--digitv2-spacers-spacer1: 0.25rem;
|
|
112
|
+
--digitv2-spacers-spacer2: 0.5rem;
|
|
113
|
+
--digitv2-spacers-spacer3: 0.75rem;
|
|
114
|
+
--digitv2-spacers-spacer4: 1rem;
|
|
115
|
+
--digitv2-spacers-spacer5: 1.25rem;
|
|
116
|
+
--digitv2-spacers-spacer6: 1.5rem;
|
|
117
|
+
--digitv2-spacers-spacer7: 1.75rem;
|
|
118
|
+
--digitv2-spacers-spacer8: 2rem;
|
|
119
|
+
--digitv2-spacers-spacer9: 2.25rem;
|
|
120
|
+
--digitv2-spacers-spacer10: 2.5rem;
|
|
121
|
+
--digitv2-spacers-spacer11: 2.75rem;
|
|
122
|
+
--digitv2-spacers-spacer12: 3rem;
|
|
123
|
+
--digitv2-spacers-spacer13: 3.5rem;
|
|
124
|
+
--digitv2-divider-dividerS: 0.063rem solid #D6D5D4;
|
|
125
|
+
--digitv2-divider-dividerM: 0.125rem solid #D6D5D4;
|
|
126
|
+
--digitv2-divider-dividerL: 0.25rem solid #D6D5D4;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Usage Examples:
|
|
130
|
+
.your-component {
|
|
131
|
+
gap: var(--digitv2-spacers-spacer3);
|
|
132
|
+
padding: var(--digitv2-spacers-spacer4);
|
|
133
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
134
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
135
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
136
|
+
}
|
|
137
|
+
*/
|