@digigov/theme-grnet 2.0.0-834daea4 → 2.0.0-aefd0709

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.
@@ -1,688 +0,0 @@
1
- :root {
2
- --text-sm-default: 0.875rem;
3
- --text-base-default: 1rem;
4
- --text-lg-default: 1.1875rem;
5
- --text-xl-default: 1.25rem;
6
- --text-2xl-default: 1.5rem;
7
- --text-3xl-default: 1.875rem;
8
- --text-4xl-default: 2.25rem;
9
- --text-5xl-default: 3rem;
10
-
11
- --text-sm-large: 1rem;
12
- --text-base-large: 1.25rem;
13
- --text-lg-large: 1.4rem;
14
- --text-xl-large: 1.6rem;
15
- --text-2xl-large: 1.875rem;
16
- --text-3xl-large: 2.25rem;
17
- --text-4xl-large: 2.5rem;
18
- --text-5xl-large: 3rem;
19
-
20
- --text-sm: var(--text-sm-default);
21
- --text-base: var(--text-base-default);
22
- --text-lg: var(--text-lg-default);
23
- --text-xl: var(--text-xl-default);
24
- --text-2xl: var(--text-2xl-default);
25
- --text-3xl: var(--text-3xl-default);
26
- --text-4xl: var(--text-4xl-default);
27
- --text-5xl: var(--text-5xl-default);
28
-
29
- --line-h-sm-default: 1.375;
30
- --line-h-base-default: 1.375;
31
- --line-h-lg-default: 1.375;
32
- --line-h-xl-default: 1.25;
33
- --line-h-2xl-default: 1.25;
34
- --line-h-3xl-default: 1.25;
35
- --line-h-4xl-default: 1.25;
36
- --line-h-5xl-default: 1.25;
37
-
38
- --line-h-sm-large: 2;
39
- --line-h-base-large: 2;
40
- --line-h-lg-large: 2;
41
- --line-h-xl-large: 1.75;
42
- --line-h-2xl-large: 1.75;
43
- --line-h-3xl-large: 1.5;
44
- --line-h-4xl-large: 1.5;
45
- --line-h-5xl-large: 1.25;
46
-
47
- --line-h-sm: var(--line-h-sm-default);
48
- --line-h-base: var(--line-h-base-default);
49
- --line-h-lg: var(--line-h-lg-default);
50
- --line-h-xl: var(--line-h-xl-default);
51
- --line-h-2xl: var(--line-h-2xl-default);
52
- --line-h-3xl: var(--line-h-3xl-default);
53
- --line-h-4xl: var(--line-h-4xl-default);
54
- --line-h-5xl: var(--line-h-5xl-default);
55
-
56
- --letter-spacing-normal-default: normal;
57
- --letter-spacing-wide-default: 0.025rem;
58
- --letter-spacing-wider-default: 0.05rem;
59
- --letter-spacing-widest-default: 0.075rem;
60
-
61
- --letter-spacing-normal-extra: 0.05rem;
62
- --letter-spacing-wide-extra: 0.075rem;
63
- --letter-spacing-wider-extra: 0.01rem;
64
- --letter-spacing-widest-extra: 0.125rem;
65
-
66
- --letter-spacing-normal: var(--letter-spacing-normal-default);
67
- --letter-spacing-wide: var(--letter-spacing-wide-default);
68
- --letter-spacing-wider: var(--letter-spacing-wider-default);
69
- --letter-spacing-widest: var(--letter-spacing-widest-default);
70
-
71
- --border-radius-md: 4px;
72
- --border-radius-lg: 8px;
73
-
74
- /* TODO: This was not originally defined */
75
- --color-footer-link: var(--color-link);
76
- --color-footer-link-hover: var(--color-link-hover);
77
-
78
- --color-header-text: var(--black);
79
- --color-header-text-hover: var(--black);
80
- }
81
-
82
- .ds-accordion__section-heading {
83
- --accordion__section-heading-font-size: var(--text-lg);
84
- }
85
-
86
- @media (min-width: 768px) {
87
-
88
- .ds-accordion__section-heading {
89
- --accordion__section-heading-font-size: var(--text-xl)
90
- }
91
- }
92
-
93
- .ds-accordion__section-summary {
94
- --accordion__section-summary-background: var(--color-base-200);
95
- --accordion__section-summary-background-hover: var(--color-base-300);
96
- }
97
-
98
- .ds-breadcrumbs__list-item {
99
- --breadcrumbs__list-item-font-size: var(--text-sm);
100
- }
101
-
102
- @media (min-width: 768px) {
103
-
104
- .ds-breadcrumbs__list-item {
105
- --breadcrumbs__list-item-font-size: var(--text-base)
106
- }
107
- }
108
-
109
- .ds-back-to-top-link {
110
- --back-to-top-link-color: var(--color-link);
111
- --back-to-top-link-color-active: var(--color-link-active);
112
- --back-to-top-link-color-hover: var(--color-link-hover);
113
- --back-to-top-link-padding: 0px;
114
- --back-to-top-link-font-size: var(--text-base);
115
- --back-to-top-link-line-height: var(--line-h-base);
116
- --back-to-top-link-letter-spacing: var(--letter-spacing-normal);
117
- }
118
-
119
- @media (min-width: 768px) {
120
-
121
- .ds-back-to-top-link {
122
- --back-to-top-link-font-size: var(--text-lg);
123
- --back-to-top-link-line-height: var(--line-h-lg)
124
- }
125
- }
126
-
127
- .ds-btn {
128
- --btn-border-radius: 4px;
129
- --btn-padding: 0.5rem 1.25rem;
130
- --btn-letter-spacing: var(--letter-spacing-wide);
131
- --btn-font-size: var(--text-base);
132
- }
133
-
134
- @media (min-width: 768px) {
135
-
136
- .ds-btn {
137
- --btn-font-size: var(--text-lg)
138
- }
139
- }
140
-
141
- @media print {
142
-
143
- .ds-btn {
144
- --btn-padding: 0.5rem 1rem
145
- }
146
- }
147
-
148
- .ds-btn-cta {
149
- --btn-cta-font-size: var(--text-lg);
150
- }
151
-
152
- @media (min-width: 768px) {
153
-
154
- .ds-btn-cta {
155
- --btn-cta-font-size: var(--text-xl)
156
- }
157
- }
158
-
159
- .ds-btn-primary {
160
- --btn-primary-background-color: var(--color-primary);
161
- --btn-primary-color: var(--color-base-content);
162
- --btn-primary-background-color-hover: var(--color-primary-300);
163
- --btn-primary-color-hover: var(--color-base-content);
164
- --btn-primary-background-color-active: var(--color-primary-300);
165
- --btn-primary-box-shadow: 0;
166
- }
167
-
168
- @media print {
169
-
170
- .ds-btn-primary {
171
- --btn-primary-background-color: var(--color-white);
172
- --btn-primary-color: var(--color-base-content)
173
- }
174
- }
175
-
176
- .ds-btn-secondary {
177
- --btn-secondary-background-color: var(--color-base-300);
178
- --btn-secondary-color: var(--color-base-content);
179
- --btn-secondary-background-color-hover: var(--color-base-400);
180
- --btn-secondary-color-hover: var(--color-base-content);
181
- --btn-secondary-background-color-active: var(--color-base-500);
182
- --btn-secondary-box-shadow: 0;
183
- }
184
-
185
- @media print {
186
-
187
- .ds-btn-secondary {
188
- --btn-secondary-background-color: var(--color-white);
189
- --btn-secondary-color: var(--color-base-content)
190
- }
191
- }
192
-
193
- .ds-btn-warning {
194
- --btn-warning-background-color: var(--color-error);
195
- --btn-warning-color: var(--color-white);
196
- --btn-warning-background-color-hover: var(--color-error-hover);
197
- --btn-warning-color-hover: var(--color-white);
198
- --btn-warning-background-color-active: var(--color-error-hover);
199
- --btn-warning-box-shadow: 0;
200
- }
201
-
202
- @media print {
203
-
204
- .ds-btn-warning {
205
- --btn-warning-background-color: var(--color-white);
206
- --btn-warning-color: var(--color-base-content)
207
- }
208
- }
209
-
210
- .ds-card__text {
211
- --card__text-font-size: var(--text-base);
212
- --card__text-line-height: var(--line-h-base);
213
- }
214
-
215
- @media (min-width: 768px) {
216
-
217
- .ds-card__text {
218
- --card__text-font-size: var(--text-lg);
219
- --card__text-line-height: var(--line-h-lg)
220
- }
221
- }
222
-
223
- .ds-card {
224
- --card-border-radius: var(--border-radius-lg);
225
- --card-background-color: var(--color-base-200);
226
- --card-padding: 1.5rem 1rem;
227
- }
228
-
229
- .ds-label {
230
- --label-font-size: var(--text-base);
231
- --label-line-height: var(--line-h-base);
232
- --label-letter-spacing: var(--letter-spacing-normal);
233
- }
234
-
235
- @media (min-width: 768px) {
236
-
237
- .ds-label {
238
- --label-font-size: var(--text-lg);
239
- --label-line-height: var(--line-h-lg)
240
- }
241
- }
242
-
243
- .ds-input {
244
- --input-border-radius: var(--border-radius-md);
245
- }
246
-
247
- .ds-textarea {
248
- --textarea-border-radius: var(--border-radius-md);
249
- }
250
-
251
- .ds-select {
252
- --select-border-radius: var(--border-radius-md);
253
- }
254
-
255
- .ds-footer__copyright {
256
- --footer__copyright-font-size: var(--text-sm);
257
- }
258
-
259
- @media (min-width: 768px) {
260
-
261
- .ds-footer__copyright {
262
- --footer__copyright-font-size: var(--text-base)
263
- }
264
- }
265
-
266
- .ds-footer {
267
- --footer-border: solid var(--color-tertiary);
268
- --footer-border-width: 0;
269
- --footer-background-color: var(--color-base-900);
270
- --footer-color: var(--color-base-200);
271
- }
272
-
273
- .ds-footer__link {
274
- --footer__link-text-decoration: none;
275
- --footer__link-text-decoration-hover: underline;
276
- --footer__link-color-hover: var(--color-base-300);
277
- --footer__link-color-focus: var(--color-base-content);
278
- }
279
-
280
- .ds-header {
281
- --header-border: solid var(--color-base-300);
282
- --header-border-width: 0 0 1px 0;
283
- --header-background: var(--color-base-200);
284
- }
285
-
286
- .ds-header__title {
287
- --header__title-color: var(--header-color);
288
- --header__title-color-hover: var(--header-color-hover);
289
- }
290
-
291
- .ds-warning-text {
292
- --warning-text-font-size: var(--text-base);
293
- }
294
-
295
- @media (min-width: 768px) {
296
-
297
- .ds-warning-text {
298
- --warning-text-font-size: var(--text-lg)
299
- }
300
- }
301
-
302
- .ds-details {
303
- --details-font-size: var(--text-base);
304
- --details-line-height: var(--line-h-base);
305
- }
306
-
307
- @media (min-width: 768px) {
308
-
309
- .ds-details {
310
- --details-font-size: var(--text-lg);
311
- --details-line-height: var(--line-h-lg)
312
- }
313
- }
314
-
315
- .ds-details__summary {
316
- --details__summary-font-size: var(--text-base);
317
- --details__summary-line-height: var(--line-h-base);
318
- }
319
-
320
- @media (min-width: 768px) {
321
-
322
- .ds-details__summary {
323
- --details__summary-font-size: var(--text-lg);
324
- --details__summary-line-height: var(--line-h-lg)
325
- }
326
- }
327
-
328
- .ds-details__summary--lg {
329
- --details__summary--lg-font-size: var(--text-lg);
330
- --details__summary--lg-line-height: var(--line-h-lg);
331
- }
332
-
333
- @media (min-width: 768px) {
334
-
335
- .ds-details__summary--lg {
336
- --details__summary--lg-font-size: var(--text-xl);
337
- --details__summary--lg-line-height: var(--line-h-xl)
338
- }
339
- }
340
-
341
- .ds-blockquote {
342
- --blockquote-font-size: var(--text-base);
343
- --blockquote-line-height: var(--line-h-base);
344
- }
345
-
346
- @media (min-width: 768px) {
347
-
348
- .ds-blockquote {
349
- --blockquote-font-size: var(--text-lg);
350
- --blockquote-line-height: var(--line-h-lg)
351
- }
352
- }
353
-
354
- .ds-notification-banner {
355
- --notification-banner-border-radius: var(--border-radius-md);
356
- }
357
-
358
- .ds-circular-progress__circle--1 {
359
- --circular-progress__circle--1-stroke: var(--color-secondary);
360
- }
361
-
362
- .ds-circular-progress__circle--2 {
363
- --circular-progress__circle--2-stroke: var(--color-tertiary);
364
- }
365
-
366
- .ds-tabs__panel {
367
- --tabs__panel-border-radius: 0 var(--border-radius-md) var(--border-radius-lg);
368
- }
369
-
370
- .ds-panel {
371
- --panel-border-radius: var(--border-radius-md);
372
- }
373
-
374
- .ds-panel__title {
375
- --panel__title-font-size: var(--text-4xl);
376
- --panel__title-line-height: var(--line-h-4xl);
377
- --panel__title-margin-bottom: 1rem;
378
- --panel__title-font-weight: 700;
379
- --panel__title-letter-spacing: var(--letter-spacing-normal);
380
- }
381
-
382
- @media (min-width: 768px) {
383
-
384
- .ds-panel__title {
385
- --panel__title-font-size: var(--text-5xl);
386
- --panel__title-line-height: var(--line-h-5xl);
387
- --panel__title-margin-bottom: 1.5rem
388
- }
389
- }
390
-
391
- @media print {
392
-
393
- .ds-panel__title {
394
- --panel__title-font-size: var(--text-4xl);
395
- --panel__title-line-height: var(--line-h-4xl);
396
- --panel__title-margin-bottom: 1.5rem
397
- }
398
- }
399
-
400
- .ds-panel__body {
401
- --panel__body-font-size: var(--text-2xl);
402
- --panel__body-line-height: var(--line-h-2xl);
403
- --panel__body-margin: auto;
404
- --panel__body-letter-spacing: var(--letter-spacing-normal);
405
- }
406
-
407
- @media (min-width: 768px) {
408
-
409
- .ds-panel__body {
410
- --panel__body-font-size: var(--text-4xl);
411
- --panel__body-line-height: var(--line-h-4xl)
412
- }
413
- }
414
-
415
- @media print {
416
-
417
- .ds-panel__body {
418
- --panel__body-font-size: var(--text-2xl);
419
- --panel__body-line-height: var(--line-h-2xl)
420
- }
421
- }
422
-
423
- .ds-phase-banner__content {
424
- --phase-banner__content-font-size: var(--text-base);
425
- }
426
-
427
- @media (min-width: 768px) {
428
-
429
- .ds-phase-banner__content {
430
- --phase-banner__content-font-size: var(--text-lg)
431
- }
432
- }
433
-
434
- .ds-radios__label {
435
- --radios__label-font-size: var(--text-base);
436
- }
437
-
438
- @media (min-width: 768px) {
439
-
440
- .ds-radios__label {
441
- --radios__label-font-size: var(--text-lg)
442
- }
443
- }
444
-
445
- .ds-summary-list {
446
- --summary-list-font-size: var(--text-base);
447
- }
448
-
449
- @media (min-width: 768px) {
450
-
451
- .ds-summary-list {
452
- --summary-list-font-size: var(--text-lg)
453
- }
454
- }
455
-
456
- .ds-heading-xl {
457
- --heading-xl-font-size: var(--text-3xl);
458
- --heading-xl-line-height: var(--line-h-3xl);
459
- --heading-xl-margin-bottom: 2rem;
460
- --heading-xl-font-weight: 700;
461
- --heading-xl-letter-spacing: var(--letter-spacing-normal);
462
- }
463
-
464
- @media (min-width: 768px) {
465
-
466
- .ds-heading-xl {
467
- --heading-xl-font-size: var(--text-5xl);
468
- --heading-xl-line-height: var(--line-h-5xl);
469
- --heading-xl-margin-bottom: 3rem
470
- }
471
- }
472
-
473
- .ds-heading-lg {
474
- --heading-lg-font-size: var(--text-2xl);
475
- --heading-lg-line-height: var(--line-h-2xl);
476
- --heading-lg-margin-bottom: 2rem;
477
- --heading-lg-font-weight: 700;
478
- --heading-lg-letter-spacing: var(--letter-spacing-normal);
479
- }
480
-
481
- @media (min-width: 768px) {
482
-
483
- .ds-heading-lg {
484
- --heading-lg-font-size: var(--text-4xl);
485
- --heading-lg-line-height: var(--line-h-4xl);
486
- --heading-lg-margin-bottom: 2.5rem
487
- }
488
- }
489
-
490
- .ds-heading-md {
491
- --heading-md-font-size: var(--text-xl);
492
- --heading-md-line-height: var(--line-h-xl);
493
- --heading-md-margin-bottom: 1.5rem;
494
- --heading-md-font-weight: 700;
495
- --heading-md-letter-spacing: var(--letter-spacing-normal);
496
- }
497
-
498
- @media (min-width: 768px) {
499
-
500
- .ds-heading-md {
501
- --heading-md-font-size: var(--text-2xl);
502
- --heading-md-line-height: var(--line-h-2xl);
503
- --heading-md-margin-bottom: 2rem
504
- }
505
- }
506
-
507
- .ds-heading-sm {
508
- --heading-sm-font-size: var(--text-base);
509
- --heading-sm-line-height: var(--line-h-base);
510
- --heading-sm-margin-bottom: 0.75rem;
511
- --heading-sm-font-weight: 700;
512
- --heading-sm-letter-spacing: var(--letter-spacing-normal);
513
- }
514
-
515
- @media (min-width: 768px) {
516
-
517
- .ds-heading-sm {
518
- --heading-sm-font-size: var(--text-lg);
519
- --heading-sm-line-height: var(--line-h-lg);
520
- --heading-sm-margin-bottom: 1.25rem
521
- }
522
- }
523
-
524
- .ds-heading-xs {
525
- --heading-xs-font-size: var(--text-sm);
526
- --heading-xs-line-height: var(--line-h-sm);
527
- --heading-xs-margin-bottom: 0.5rem;
528
- --heading-xs-font-weight: 700;
529
- --heading-xs-letter-spacing: var(--letter-spacing-normal);
530
- }
531
-
532
- @media (min-width: 768px) {
533
-
534
- .ds-heading-xs {
535
- --heading-xs-font-size: var(--text-base);
536
- --heading-xs-line-height: var(--line-h-base);
537
- --heading-xs-margin-bottom: 1rem
538
- }
539
- }
540
-
541
- .ds-caption-xl {
542
- --caption-xl-font-size: var(--text-xl);
543
- --caption-xl-line-height: var(--line-h-xl);
544
- --caption-xl-margin-bottom: 0.25rem;
545
- --caption-xl-color: var(--color-base-800);
546
- --caption-xl-font-weight: 400;
547
- --caption-xl-letter-spacing: var(--letter-spacing-normal);
548
- }
549
-
550
- @media (min-width: 768px) {
551
-
552
- .ds-caption-xl {
553
- --caption-xl-font-size: var(--text-2xl);
554
- --caption-xl-line-height: var(--line-h-2xl);
555
- --caption-xl-margin-bottom: 0.5rem
556
- }
557
- }
558
-
559
- .ds-caption-lg {
560
- --caption-lg-font-size: var(--text-lg);
561
- --caption-lg-line-height: var(--line-h-lg);
562
- --caption-lg-margin-bottom: 0rem;
563
- --caption-lg-color: var(--color-base-800);
564
- --caption-lg-font-weight: 400;
565
- --caption-lg-letter-spacing: var(--letter-spacing-normal);
566
- }
567
-
568
- @media (min-width: 768px) {
569
-
570
- .ds-caption-lg {
571
- --caption-lg-font-size: var(--text-xl);
572
- --caption-lg-line-height: var(--line-h-xl)
573
- }
574
- }
575
-
576
- .ds-caption-md {
577
- --caption-md-font-size: var(--text-base);
578
- --caption-md-line-height: var(--line-h-base);
579
- --caption-md-margin-bottom: 0rem;
580
- --caption-md-color: var(--color-base-800);
581
- --caption-md-font-weight: 400;
582
- --caption-md-letter-spacing: var(--letter-spacing-normal);
583
- }
584
-
585
- @media (min-width: 768px) {
586
-
587
- .ds-caption-md {
588
- --caption-md-font-size: var(--text-lg);
589
- --caption-md-line-height: var(--line-h-lg)
590
- }
591
- }
592
-
593
- .ds-body {
594
- --body-font-size: var(--text-base);
595
- --body-line-height: var(--line-h-base);
596
- --body-margin-bottom: 1rem;
597
- --body-color: var(--color-base-content);
598
- --body-letter-spacing: var(--letter-spacing-normal);
599
- }
600
-
601
- @media (min-width: 768px) {
602
-
603
- .ds-body {
604
- --body-font-size: var(--text-lg);
605
- --body-line-height: var(--line-h-lg);
606
- --body-margin-bottom: 2rem
607
- }
608
- }
609
-
610
- .ds-body-lg {
611
- --body-lg-font-size: var(--text-lg);
612
- --body-lg-line-height: var(--line-h-lg);
613
- }
614
-
615
- .ds-body-sm {
616
- --body-sm-font-size: var(--text-sm);
617
- --body-sm-line-height: var(--line-h-sm);
618
- }
619
-
620
- .ds-hint {
621
- --hint-font-size: var(--text-base);
622
- --hint-line-height: var(--line-h-base);
623
- --hint-margin-bottom: 1rem;
624
- --hint-color: var(--color-base-800);
625
- --hint-letter-spacing: var(--letter-spacing-normal);
626
- }
627
-
628
- @media (min-width: 768px) {
629
-
630
- .ds-hint {
631
- --hint-font-size: var(--text-lg);
632
- --hint-line-height: var(--line-h-lg)
633
- }
634
- }
635
-
636
- .ds-hint-lg {
637
- --hint-lg-font-size: var(--text-lg);
638
- --hint-lg-line-height: var(--line-h-lg);
639
- }
640
-
641
- .ds-hint-sm {
642
- --hint-sm-font-size: var(--text-sm);
643
- --hint-sm-line-height: var(--line-h-sm);
644
- }
645
-
646
- .ds-link {
647
- --link-color: var(--color-link);
648
- --link-color-active: var(--color-link-active);
649
- --link-color-hover: var(--color-link-hover);
650
- --link-padding: 0px;
651
- --link-font-size: var(--text-base);
652
- --link-line-height: var(--line-h-base);
653
- --link-letter-spacing: var(--letter-spacing-normal);
654
- }
655
-
656
- @media (min-width: 768px) {
657
-
658
- .ds-link {
659
- --link-font-size: var(--text-lg);
660
- --link-line-height: var(--line-h-lg)
661
- }
662
- }
663
-
664
- .ds-back-link {
665
- --back-link-font-size: var(--text-base);
666
- --back-link-letter-spacing: var(--letter-spacing-normal);
667
- }
668
-
669
- @media (min-width: 768px) {
670
-
671
- .ds-back-link {
672
- --back-link-font-size: var(--text-lg)
673
- }
674
- }
675
-
676
- .ds-list {
677
- --list-font-size: var(--text-base);
678
- --list-line-height: var(--line-h-base);
679
- --list-letter-spacing: var(--letter-spacing-normal);
680
- }
681
-
682
- @media (min-width: 768px) {
683
-
684
- .ds-list {
685
- --list-font-size: var(--text-lg);
686
- --list-line-height: var(--line-h-lg)
687
- }
688
- }