testio-tailwind 0.8.7 → 1.1.0
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/README.md +38 -3
- package/index.html +42 -26
- package/package.json +1 -1
- package/src/assets/stylesheets/app.css +2 -1
- package/src/assets/stylesheets/components/buttons.css +3 -1
- package/src/assets/stylesheets/components/devices.css +1 -1
- package/src/assets/stylesheets/components/fonts/testio.eot +0 -0
- package/src/assets/stylesheets/components/fonts/testio.svg +2 -0
- package/src/assets/stylesheets/components/fonts/testio.ttf +0 -0
- package/src/assets/stylesheets/components/fonts/testio.woff +0 -0
- package/src/assets/stylesheets/components/fonts/testio.woff2 +0 -0
- package/src/assets/stylesheets/components/iconfont.css +7 -1
- package/src/assets/stylesheets/components/markdown_trix_styles.css +4 -4
- package/src/assets/stylesheets/components/modals.css +0 -7
- package/src/assets/stylesheets/components/tables.css +280 -2
- package/src/assets/stylesheets/components/tags.css +16 -2
- package/src/assets/stylesheets/postcss.config.js +9 -1
- package/src/assets/stylesheets/tailwind.config.js +15 -3
- package/src/index.pug +37 -8
- package/src/pages/buttons/block.haml +1 -1
- package/src/pages/buttons/buttons-sm.haml +1 -1
- package/src/pages/buttons/buttons.haml +1 -1
- package/src/pages/buttons/buttons_input.haml +1 -1
- package/src/pages/buttons/square-buttons.haml +1 -1
- package/src/pages/ci.haml +35 -0
- package/src/pages/components/tables-cellstyle.pug +285 -0
- package/src/pages/components/tables-grid.pug +258 -0
- package/src/pages/components/tables_cells.pug +57 -0
- package/src/pages/components/tags.haml +51 -0
- package/src/pages/layout/margins.haml +55 -0
- package/src/pages/layout/paddings.haml +86 -0
- package/src/pages/layout/spacing.haml +30 -8
- package/src/pages/typography/trix_styles.haml +7 -7
- package/src/static/app.compiled.css +12896 -12027
- package/src/static/app.compiled.css.map +1 -1
- package/src/pages/ci.pug +0 -8
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
p {
|
|
29
|
-
@apply mb-xs;
|
|
29
|
+
@apply mb-xs leading-7;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
em {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
ol > li {
|
|
144
|
-
@apply mb-md;
|
|
144
|
+
@apply mb-md leading-6;
|
|
145
145
|
counter-increment: list-counter;
|
|
146
146
|
position: relative;
|
|
147
147
|
padding-left: 40px;
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
ol > li::before {
|
|
151
151
|
@apply absolute block w-spacing h-spacing pt-xxs left-0 overflow-visible text-center bg-gray-lighter;
|
|
152
152
|
content: counter(list-counter);
|
|
153
|
-
top: -
|
|
153
|
+
top: -2px;
|
|
154
154
|
font-size: 18px;
|
|
155
155
|
line-height: 1;
|
|
156
156
|
border-radius: 50%;
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
ol ol > li::before, ul ol > li::before {
|
|
188
188
|
@apply w-md h-md text-base font-medium;
|
|
189
|
-
top:
|
|
189
|
+
top: 2px;
|
|
190
190
|
padding-top: 2px;
|
|
191
191
|
line-height: 1.2;
|
|
192
192
|
}
|
|
@@ -81,13 +81,6 @@
|
|
|
81
81
|
opacity: 0.25;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.btn.disabled,
|
|
85
|
-
:disabled.btn {
|
|
86
|
-
@apply bg-transparent text-disabled;
|
|
87
|
-
background-image: url("/assets/images/btn-disabled-petrol.png");
|
|
88
|
-
background-repeat: repeat;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
84
|
/* prevent autoclosing when clicking on fade bg */
|
|
92
85
|
|
|
93
86
|
.modal-wrapper[open].fade-close-disabled .modal-trigger::before {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
th,
|
|
6
6
|
td {
|
|
7
|
-
@apply
|
|
7
|
+
@apply py-xs px-sm align-middle border-t border-bordercolor;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
thead th {
|
|
@@ -106,4 +106,282 @@
|
|
|
106
106
|
|
|
107
107
|
.table tr:has(.highlight-parent-row:hover) {
|
|
108
108
|
@apply text-white bg-link-hover cursor-pointer;
|
|
109
|
-
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
.table-standard {
|
|
113
|
+
@apply w-full;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.table-standard th, .table-standard td {
|
|
117
|
+
@apply text-left w-0 md:whitespace-nowrap last:w-auto align-top;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.table-standard th.cell-full-width, .table-standard td.cell-full-width {
|
|
121
|
+
@apply w-full;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.table-standard th {
|
|
125
|
+
@apply pb-2.5 pr-spacing last:pr-0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.table-standard tr {
|
|
129
|
+
@apply border-t first:border-0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.table-standard tfoot {
|
|
133
|
+
@apply border-t;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.table-standard tfoot.sum {
|
|
137
|
+
@apply border-t-4 border-double;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.table-standard td {
|
|
141
|
+
@apply py-2.5 pr-spacing last:pr-0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.table-standard th.wrap,
|
|
145
|
+
.table-standard td.wrap {
|
|
146
|
+
@apply whitespace-normal break-words;
|
|
147
|
+
word-break: break-word;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.table-standard th.pre,
|
|
151
|
+
.table-standard td.pre {
|
|
152
|
+
@apply whitespace-pre-line break-words;
|
|
153
|
+
word-break: break-word;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
td.action-cell,
|
|
157
|
+
.table-cellstyle td.action-cell {
|
|
158
|
+
@apply text-right min-w-auto space-x-1.5 whitespace-nowrap;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.table-cellstyle {
|
|
162
|
+
border-spacing: 2px;
|
|
163
|
+
border-collapse: separate;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.table-cellstyle th {
|
|
167
|
+
@apply relative align-middle pl-2.5 pr-0.5 py-1 text-sm font-normal;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.table-cellstyle th.missing,
|
|
171
|
+
.table-cellstyle th.inprogress,
|
|
172
|
+
.table-cellstyle th.completed {
|
|
173
|
+
@apply pr-14;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.table-cellstyle th label {
|
|
177
|
+
@apply text-sm;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.table-cellstyle th.missing::after,
|
|
181
|
+
.table-cellstyle th.inprogress::after,
|
|
182
|
+
.table-cellstyle th.complete::after,
|
|
183
|
+
.table-cellstyle .cell-editable::after {
|
|
184
|
+
@apply absolute inline-block w-icon-xs h-icon-xs right-2.5 top-2;
|
|
185
|
+
content: "";
|
|
186
|
+
mask-repeat: no-repeat;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.table-cellstyle th.missing::after {
|
|
190
|
+
@apply right-0 bg-gray-600;
|
|
191
|
+
-webkit-mask-image: url("$package_path/images/exclamation.svg");
|
|
192
|
+
mask-image: url("$package_path/images/exclamation.svg");
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.table-cellstyle th.inprogress::after {
|
|
196
|
+
@apply bg-gray-600;
|
|
197
|
+
-webkit-mask-image: url("$package_path/images/clock.svg");
|
|
198
|
+
mask-image: url("$package_path/images/clock.svg");
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.table-cellstyle th.completed::after {
|
|
202
|
+
@apply h-2.5 top-2.5 right-1.5 bg-success;
|
|
203
|
+
-webkit-mask-image: url("$package_path/images/check-thick.svg");
|
|
204
|
+
mask-image: url("$package_path/images/check-thick.svg");
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.table-cellstyle td {
|
|
208
|
+
@apply relative px-2.5 py-1.5 last:pr-3 min-w-cell min-h-11 align-top text-sm bg-gray-100;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.table-cellstyle td label {
|
|
212
|
+
@apply text-sm;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.table-cellstyle td::after {
|
|
216
|
+
@apply absolute inline-block w-icon-xs h-icon-xs right-2.5 top-2;
|
|
217
|
+
content: "";
|
|
218
|
+
mask-repeat: no-repeat;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.table-cellstyle td.missing {
|
|
222
|
+
@apply italic bg-transparent text-disabled;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.table-cellstyle td.inprogress {
|
|
226
|
+
@apply pr-9 italic bg-gray-200;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.table-cellstyle td.inprogress::after {
|
|
230
|
+
@apply bg-gray-600;
|
|
231
|
+
-webkit-mask-image: url("$package_path/images/clock.svg");
|
|
232
|
+
mask-image: url("$package_path/images/clock.svg");
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.table-cellstyle td.completed {
|
|
236
|
+
@apply pr-8;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.table-cellstyle .completed::after {
|
|
240
|
+
@apply h-2.5 top-2.5 right-1.5 bg-success;
|
|
241
|
+
-webkit-mask-image: url("$package_path/images/check-thick.svg");
|
|
242
|
+
mask-image: url("$package_path/images/check-thick.svg");
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.table-cellstyle td.cell-editable,
|
|
246
|
+
.table-cellstyle td.cell-editable.missing,
|
|
247
|
+
.table-cellstyle td.cell-editable.inprogress,
|
|
248
|
+
.table-cellstyle td.cell-editable.completed {
|
|
249
|
+
@apply w-full h-full p-0;
|
|
250
|
+
word-break: break-all;
|
|
251
|
+
|
|
252
|
+
&::after {
|
|
253
|
+
content: none;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.cell-editable .btn {
|
|
258
|
+
@apply w-btn-sm items-start justify-center px-xxs py-xs text-white;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.cell-content-editable, a.cell-content-editable {
|
|
262
|
+
@apply flex justify-between w-full h-full pl-2.5 pr-9 py-1.5 text-black no-underline font-normal hover:bg-link-hover hover:text-white cursor-pointer;
|
|
263
|
+
word-break: break-word;
|
|
264
|
+
|
|
265
|
+
&::after {
|
|
266
|
+
@apply absolute inline-block w-icon-xs h-icon-xs right-2.5 top-2 bg-primary;
|
|
267
|
+
content: "";
|
|
268
|
+
mask-repeat: round;
|
|
269
|
+
-webkit-mask-image: url("$package_path/images/edit.svg");
|
|
270
|
+
mask-image: url("$package_path/images/edit.svg");
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.cell-content-editable:hover::after, a.cell-content-editable.cell-content-editable:hover::after {
|
|
275
|
+
@apply bg-white;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.cell-edit-state {
|
|
279
|
+
@apply flex justify-between items-stretch w-full h-full p-0 border-2 border-bordercolor;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.cell-edit-state .edit-form {
|
|
283
|
+
@apply flex justify-between items-stretch h-full w-full;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.cell-edit-state textarea {
|
|
287
|
+
@apply min-h-full w-full text-sm rounded-none border-none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.cell-actions {
|
|
291
|
+
@apply flex flex-col;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.cell-actions .btn {
|
|
295
|
+
@apply flex-1 w-btn-sm items-center border-0 first:border-b-1 border-white rounded-none;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/*////// Grid Tables //////*/
|
|
299
|
+
|
|
300
|
+
.table-grid {
|
|
301
|
+
@apply grid grid-flow-col min-w-full place-items-stretch gap-0.5;
|
|
302
|
+
grid-auto-flow: row;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.table-grid thead,
|
|
306
|
+
.table-grid tbody,
|
|
307
|
+
.table-grid tr {
|
|
308
|
+
display: contents;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.table-grid th,
|
|
312
|
+
.table-grid td {
|
|
313
|
+
@apply w-full h-full whitespace-normal;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.table-grid th {
|
|
317
|
+
@apply flex justify-start items-center min-h-8;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.table-grid .cell-edit-state textarea {
|
|
321
|
+
@apply flex-1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/*////// Selectable cells //////*/
|
|
325
|
+
|
|
326
|
+
.table-cellstyle .cell-selectable {
|
|
327
|
+
@apply w-full h-full p-0;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.table-cellstyle .cell-selectable input {
|
|
331
|
+
@apply absolute left-2.5 top-1.5 h-5 w-5 border-black border rounded bg-transparent;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.table-cellstyle .cell-selectable label {
|
|
335
|
+
@apply block w-full h-full pl-10 py-1.5 pr-10 hover:bg-link-hover hover:text-white cursor-pointer;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.table-cellstyle .cell-selectable input[type=checkbox]:checked {
|
|
339
|
+
@apply text-white border-black bg-black;
|
|
340
|
+
background-image: none;
|
|
341
|
+
|
|
342
|
+
&::after {
|
|
343
|
+
@apply block w-full h-full bg-white;
|
|
344
|
+
content: "";
|
|
345
|
+
mask-image: url("$package_path/images/checkbox-background.svg");
|
|
346
|
+
-webkit-mask-image: url("$package_path/images/checkbox-background.svg");
|
|
347
|
+
mask-repeat: no-repeat;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.table-cellstyle .cell-selectable input:checked + label {
|
|
352
|
+
@apply bg-primary text-white hover:bg-link-hover;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.table-cellstyle td.cell-selectable.inprogress,
|
|
356
|
+
.table-cellstyle td.cell-selectable.completed {
|
|
357
|
+
@apply pr-0;
|
|
358
|
+
&::after {
|
|
359
|
+
content: none;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.table-cellstyle td.cell-selectable label::after {
|
|
364
|
+
@apply absolute inline-block w-icon-xs h-icon-xs right-2.5 top-2;
|
|
365
|
+
content: "";
|
|
366
|
+
mask-repeat: no-repeat;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.table-cellstyle td.cell-selectable.inprogress label::after {
|
|
370
|
+
@apply bg-gray-600;
|
|
371
|
+
-webkit-mask-image: url("$package_path/images/clock.svg");
|
|
372
|
+
mask-image: url("$package_path/images/clock.svg");
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.table-cellstyle .cell-selectable.completed label::after {
|
|
376
|
+
@apply h-2.5 top-2.5 right-1.5 bg-success;
|
|
377
|
+
-webkit-mask-image: url("$package_path/images/check-thick.svg");
|
|
378
|
+
mask-image: url("$package_path/images/check-thick.svg");
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
.table-cellstyle td.cell-selectable.inprogress label:hover::after,
|
|
383
|
+
.table-cellstyle td.cell-selectable.completed label:hover::after,
|
|
384
|
+
.table-cellstyle .cell-selectable.inprogress input:checked + label::after,
|
|
385
|
+
.table-cellstyle .cell-selectable.completed input:checked + label::after {
|
|
386
|
+
@apply bg-white;
|
|
387
|
+
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.tag .icon {
|
|
16
|
-
@apply text-xxs h-icon-xxs;
|
|
16
|
+
@apply text-icon-xxs h-icon-xxs;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.tag.sm {
|
|
@@ -26,4 +26,18 @@
|
|
|
26
26
|
|
|
27
27
|
.tag.teamleader-verified {
|
|
28
28
|
@apply text-white bg-gray-dark;
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tag.popover-tag {
|
|
32
|
+
@apply text-base h-auto hover:text-white hover:bg-link-hover cursor-pointer;
|
|
33
|
+
padding-top: 4px;
|
|
34
|
+
padding-bottom: 4px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.tag.popover-tag .icon {
|
|
38
|
+
@apply h-icon-xs mr-icon-spacing text-icon-xs;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.tag.popover-tag:hover .icon {
|
|
42
|
+
@apply text-white;
|
|
43
|
+
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
const tailwindConfig = require('./tailwind.config');
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
plugins: [
|
|
3
5
|
require('postcss-import'),
|
|
4
6
|
require('tailwindcss/nesting'),
|
|
5
|
-
require('tailwindcss')(
|
|
7
|
+
require('tailwindcss')({
|
|
8
|
+
content: [
|
|
9
|
+
'./src/**/*.{html,js,haml,pug,njk}',
|
|
10
|
+
],
|
|
11
|
+
theme: tailwindConfig.theme,
|
|
12
|
+
plugins: tailwindConfig.plugins,
|
|
13
|
+
}),
|
|
6
14
|
require('postcss-simple-vars')(
|
|
7
15
|
{
|
|
8
16
|
variables: {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
content: [
|
|
3
|
-
'./src/**/*.{html,js,haml,pug}',
|
|
4
|
-
],
|
|
5
2
|
theme: {
|
|
6
3
|
colors: {
|
|
7
4
|
transparent: 'transparent',
|
|
@@ -175,6 +172,7 @@ module.exports = {
|
|
|
175
172
|
'lg': '50px',
|
|
176
173
|
'xl': '60px',
|
|
177
174
|
'xxl': '90px',
|
|
175
|
+
'spacing-2xl': '120px',
|
|
178
176
|
'spacing-3xl': '180px',
|
|
179
177
|
'spacing-4xl': '240px',
|
|
180
178
|
'spacing-5xl': '300px',
|
|
@@ -236,6 +234,20 @@ module.exports = {
|
|
|
236
234
|
'36': '9rem',
|
|
237
235
|
'56': '14rem',
|
|
238
236
|
'spacing': '30px',
|
|
237
|
+
'xxs': '5px',
|
|
238
|
+
'xs': '10px',
|
|
239
|
+
'sm': '15px',
|
|
240
|
+
'md': '20px',
|
|
241
|
+
'lg': '50px',
|
|
242
|
+
'xl': '60px',
|
|
243
|
+
'xxl': '90px',
|
|
244
|
+
'spacing-2xl': '150px',
|
|
245
|
+
'spacing-3xl': '180px',
|
|
246
|
+
'spacing-4xl': '240px',
|
|
247
|
+
'spacing-5xl': '300px',
|
|
248
|
+
'spacing-6xl': '360px',
|
|
249
|
+
'spacing-7xl': '420px',
|
|
250
|
+
'spacing-8xl': '480px'
|
|
239
251
|
},
|
|
240
252
|
minHeight: {
|
|
241
253
|
'auto': 'auto',
|
package/src/index.pug
CHANGED
|
@@ -18,14 +18,43 @@ main.main-content.main-content-padding.flex.flex-col.justify-start.items-center
|
|
|
18
18
|
li PostCSS
|
|
19
19
|
.section-header
|
|
20
20
|
h3.section-title Integration
|
|
21
|
-
.trix-content
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
.trix-content.max-w-paragraph
|
|
22
|
+
ol
|
|
23
|
+
li
|
|
24
|
+
| Import
|
|
25
|
+
code app.css
|
|
26
|
+
| to get all relevant modules and files.
|
|
27
|
+
li Use the following PostCss configuration in your
|
|
28
|
+
code postcss.config.js
|
|
29
|
+
| file:
|
|
30
|
+
pre.mt-xs
|
|
31
|
+
code.language-js
|
|
32
|
+
| const tailwindConfig = require('PATH_TO_TAILWINDCONFIG');
|
|
33
|
+
|
|
|
34
|
+
| module.exports = {
|
|
35
|
+
| plugins: [
|
|
36
|
+
| require('postcss-import'),
|
|
37
|
+
| require('tailwindcss/nesting'),
|
|
38
|
+
| require('tailwindcss')({
|
|
39
|
+
| content: [
|
|
40
|
+
| './YOUR_PATH_HERE/**/*.{html,js,haml,pug,njk}',
|
|
41
|
+
| ],
|
|
42
|
+
| theme: tailwindConfig.theme,
|
|
43
|
+
| plugins: tailwindConfig.plugins,
|
|
44
|
+
| }),
|
|
45
|
+
| require('autoprefixer')
|
|
46
|
+
| ]
|
|
47
|
+
| }
|
|
48
|
+
li Change the path to the tailwind.config.js file from the package.
|
|
49
|
+
pre.mt-xs
|
|
50
|
+
code.language-js
|
|
51
|
+
| const tailwindConfig = require('PATH_TO_TAILWINDCONFIG');
|
|
52
|
+
li Add all paths to your layouts and components in the content block. Otherwise TailWind will not generate your required classes.
|
|
53
|
+
pre.mt-xs
|
|
54
|
+
code.language-js
|
|
55
|
+
| content: [
|
|
56
|
+
| './YOUR_PATH_HERE/**/*.{html,js,haml,pug,njk}',
|
|
57
|
+
| ],
|
|
29
58
|
.section-header
|
|
30
59
|
h3.section-title Simple start
|
|
31
60
|
p.max-w-paragraph.mb-heading To get started without any customization just download the current compiled CSS below and implement your components with the provided code.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: base
|
|
3
|
+
permalink: "ci"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
%main.main-content.main-content-padding
|
|
7
|
+
%h1.mb-heading-lg Corporate identity
|
|
8
|
+
%section.section
|
|
9
|
+
.grid.gap-10.grid-cols-2{class:"xl:grid-cols-3 2xl:grid-cols-6"}
|
|
10
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_black.svg"}
|
|
11
|
+
.flex.justify-center.bg-gray.p-md
|
|
12
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_black.svg"}
|
|
13
|
+
.text-xs.mt-2 horizontal black
|
|
14
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_white.svg"}
|
|
15
|
+
.flex.justify-center.bg-gray.p-md
|
|
16
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_white.svg"}
|
|
17
|
+
.text-xs.mt-2 horizontal white
|
|
18
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_purpleteal_white.svg"}
|
|
19
|
+
.flex.justify-center.bg-gray.p-md
|
|
20
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_purpleteal_black.svg"}
|
|
21
|
+
.text-xs.mt-2 horizontal purple teal black
|
|
22
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_purpleteal_black.svg"}
|
|
23
|
+
.flex.justify-center.bg-gray.p-md
|
|
24
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_purpleteal_white.svg"}
|
|
25
|
+
.text-xs.mt-2 horizontal purple teal white
|
|
26
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_tealpurple_white.svg"}
|
|
27
|
+
.flex.justify-center.bg-gray.p-md
|
|
28
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_tealpurple_black.svg"}
|
|
29
|
+
.text-xs.mt-2 horizontal teal purple black
|
|
30
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_tealpurple_black.svg"}
|
|
31
|
+
.flex.justify-center.bg-gray.p-md
|
|
32
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_tealpurple_white.svg"}
|
|
33
|
+
.text-xs.mt-2 horizontal teal purple white
|
|
34
|
+
|
|
35
|
+
|