@digigov/css 1.0.0-blabla-test → 1.0.0-e322b0cc

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 (69) hide show
  1. package/defaultTheme/footer.json +5 -5
  2. package/defaultTheme/typography.json +22 -2
  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 +67 -13
  16. package/src/components/admin-header.css +27 -1
  17. package/src/components/admin-layout.css +6 -0
  18. package/src/components/autocomplete.css +12 -9
  19. package/src/components/bottom-info.css +2 -1
  20. package/src/components/button.css +99 -32
  21. package/src/components/card.css +30 -15
  22. package/src/components/checkboxes.css +56 -10
  23. package/src/components/chip.css +35 -15
  24. package/src/components/copy-to-clipboard.css +52 -30
  25. package/src/components/drawer.css +58 -27
  26. package/src/components/dropdown.css +96 -71
  27. package/src/components/filter.css +71 -63
  28. package/src/components/footer.css +29 -23
  29. package/src/components/form.css +70 -47
  30. package/src/components/header.css +86 -32
  31. package/src/components/hidden.css +3 -0
  32. package/src/components/index.css +3 -1
  33. package/src/components/kitchensink.css +2 -2
  34. package/src/components/layout.css +25 -25
  35. package/src/components/loader.css +11 -22
  36. package/src/components/masthead.css +78 -0
  37. package/src/components/misc.css +17 -41
  38. package/src/components/modal.css +10 -3
  39. package/src/components/nav.css +93 -126
  40. package/src/components/notification-banner.css +32 -10
  41. package/src/components/pagination.css +41 -24
  42. package/src/components/panel.css +5 -4
  43. package/src/components/phase-banner.css +1 -7
  44. package/src/components/postcss.config.js +15 -16
  45. package/src/components/radios.css +34 -25
  46. package/src/components/stack.css +66 -0
  47. package/src/components/stepnav.css +34 -10
  48. package/src/components/summary-list.css +22 -15
  49. package/src/components/svg-icons.css +2 -62
  50. package/src/components/table.css +43 -47
  51. package/src/components/tabs.css +33 -1
  52. package/src/components/tailwind.config.js +12 -6
  53. package/src/components/task-list.css +28 -15
  54. package/src/components/timeline.css +21 -6
  55. package/src/components/typography.css +98 -64
  56. package/src/components/warning-text.css +23 -0
  57. package/src/fonts.css +1 -1
  58. package/src/index.css +0 -2
  59. package/src/pages/admin-filtering-data.js +1 -1
  60. package/src/pages/dropdown.js +2 -2
  61. package/src/pages/form.js +1 -1
  62. package/src/pages/index.js +12 -10
  63. package/src/utilities/index.css +142 -22
  64. package/src/utilities/postcss.config.js +15 -16
  65. package/src/utilities/tailwind.config.js +10 -1
  66. package/src/utilities/utilities.css +158 -34
  67. package/tailwind.config.js +18 -30
  68. package/themes.plugin.js +95 -100
  69. package/src/components/accessibility-menu.css +0 -71
@@ -1,35 +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
+ .govgr-heading-xs {
34
+ @apply mx-0;
35
+ font-size: var(--heading-xs-font-size);
36
+ line-height: var(--heading-xs-line-height);
37
+ margin-bottom: var(--heading-xs-margin-bottom);
38
+ font-weight: var(--heading-xs-font-weight);
39
+ letter-spacing: var(--heading-xs-letter-spacing);
40
+ }
41
+ .govgr-heading--break-words {
42
+ @apply break-words;
43
+ }
33
44
  .govgr-caption-xl {
34
45
  @apply block mx-0 font-normal;
35
46
  color: var(--caption-xl-color);
@@ -38,7 +49,6 @@
38
49
  margin-bottom: var(--caption-xl-margin-bottom);
39
50
  font-weight: var(--caption-xl-font-weight);
40
51
  letter-spacing: var(--heading-xl-letter-spacing);
41
-
42
52
  }
43
53
  .govgr-caption-lg {
44
54
  @apply block mx-0 font-normal;
@@ -48,7 +58,6 @@
48
58
  margin-bottom: var(--caption-lg-margin-bottom);
49
59
  font-weight: var(--caption-lg-font-weight);
50
60
  letter-spacing: var(--caption-lg-letter-spacing);
51
-
52
61
  }
53
62
  .govgr-caption-md {
54
63
  @apply block mx-0 font-normal;
@@ -58,7 +67,6 @@
58
67
  margin-bottom: var(--caption-md-margin-bottom);
59
68
  font-weight: var(--caption-md-font-weight);
60
69
  letter-spacing: var(--caption-md-letter-spacing);
61
-
62
70
  }
63
71
  .govgr-\!-font-size-14 {
64
72
  @apply text-xs md:text-sm !important;
@@ -91,21 +99,26 @@
91
99
  letter-spacing: var(--list-letter-spacing);
92
100
  .govgr-list__item {
93
101
  @apply mb-2;
94
- &:last-child{
102
+ &:last-child {
95
103
  @apply mb-0;
96
104
  }
97
105
  }
98
106
  }
99
- .govgr-list__item>.govgr-list--bullet:nth-child(1){
107
+ .govgr-list__item > .govgr-list--bullet:nth-child(1) {
100
108
  list-style: circle inside none;
101
109
  }
102
- .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) {
103
114
  @apply list-disc;
104
115
  }
105
- .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 {
106
119
  @apply pl-10;
107
120
  }
108
- .govgr-list__item>.govgr-list{
121
+ .govgr-list__item > .govgr-list {
109
122
  @apply mb-0 mt-2;
110
123
  }
111
124
  .govgr-list--bullet {
@@ -114,9 +127,9 @@
114
127
  .govgr-list--number {
115
128
  @apply list-decimal list-outside pl-6;
116
129
  }
117
- .govgr-list--spaced:not(.govgr-list--horizontal)>.govgr-list__item {
130
+ .govgr-list--spaced:not(.govgr-list--horizontal) > .govgr-list__item {
118
131
  @apply mb-4;
119
- &:last-child{
132
+ &:last-child {
120
133
  @apply mb-0;
121
134
  }
122
135
  }
@@ -124,18 +137,29 @@
124
137
  @apply flex flex-wrap gap-x-6 gap-y-3;
125
138
  .govgr-list__item {
126
139
  @apply w-full sm:w-auto;
127
-
128
140
  }
129
141
  &.govgr-list--spaced {
130
142
  @apply gap-x-10 gap-y-5;
131
143
  }
132
144
  }
133
- .govgr-list, .govgr-blockquote {
145
+ @media (min-width: 768px) {
146
+ .govgr-list--col-2 {
147
+ column-count: 2;
148
+ }
149
+ .govgr-list--col-3 {
150
+ column-count: 2;
151
+ }
152
+ }
153
+ .govgr-list {
134
154
  @apply md:mb-8 mb-4 text-base-content;
135
155
  }
136
156
  .govgr-blockquote {
157
+ @apply mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500 text-base-content;
137
158
  font-size: var(--blockquote-font-size);
138
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
+ }
139
163
  }
140
164
  .govgr-body {
141
165
  font-size: var(--body-font-size);
@@ -159,10 +183,8 @@
159
183
  color: var(--hint-color);
160
184
  letter-spacing: var(--hint-letter-spacing);
161
185
  }
162
- .govgr-background-dark, .govgr-masthead--primary {
163
- .govgr-hint {
164
- @apply opacity-70 text-white print:text-base-content;
165
- }
186
+ .govgr-hint--break-words {
187
+ @apply break-words;
166
188
  }
167
189
 
168
190
  .govgr-\!-font-weight-regular {
@@ -185,36 +207,25 @@
185
207
  &:focus {
186
208
  color: var(--link-color-active);
187
209
  background-color: var(--color-focus);
188
- box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
189
- text-decoration:none !important;
190
- outline: none;
191
- }
192
- }
193
- .govgr-header {
194
- .govgr-header__container > .govgr-link {
195
- @apply text-white focus:text-link-active print:text-base-content;
210
+ box-shadow:
211
+ 0 -2px var(--color-focus),
212
+ 0 4px var(--color-base-content);
213
+ text-decoration: none !important;
214
+ outline: none;
196
215
  }
197
- .govgr-header__content > .govgr-link {
198
- @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;
199
224
  }
200
225
  }
201
226
  .govgr-link--no-underline {
202
227
  @apply no-underline hover:underline;
203
228
  }
204
- .govgr-masthead--primary {
205
- .govgr-link {
206
- @apply text-white hover:text-white focus:text-base-content print:text-base-content;
207
- &:hover {
208
- text-decoration-thickness: 2px;
209
- }
210
- }
211
- .govgr-link--no-underline {
212
- @apply no-underline hover:underline;
213
- &:hover {
214
- text-decoration-thickness: 2px;
215
- }
216
- }
217
- }
218
229
 
219
230
  .govgr-back-link {
220
231
  font-size: var(--back-link-font-size);
@@ -225,18 +236,11 @@
225
236
  }
226
237
  &:focus {
227
238
  background-color: var(--color-focus);
228
- box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
229
- text-decoration:none;
230
- outline: none;
231
- }
232
- .govgr-svg-icon--caret {
233
- fill:var(--color-base-content);
234
- @apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
235
- }
236
- }
237
- .govgr-masthead--primary {
238
- .govgr-back-link {
239
- @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;
240
244
  }
241
245
  }
242
246
 
@@ -262,7 +266,8 @@
262
266
  .govgr-body .govgr-link[href^="#"]:after {
263
267
  display: none;
264
268
  }
265
- .govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after {
269
+ .govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after
270
+ {
266
271
  content: " (" attr(href) ")";
267
272
  font-size: 80%;
268
273
  }
@@ -272,4 +277,33 @@
272
277
  .govgr-link {
273
278
  @apply text-base-content;
274
279
  }
275
- }
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
-
@@ -29,7 +29,7 @@ export default function Home() {
29
29
  <aside className="govgr-admin-side-content">
30
30
  <div className="govgr-filter">
31
31
  <div className="govgr-filter__heading">
32
- <a className="govgr-link govgr-filter__close-btn" href="#">
32
+ <a className="govgr-link govgr-close-btn" href="#">
33
33
  Κλείσιμο
34
34
  <svg class="govgr-svg-icon--close" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <polygon points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 " /></svg>
35
35
  </a>
@@ -228,11 +228,11 @@ export default function Dropdown() {
228
228
  <hr className="govgr-section-break govgr-section-break--lg" />
229
229
 
230
230
  <footer className="govgr-footer" role="contentinfo">
231
- <div className="govgr-width-container">
231
+ <div className="govgr-container">
232
232
  <div className="govgr-footer__meta">
233
233
  <div className="govgr-footer__meta-item govgr-footer__meta-item--grow">
234
234
  <div className="govgr-footer__content">
235
- <p className="govgr-footer__licence-description">
235
+ <p className="govgr-footer__copyright">
236
236
  Υλοποίηση από το <a href="https://mindigital.gr/" target="_blank" rel="noreferrer noopener" className="govgr-link"> Υπουργείο Ψηφιακής Διακυβέρνησης <span className="govgr-visually-hidden">(ανοίγει σε καινούρια καρτέλα) </span></a>
237
237
  </p>
238
238
  </div>
package/src/pages/form.js CHANGED
@@ -26,7 +26,7 @@ export default function Home() {
26
26
  <a className="govgr-nav__list-item-link" href=""> Επικοινωνία </a>
27
27
  </ul>
28
28
  </nav>
29
- <div className="govgr-width-container">
29
+ <div className="govgr-container">
30
30
  <div className="govgr-main-wrapper">
31
31
  <div className="govgr-grid-column-two-thirds">
32
32
  <h1 className="govgr-heading-xl">Καταχώρηση φόρμας</h1>
@@ -34,7 +34,7 @@ export default function Home() {
34
34
 
35
35
 
36
36
  <div className="govgr-masthead govgr-background-dark">
37
- <div className="govgr-width-container">
37
+ <div className="govgr-container">
38
38
  <div className="govgr-main-wrapper">
39
39
  <div className="govgr-grid-column-two-thirds">
40
40
  <img className="govgr-masthead__logo" src="https://dilosi.services.gov.gr/minedu-logo.svg" alt="minedu logo" />
@@ -53,7 +53,7 @@ export default function Home() {
53
53
  </div>
54
54
  </div>
55
55
 
56
- <div className="govgr-width-container">
56
+ <div className="govgr-container">
57
57
  <div className="govgr-main-wrapper">
58
58
  <div className="govgr-grid-column-two-thirds">
59
59
 
@@ -136,12 +136,14 @@ export default function Home() {
136
136
  Η διαδικασία έκδοσης του διαβατηρίου σας μπορεί να διαρκέσει εώς 10 μέρες, εφόσον η αίτηση σας δεν έχει λάθη.
137
137
  </blockquote>
138
138
 
139
- <div className="govgr-error-summary">
140
- <h3 className="govgr-heading-sm">Υπήρξε κάποιο πρόβλημα</h3>
141
- <a className="govgr-link" href="#"> Πρέπει να συμπληρώσετε το έτος</a>
139
+ <div class="govgr-notification-banner govgr-notification-banner--error">
140
+ <div class="govgr-notification-banner__content">
141
+ <h3 className="govgr-heading-sm">Υπήρξε κάποιο πρόβλημα</h3>
142
+ <a className="govgr-link" href="#"> Πρέπει να συμπληρώσετε το έτος</a>
143
+ </div>
142
144
  </div>
143
145
 
144
- <div className="govgr-panel govgr-panel--confirmation">
146
+ <div className="govgr-panel">
145
147
  <h1 className="govgr-panel__title">Η φόρμα υποβλήθηκε επιτυχώς</h1>
146
148
  <div className="govgr-panel__body">
147
149
  Ο κωδικός εγγράφου <br />
@@ -322,11 +324,11 @@ export default function Home() {
322
324
  </div>
323
325
 
324
326
  <footer className="govgr-footer" role="contentinfo">
325
- <div className="govgr-width-container">
327
+ <div className="govgr-container">
326
328
  <div className="govgr-footer__meta">
327
329
  <div className="govgr-footer__meta-item govgr-footer__meta-item--grow">
328
330
  <div className="govgr-footer__content">
329
- <p className="govgr-footer__licence-description">
331
+ <p className="govgr-footer__copyright">
330
332
  Υλοποίηση από το <a href="https://mindigital.gr/" target="_blank" rel="noreferrer noopener" className="govgr-link"> Υπουργείο Ψηφιακής Διακυβέρνησης <span className="govgr-visually-hidden">(ανοίγει σε καινούρια καρτέλα) </span></a>
331
333
  </p>
332
334
  </div>
@@ -339,7 +341,7 @@ export default function Home() {
339
341
  </footer>
340
342
 
341
343
  <footer className="govgr-footer" role="contentinfo">
342
- <div className="govgr-width-container">
344
+ <div className="govgr-container">
343
345
  <div className="govgr-footer__navigation">
344
346
  <div className="govgr-footer__section">
345
347
  <h2 className="govgr-footer__heading govgr-heading-sm">Λίστα δύο στηλών</h2>
@@ -399,7 +401,7 @@ export default function Home() {
399
401
  <img className="govgr-footer__logo" src="/img/government-logo2.svg" alt="government logo" />
400
402
  <img className="govgr-footer__logo" src="/img/government-logo2.svg" alt="government logo" />
401
403
  </div>
402
- <p className="govgr-footer__licence-description">
404
+ <p className="govgr-footer__copyright">
403
405
  Υλοποίηση από το <a href="https://mindigital.gr/" target="_blank" rel="noreferrer noopener" className="govgr-footer__link"> Υπουργείο Ψηφιακής Διακυβέρνησης <span className="govgr-visually-hidden">(ανοίγει σε καινούρια καρτέλα)</span></a>
404
406
  </p>
405
407
  </div>
@@ -394,27 +394,6 @@
394
394
  .govgr-grid-inline {
395
395
  @apply inline-grid;
396
396
  }
397
- .govgr-grid__gap-1 {
398
- @apply gap-1;
399
- }
400
- .govgr-grid__gap-2 {
401
- @apply gap-2;
402
- }
403
- .govgr-grid__gap-4 {
404
- @apply gap-4;
405
- }
406
- .govgr-grid__gap-6 {
407
- @apply gap-6;
408
- }
409
- .govgr-grid__gap-8 {
410
- @apply gap-8;
411
- }
412
- .govgr-grid__gap-10 {
413
- @apply gap-10;
414
- }
415
- .govgr-grid__gap-12 {
416
- @apply gap-12;
417
- }
418
397
  .govgr-grid__col-auto {
419
398
  @apply col-auto;
420
399
  }
@@ -462,4 +441,145 @@
462
441
  }
463
442
  .govgr-print-visible-inline {
464
443
  @apply print:inline !important;
465
- }
444
+ }
445
+ .govgr-gap-1 {
446
+ @apply gap-1;
447
+ }
448
+ .govgr-gap-2 {
449
+ @apply gap-2;
450
+ }
451
+ .govgr-gap-4 {
452
+ @apply gap-4;
453
+ }
454
+ .govgr-gap-6 {
455
+ @apply gap-6;
456
+ }
457
+ .govgr-gap-8 {
458
+ @apply gap-8;
459
+ }
460
+ .govgr-gap-10 {
461
+ @apply gap-10;
462
+ }
463
+ .govgr-gap-12 {
464
+ @apply gap-12;
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
+ };