holygrail5 1.0.23 → 1.0.25
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/config.json +11 -1
- package/dist/guide-styles.css +57 -0
- package/dist/index.html +1148 -1552
- package/dist/output.css +10 -0
- package/dist/themes/dutti-demo.html +82 -42
- package/package.json +1 -1
- package/src/.data/.previous-values.json +21 -4
- package/src/docs-generator/guide-styles.css +57 -0
- package/src/docs-generator/html-generator.js +86 -204
package/config.json
CHANGED
|
@@ -138,7 +138,17 @@
|
|
|
138
138
|
"gold": "#A38A6B",
|
|
139
139
|
"platinum": "#5B7FA1",
|
|
140
140
|
"bg-light": "#f9f9f9",
|
|
141
|
-
"bg-cream": "#f4f2ed"
|
|
141
|
+
"bg-cream": "#f4f2ed",
|
|
142
|
+
"black-3": "rgba(0, 0, 0, 0.03)",
|
|
143
|
+
"black-15": "rgba(0, 0, 0, 0.15)",
|
|
144
|
+
"black-30": "rgba(0, 0, 0, 0.3)",
|
|
145
|
+
"black-60": "rgba(0, 0, 0, 0.6)",
|
|
146
|
+
"black-97": "rgba(0, 0, 0, 0.97)",
|
|
147
|
+
"white-3": "rgba(255, 255, 255, 0.03)",
|
|
148
|
+
"white-15": "rgba(255, 255, 255, 0.15)",
|
|
149
|
+
"white-30": "rgba(255, 255, 255, 0.3)",
|
|
150
|
+
"white-60": "rgba(255, 255, 255, 0.6)",
|
|
151
|
+
"white-97": "rgba(255, 255, 255, 0.97)"
|
|
142
152
|
},
|
|
143
153
|
"fontFamilyMap": {
|
|
144
154
|
"primary-thin": "\"suisse-thin\", Arial, Helvetica, sans-serif",
|
package/dist/guide-styles.css
CHANGED
|
@@ -450,6 +450,50 @@ h2 {
|
|
|
450
450
|
overflow: auto;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
+
/* Dos tablas lado a lado en desktop para ver más filas sin tanto scroll;
|
|
454
|
+
se apilan en una sola columna en móvil. Genérico: lo usan Ratios y
|
|
455
|
+
Containers. */
|
|
456
|
+
.guide-cols-2 {
|
|
457
|
+
display: grid;
|
|
458
|
+
grid-template-columns: 1fr;
|
|
459
|
+
gap: 0 2.5rem;
|
|
460
|
+
align-items: start;
|
|
461
|
+
}
|
|
462
|
+
@media (min-width: 768px) {
|
|
463
|
+
.guide-cols-2 {
|
|
464
|
+
grid-template-columns: 1fr 1fr;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
/* Tamaño compacto y unificado dentro de las vistas a 2 columnas
|
|
468
|
+
(Containers/Ratios), en línea con la densidad de la sección Layout. */
|
|
469
|
+
.guide-cols-2 .guide-table {
|
|
470
|
+
font-size: 0.78rem;
|
|
471
|
+
}
|
|
472
|
+
.guide-cols-2 .guide-table thead th {
|
|
473
|
+
font-size: 0.68rem;
|
|
474
|
+
padding-top: 0.3rem;
|
|
475
|
+
padding-bottom: 0.3rem;
|
|
476
|
+
}
|
|
477
|
+
.guide-cols-2 .guide-table td {
|
|
478
|
+
padding-top: 0.28rem;
|
|
479
|
+
padding-bottom: 0.28rem;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/* Badge "md:" en los títulos de grupo de la sección Layout (indica que el
|
|
483
|
+
helper tiene variantes responsive). */
|
|
484
|
+
.guide-layout-md {
|
|
485
|
+
font-size: 0.58rem;
|
|
486
|
+
font-weight: 600;
|
|
487
|
+
letter-spacing: 0;
|
|
488
|
+
text-transform: none;
|
|
489
|
+
color: var(--hg-color-dark-grey, #737373);
|
|
490
|
+
background: var(--hg-color-light-grey, #f4f2ed);
|
|
491
|
+
border-radius: 3px;
|
|
492
|
+
padding: 1px 5px;
|
|
493
|
+
margin-left: 0.35rem;
|
|
494
|
+
vertical-align: middle;
|
|
495
|
+
}
|
|
496
|
+
|
|
453
497
|
/* ============================================
|
|
454
498
|
VARIABLES CSS — Grid de 3 columnas compacto
|
|
455
499
|
============================================ */
|
|
@@ -1336,6 +1380,19 @@ h2 {
|
|
|
1336
1380
|
}
|
|
1337
1381
|
}
|
|
1338
1382
|
|
|
1383
|
+
/* Variante de una sola columna al 50% del ancho (p. ej. la intro del Grid):
|
|
1384
|
+
los bloques se apilan verticalmente en vez de quedar en 2 columnas con
|
|
1385
|
+
alturas descompensadas. En móvil ocupa el 100%. */
|
|
1386
|
+
.demo-section-2.demo-section-1col {
|
|
1387
|
+
grid-template-columns: 1fr;
|
|
1388
|
+
}
|
|
1389
|
+
@media (min-width: 768px) {
|
|
1390
|
+
.demo-section-2.demo-section-1col {
|
|
1391
|
+
max-width: 50%;
|
|
1392
|
+
width: 50%;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1339
1396
|
.demo-title {
|
|
1340
1397
|
font-size: var(--hg-typo-font-size-12);
|
|
1341
1398
|
font-weight: var(--hg-typo-font-weight-900);
|