@digigov/css 1.0.0-88820b1e → 1.0.0-8b33e4c8

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 (65) hide show
  1. package/defaultTheme/back-to-top.json +27 -0
  2. package/defaultTheme/index.js +1 -0
  3. package/dist/base/index.css +1 -3
  4. package/dist/base.js +1 -1
  5. package/dist/components.js +1 -1
  6. package/dist/digigov.css +3 -5
  7. package/dist/utilities/index.css +1 -1
  8. package/dist/utilities.js +1 -1
  9. package/index.js +1 -1
  10. package/package.json +6 -7
  11. package/postcss.config.js +15 -14
  12. package/src/base/index.css +4 -0
  13. package/src/base/postcss.config.js +23 -22
  14. package/src/base/tailwind.config.js +19 -15
  15. package/src/components/accordion.css +19 -12
  16. package/src/components/admin-header.css +26 -0
  17. package/src/components/autocomplete.css +12 -9
  18. package/src/components/back-to-top.css +29 -0
  19. package/src/components/bottom-info.css +2 -1
  20. package/src/components/button.css +82 -33
  21. package/src/components/card.css +30 -15
  22. package/src/components/checkboxes.css +55 -12
  23. package/src/components/chip.css +31 -11
  24. package/src/components/copy-to-clipboard.css +28 -13
  25. package/src/components/drawer.css +62 -10
  26. package/src/components/dropdown.css +100 -75
  27. package/src/components/filter.css +67 -38
  28. package/src/components/footer.css +13 -7
  29. package/src/components/form.css +56 -29
  30. package/src/components/header.css +84 -30
  31. package/src/components/hidden.css +3 -0
  32. package/src/components/index.css +3 -1
  33. package/src/components/layout.css +51 -18
  34. package/src/components/loader.css +5 -16
  35. package/src/components/masthead.css +78 -0
  36. package/src/components/misc.css +17 -41
  37. package/src/components/modal.css +10 -0
  38. package/src/components/nav.css +93 -126
  39. package/src/components/notification-banner.css +14 -3
  40. package/src/components/pagination.css +40 -23
  41. package/src/components/panel.css +1 -0
  42. package/src/components/phase-banner.css +0 -6
  43. package/src/components/postcss.config.js +15 -16
  44. package/src/components/radios.css +32 -19
  45. package/src/components/stack.css +18 -18
  46. package/src/components/stepnav.css +24 -6
  47. package/src/components/summary-list.css +22 -15
  48. package/src/components/svg-icons.css +2 -62
  49. package/src/components/table.css +34 -40
  50. package/src/components/tabs.css +33 -1
  51. package/src/components/tailwind.config.js +12 -6
  52. package/src/components/task-list.css +28 -14
  53. package/src/components/timeline.css +21 -6
  54. package/src/components/typography.css +86 -68
  55. package/src/components/warning-text.css +23 -0
  56. package/src/fonts.css +1 -1
  57. package/src/index.css +0 -2
  58. package/src/pages/dropdown.js +2 -2
  59. package/src/utilities/index.css +121 -1
  60. package/src/utilities/postcss.config.js +15 -16
  61. package/src/utilities/tailwind.config.js +10 -1
  62. package/src/utilities/utilities.css +136 -13
  63. package/tailwind.config.js +19 -30
  64. package/themes.plugin.js +95 -100
  65. package/src/components/accessibility-menu.css +0 -71
@@ -15,14 +15,40 @@
15
15
  }
16
16
  .govgr-task-list__content {
17
17
  @apply mb-4;
18
+ }
19
+ .govgr-task-list__content__tag {
20
+ @apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest print:border-2 print:bg-white print:mr-4;
21
+ }
22
+ .govgr-task-list__content__tag--info {
23
+ @apply bg-info text-white print:border-info-hover print:text-info-hover;
24
+ }
25
+ .govgr-task-list__content__tag--primary {
26
+ @apply bg-secondary text-base-content print:border-info print:text-info;
27
+ }
28
+ .govgr-task-list__content__tag--secondary {
29
+ @apply bg-base-300 print:border-base-800 print:text-base-800;
30
+ }
31
+
32
+ /* overrides */
33
+
34
+ .govgr-task-list--dense{
35
+ .govgr-task-list__item {
36
+ @apply mb-4 md:mb-6;
37
+ .govgr-summary-list{
38
+ @apply mb-4 md:mb-6;
39
+ }
40
+ }
41
+ }
42
+ .govgr-task-list__content {
18
43
  .govgr-body {
19
44
  @apply mb-2 md:mb-3;
20
45
  }
21
46
  .govgr-summary-list__row:first-child {
22
- & > dt {
47
+ & > .govgr-summary-list__key {
23
48
  @apply border-t-2 border-base-400;
24
49
  }
25
- & > dd {
50
+ & > .govgr-summary-list__value,
51
+ & > .govgr-summary-list__actions {
26
52
  @apply sm:border-t-2 sm:border-base-400;
27
53
  }
28
54
  }
@@ -30,15 +56,3 @@
30
56
  @apply font-normal sm:mb-0 mb-2 pt-2;
31
57
  }
32
58
  }
33
- .govgr-task-list__content__tag {
34
- @apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest;
35
- }
36
- .govgr-task-list__content__tag--info {
37
- @apply bg-info text-white print:border-2 print:bg-white print:border-info-hover print:text-info-hover print:mr-4;
38
- }
39
- .govgr-task-list__content__tag--primary {
40
- @apply bg-secondary text-base-content print:border-2 print:bg-white print:border-info print:text-info print:mr-4;
41
- }
42
- .govgr-task-list__content__tag--secondary {
43
- @apply bg-base-300 print:border-2 print:bg-white print:border-base-800 print:text-base-800 print:mr-4;
44
- }
@@ -1,13 +1,22 @@
1
1
  .govgr-timeline {
2
2
  @apply mb-4 pl-6 pb-2 border-l-4 border-secondary;
3
- }
4
- .govgr-timeline--spaced {
5
- .govgr-timeline__item {
6
- @apply mb-10 md:mb-12;
3
+ &.govgr-timeline--dense, .govgr-dense & {
4
+ @apply pb-0 border-l-3;
5
+ .govgr-timeline__item {
6
+ @apply mb-4 md:mb-6;
7
+ }
8
+ .govgr-timeline__heading {
9
+ @apply mb-2;
10
+ &::before {
11
+ content: "";
12
+ @apply border-b-3;
13
+ }
14
+ }
7
15
  }
8
16
  }
17
+
9
18
  .govgr-timeline__item {
10
- @apply mb-8 md:mb-10;
19
+ @apply mb-10 md:mb-12;
11
20
  }
12
21
  .govgr-timeline__heading {
13
22
  @apply md:text-3xl text-2xl font-bold mx-0 md:mb-4 mb-2 relative;
@@ -31,13 +40,19 @@
31
40
  }
32
41
  .govgr-timeline__content {
33
42
  @apply mb-4;
43
+ }
44
+ .govgr-timeline__actions {
45
+ @apply flex flex-wrap items-center gap-4 mb-6;
46
+ }
47
+
48
+ /* overrides */
49
+ .govgr-timeline__content {
34
50
  .govgr-hint,
35
51
  .govgr-body {
36
52
  @apply mb-2 md:mb-3;
37
53
  }
38
54
  }
39
55
  .govgr-timeline__actions {
40
- @apply flex flex-wrap items-center gap-4 mb-6;
41
56
  .govgr-btn,
42
57
  .govgr-link {
43
58
  @apply mb-0;
@@ -1,43 +1,46 @@
1
1
  .govgr-heading-xl {
2
2
  @apply mx-0 max-w-2xl;
3
3
  font-size: var(--heading-xl-font-size);
4
- line-height:var(--heading-xl-line-height);
5
- margin-bottom:var(--heading-xl-margin-bottom);
4
+ line-height: var(--heading-xl-line-height);
5
+ margin-bottom: var(--heading-xl-margin-bottom);
6
6
  font-weight: var(--heading-xl-font-weight);
7
7
  letter-spacing: var(--heading-xl-letter-spacing);
8
8
  }
9
9
  .govgr-heading-lg {
10
10
  @apply mx-0;
11
11
  font-size: var(--heading-lg-font-size);
12
- line-height:var(--heading-lg-line-height);
13
- margin-bottom:var(--heading-lg-margin-bottom);
12
+ line-height: var(--heading-lg-line-height);
13
+ margin-bottom: var(--heading-lg-margin-bottom);
14
14
  font-weight: var(--heading-lg-font-weight);
15
15
  letter-spacing: var(--heading-lg-letter-spacing);
16
16
  }
17
17
  .govgr-heading-md {
18
18
  @apply mx-0;
19
19
  font-size: var(--heading-md-font-size);
20
- line-height:var(--heading-md-line-height);
21
- margin-bottom:var(--heading-md-margin-bottom);
20
+ line-height: var(--heading-md-line-height);
21
+ margin-bottom: var(--heading-md-margin-bottom);
22
22
  font-weight: var(--heading-md-font-weight);
23
23
  letter-spacing: var(--heading-md-letter-spacing);
24
24
  }
25
25
  .govgr-heading-sm {
26
- @apply mx-0 ;
26
+ @apply mx-0;
27
27
  font-size: var(--heading-sm-font-size);
28
- line-height:var(--heading-sm-line-height);
29
- margin-bottom:var(--heading-sm-margin-bottom);
28
+ line-height: var(--heading-sm-line-height);
29
+ margin-bottom: var(--heading-sm-margin-bottom);
30
30
  font-weight: var(--heading-sm-font-weight);
31
31
  letter-spacing: var(--heading-sm-letter-spacing);
32
- }
32
+ }
33
33
  .govgr-heading-xs {
34
- @apply mx-0 ;
34
+ @apply mx-0;
35
35
  font-size: var(--heading-xs-font-size);
36
- line-height:var(--heading-xs-line-height);
37
- margin-bottom:var(--heading-xs-margin-bottom);
36
+ line-height: var(--heading-xs-line-height);
37
+ margin-bottom: var(--heading-xs-margin-bottom);
38
38
  font-weight: var(--heading-xs-font-weight);
39
39
  letter-spacing: var(--heading-xs-letter-spacing);
40
- }
40
+ }
41
+ .govgr-heading--break-words {
42
+ @apply break-words;
43
+ }
41
44
  .govgr-caption-xl {
42
45
  @apply block mx-0 font-normal;
43
46
  color: var(--caption-xl-color);
@@ -46,7 +49,6 @@
46
49
  margin-bottom: var(--caption-xl-margin-bottom);
47
50
  font-weight: var(--caption-xl-font-weight);
48
51
  letter-spacing: var(--heading-xl-letter-spacing);
49
-
50
52
  }
51
53
  .govgr-caption-lg {
52
54
  @apply block mx-0 font-normal;
@@ -56,7 +58,6 @@
56
58
  margin-bottom: var(--caption-lg-margin-bottom);
57
59
  font-weight: var(--caption-lg-font-weight);
58
60
  letter-spacing: var(--caption-lg-letter-spacing);
59
-
60
61
  }
61
62
  .govgr-caption-md {
62
63
  @apply block mx-0 font-normal;
@@ -66,7 +67,6 @@
66
67
  margin-bottom: var(--caption-md-margin-bottom);
67
68
  font-weight: var(--caption-md-font-weight);
68
69
  letter-spacing: var(--caption-md-letter-spacing);
69
-
70
70
  }
71
71
  .govgr-\!-font-size-14 {
72
72
  @apply text-xs md:text-sm !important;
@@ -99,21 +99,26 @@
99
99
  letter-spacing: var(--list-letter-spacing);
100
100
  .govgr-list__item {
101
101
  @apply mb-2;
102
- &:last-child{
102
+ &:last-child {
103
103
  @apply mb-0;
104
104
  }
105
105
  }
106
106
  }
107
- .govgr-list__item>.govgr-list--bullet:nth-child(1){
107
+ .govgr-list__item > .govgr-list--bullet:nth-child(1) {
108
108
  list-style: circle inside none;
109
109
  }
110
- .govgr-list__item>.govgr-list>.govgr-list__item>.govgr-list--bullet:nth-child(1){
110
+ .govgr-list__item
111
+ > .govgr-list
112
+ > .govgr-list__item
113
+ > .govgr-list--bullet:nth-child(1) {
111
114
  @apply list-disc;
112
115
  }
113
- .govgr-list__item>.govgr-list:not(.govgr-list--bullet):not(.govgr-list--number):nth-child(1)>.govgr-list__item{
116
+ .govgr-list__item
117
+ > .govgr-list:not(.govgr-list--bullet):not(.govgr-list--number):nth-child(1)
118
+ > .govgr-list__item {
114
119
  @apply pl-10;
115
120
  }
116
- .govgr-list__item>.govgr-list{
121
+ .govgr-list__item > .govgr-list {
117
122
  @apply mb-0 mt-2;
118
123
  }
119
124
  .govgr-list--bullet {
@@ -122,9 +127,9 @@
122
127
  .govgr-list--number {
123
128
  @apply list-decimal list-outside pl-6;
124
129
  }
125
- .govgr-list--spaced:not(.govgr-list--horizontal)>.govgr-list__item {
130
+ .govgr-list--spaced:not(.govgr-list--horizontal) > .govgr-list__item {
126
131
  @apply mb-4;
127
- &:last-child{
132
+ &:last-child {
128
133
  @apply mb-0;
129
134
  }
130
135
  }
@@ -132,7 +137,6 @@
132
137
  @apply flex flex-wrap gap-x-6 gap-y-3;
133
138
  .govgr-list__item {
134
139
  @apply w-full sm:w-auto;
135
-
136
140
  }
137
141
  &.govgr-list--spaced {
138
142
  @apply gap-x-10 gap-y-5;
@@ -146,12 +150,16 @@
146
150
  column-count: 2;
147
151
  }
148
152
  }
149
- .govgr-list, .govgr-blockquote {
153
+ .govgr-list {
150
154
  @apply md:mb-8 mb-4 text-base-content;
151
155
  }
152
156
  .govgr-blockquote {
157
+ @apply mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500 text-base-content;
153
158
  font-size: var(--blockquote-font-size);
154
159
  line-height: var(--blockquote-line-height);
160
+ &.govgr-blockquote--dense, .govgr-dense & {
161
+ @apply mt-3 md:mb-6 p-3 border-l-6;
162
+ }
155
163
  }
156
164
  .govgr-body {
157
165
  font-size: var(--body-font-size);
@@ -175,10 +183,8 @@
175
183
  color: var(--hint-color);
176
184
  letter-spacing: var(--hint-letter-spacing);
177
185
  }
178
- .govgr-background-dark, .govgr-masthead--primary {
179
- .govgr-hint {
180
- @apply opacity-70 text-white print:text-base-content;
181
- }
186
+ .govgr-hint--break-words {
187
+ @apply break-words;
182
188
  }
183
189
 
184
190
  .govgr-\!-font-weight-regular {
@@ -201,36 +207,25 @@
201
207
  &:focus {
202
208
  color: var(--link-color-active);
203
209
  background-color: var(--color-focus);
204
- box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
205
- text-decoration:none !important;
206
- outline: none;
210
+ box-shadow:
211
+ 0 -2px var(--color-focus),
212
+ 0 4px var(--color-base-content);
213
+ text-decoration: none !important;
214
+ outline: none;
207
215
  }
208
- }
209
- .govgr-header {
210
- .govgr-header__content > .govgr-link {
211
- @apply text-white focus:text-link-active print:text-base-content;
212
- }
213
- .govgr-header__section > .govgr-link {
214
- @apply text-white focus:text-link-active print:text-base-content;
216
+ .govgr-heading-xl & ,
217
+ .govgr-heading-lg & ,
218
+ .govgr-heading-md & ,
219
+ .govgr-heading-sm & ,
220
+ .govgr-body &,
221
+ .govgr-hint &
222
+ {
223
+ font-size: inherit;
215
224
  }
216
225
  }
217
226
  .govgr-link--no-underline {
218
227
  @apply no-underline hover:underline;
219
228
  }
220
- .govgr-masthead--primary {
221
- .govgr-link {
222
- @apply text-white hover:text-white focus:text-base-content print:text-base-content;
223
- &:hover {
224
- text-decoration-thickness: 2px;
225
- }
226
- }
227
- .govgr-link--no-underline {
228
- @apply no-underline hover:underline;
229
- &:hover {
230
- text-decoration-thickness: 2px;
231
- }
232
- }
233
- }
234
229
 
235
230
  .govgr-back-link {
236
231
  font-size: var(--back-link-font-size);
@@ -241,18 +236,11 @@
241
236
  }
242
237
  &:focus {
243
238
  background-color: var(--color-focus);
244
- box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
245
- text-decoration:none;
246
- outline: none;
247
- }
248
- .govgr-svg-icon--caret {
249
- fill:var(--color-base-content);
250
- @apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
251
- }
252
- }
253
- .govgr-masthead--primary {
254
- .govgr-back-link {
255
- @apply text-white print:text-base-content;
239
+ box-shadow:
240
+ 0 -2px var(--color-focus),
241
+ 0 4px var(--color-base-content);
242
+ text-decoration: none;
243
+ outline: none;
256
244
  }
257
245
  }
258
246
 
@@ -278,7 +266,8 @@
278
266
  .govgr-body .govgr-link[href^="#"]:after {
279
267
  display: none;
280
268
  }
281
- .govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after {
269
+ .govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after
270
+ {
282
271
  content: " (" attr(href) ")";
283
272
  font-size: 80%;
284
273
  }
@@ -288,4 +277,33 @@
288
277
  .govgr-link {
289
278
  @apply text-base-content;
290
279
  }
291
- }
280
+ }
281
+
282
+ /* overrides */
283
+
284
+ .govgr-link {
285
+ .govgr-svg-icon {
286
+ fill: var(--color-link);
287
+ }
288
+ &:hover {
289
+ .govgr-svg-icon {
290
+ fill: var(--color-link-hover);
291
+ }
292
+ }
293
+ &:focus {
294
+ .govgr-svg-icon {
295
+ fill: var(--color-link-active);
296
+ }
297
+ }
298
+ }
299
+ button.govgr-link {
300
+ .govgr-svg-icon {
301
+ @apply ml-1;
302
+ }
303
+ }
304
+ .govgr-back-link {
305
+ .govgr-svg-icon--caret {
306
+ fill: var(--color-base-content);
307
+ @apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
308
+ }
309
+ }
@@ -0,0 +1,23 @@
1
+ .govgr-warning-text {
2
+ font-size: var(--warning-text-font-size);
3
+ @apply flex py-4 px-0;
4
+ .govgr-warning-text__icon {
5
+ @apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
6
+ rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
7
+ print:bg-white print:border-2 print:border-base-content print:text-base-content;
8
+ }
9
+ .govgr-warning-text__text {
10
+ @apply flex items-center;
11
+ }
12
+ .govgr-warning-text__assistive {
13
+ @apply absolute w-px h-px m-0 p-0 border-0 overflow-hidden whitespace-nowrap !important;
14
+ clip: rect(0 0 0 0) !important;
15
+ -webkit-clip-path: inset(50%) !important;
16
+ clip-path: inset(50%) !important;
17
+ }
18
+ &.govgr-warning-text--dense, .govgr-dense & {
19
+ .govgr-warning-text__icon {
20
+ @apply mr-4 md:mr-5;
21
+ }
22
+ }
23
+ }
package/src/fonts.css CHANGED
@@ -1 +1 @@
1
- @import "@fontsource/roboto/index.css";
1
+ @import "@fontsource/roboto/index.css";
package/src/index.css CHANGED
@@ -1,5 +1,3 @@
1
1
  @import "./utilities/utilities.css";
2
2
  @import "./components/components.css";
3
3
  @import "./base/base.css";
4
-
5
-
@@ -75,7 +75,7 @@ export default function Dropdown() {
75
75
  </p>
76
76
 
77
77
  <details className="govgr-dropdown">
78
- <summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary govgr-dropdown__button--arrow">
78
+ <summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary govgr-dropdown__button--chevron">
79
79
  Ενέργειες
80
80
  <svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
81
81
  <path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
@@ -143,7 +143,7 @@ export default function Dropdown() {
143
143
  </details>
144
144
 
145
145
  <details className="govgr-dropdown govgr-dropdown--left govgr-dropdown--up">
146
- <summary className="govgr-dropdown__button govgr-link govgr-dropdown__button--arrow">
146
+ <summary className="govgr-dropdown__button govgr-link govgr-dropdown__button--chevron">
147
147
  Ενέργειες
148
148
  <svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
149
149
  <path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
@@ -462,4 +462,124 @@
462
462
  }
463
463
  .govgr-gap-12 {
464
464
  @apply gap-12;
465
- }
465
+ }
466
+ .govgr-gap-xs-1 {
467
+ @apply gap-1;
468
+ }
469
+ .govgr-gap-xs-2 {
470
+ @apply gap-2;
471
+ }
472
+ .govgr-gap-xs-4 {
473
+ @apply gap-4;
474
+ }
475
+ .govgr-gap-xs-5 {
476
+ @apply gap-5;
477
+ }
478
+ .govgr-gap-xs-6 {
479
+ @apply gap-6;
480
+ }
481
+ .govgr-gap-xs-8 {
482
+ @apply gap-8;
483
+ }
484
+ .govgr-gap-xs-10 {
485
+ @apply gap-10;
486
+ }
487
+ .govgr-gap-xs-12 {
488
+ @apply gap-12;
489
+ }
490
+ .govgr-gap-sm-1 {
491
+ @apply sm:gap-1;
492
+ }
493
+ .govgr-gap-sm-2 {
494
+ @apply sm:gap-2;
495
+ }
496
+ .govgr-gap-sm-4 {
497
+ @apply sm:gap-4;
498
+ }
499
+ .govgr-gap-sm-5 {
500
+ @apply sm:gap-5;
501
+ }
502
+ .govgr-gap-sm-6 {
503
+ @apply sm:gap-6;
504
+ }
505
+ .govgr-gap-sm-8 {
506
+ @apply sm:gap-8;
507
+ }
508
+ .govgr-gap-sm-10 {
509
+ @apply sm:gap-10;
510
+ }
511
+ .govgr-gap-sm-12 {
512
+ @apply sm:gap-12;
513
+ }
514
+ .govgr-gap-md-1 {
515
+ @apply md:gap-1;
516
+ }
517
+ .govgr-gap-md-2 {
518
+ @apply md:gap-2;
519
+ }
520
+ .govgr-gap-md-4 {
521
+ @apply md:gap-4;
522
+ }
523
+ .govgr-gap-md-5 {
524
+ @apply md:gap-5;
525
+ }
526
+ .govgr-gap-md-6 {
527
+ @apply md:gap-6;
528
+ }
529
+ .govgr-gap-md-8 {
530
+ @apply md:gap-8;
531
+ }
532
+ .govgr-gap-md-10 {
533
+ @apply md:gap-10;
534
+ }
535
+ .govgr-gap-md-12 {
536
+ @apply md:gap-12;
537
+ }
538
+ .govgr-gap-lg-1 {
539
+ @apply lg:gap-1;
540
+ }
541
+ .govgr-gap-lg-2 {
542
+ @apply lg:gap-2;
543
+ }
544
+ .govgr-gap-lg-4 {
545
+ @apply lg:gap-4;
546
+ }
547
+ .govgr-gap-lg-5 {
548
+ @apply lg:gap-5;
549
+ }
550
+ .govgr-gap-lg-6 {
551
+ @apply lg:gap-6;
552
+ }
553
+ .govgr-gap-lg-8 {
554
+ @apply lg:gap-8;
555
+ }
556
+ .govgr-gap-lg-10 {
557
+ @apply lg:gap-10;
558
+ }
559
+ .govgr-gap-lg-12 {
560
+ @apply lg:gap-12;
561
+ }
562
+ .govgr-gap-xl-1 {
563
+ @apply xl:gap-1;
564
+ }
565
+ .govgr-gap-xl-2 {
566
+ @apply xl:gap-2;
567
+ }
568
+ .govgr-gap-xl-4 {
569
+ @apply xl:gap-4;
570
+ }
571
+ .govgr-gap-xl-5 {
572
+ @apply xl:gap-5;
573
+ }
574
+ .govgr-gap-xl-6 {
575
+ @apply xl:gap-6;
576
+ }
577
+ .govgr-gap-xl-8 {
578
+ @apply xl:gap-8;
579
+ }
580
+ .govgr-gap-xl-10 {
581
+ @apply xl:gap-10;
582
+ }
583
+ .govgr-gap-xl-12 {
584
+ @apply xl:gap-12;
585
+ }
@@ -1,20 +1,19 @@
1
- module.exports = {
1
+ /** @type {import('postcss-load-config').Config} */
2
+ const config = {
2
3
  plugins: [
3
- require('postcss-import'),
4
- require('tailwindcss')('./src/utilities/tailwind.config.js'),
5
- require('postcss-nested')({
6
- "bubble": [
7
- "screen"
8
- ]
9
- }),
10
- require('autoprefixer'),
11
- require('cssnano')({
12
- "preset": [
4
+ require("postcss-import"),
5
+ require("tailwindcss/nesting"),
6
+ require("tailwindcss")("./src/utilities/tailwind.config.js"),
7
+ require("autoprefixer"),
8
+ require("cssnano")({
9
+ preset: [
13
10
  "default",
14
11
  {
15
- "mergeRules": false
16
- }
17
- ]
12
+ mergeRules: false,
13
+ },
14
+ ],
18
15
  }),
19
- ]
20
- }
16
+ ],
17
+ };
18
+
19
+ module.exports = config;
@@ -1 +1,10 @@
1
- module.exports = require('../../tailwind.config.js');
1
+ const tailwindConfig = require("../../tailwind.config");
2
+
3
+ /** @type {import('tailwindcss').Config} */
4
+ module.exports = {
5
+ ...tailwindConfig,
6
+ content: {
7
+ files: ["./*.css"],
8
+ relative: true,
9
+ },
10
+ };