holygrail5 1.0.21 → 1.0.23
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 +72 -0
- package/config.json +85 -18
- package/dist/assets/fonts/SuisseIntlMono-Bold-WebS.woff +0 -0
- package/dist/assets/fonts/SuisseIntlMono-Bold-WebS.woff2 +0 -0
- package/dist/assets/fonts/SuisseIntlMono-Regular-WebS.woff +0 -0
- package/dist/assets/fonts/SuisseIntlMono-Regular-WebS.woff2 +0 -0
- package/dist/assets/fonts/suisse-intl-thin.woff +0 -0
- package/dist/assets/fonts/suisse-intl-thin.woff2 +0 -0
- package/dist/componentes.html +1 -8
- package/dist/developer-guide.md +4 -0
- package/dist/guide-styles.css +85 -56
- package/dist/index.html +2727 -2690
- package/dist/output.css +123 -70
- package/dist/skills.html +17 -5
- package/dist/themes/dutti-demo.html +76 -39
- package/dist/themes/dutti.css +10 -6
- package/dist/themes/limited-demo.html +55 -18
- package/dist/themes/limited.css +8 -6
- package/package.json +2 -2
- package/src/.data/.previous-values.json +69 -20
- package/src/assets/fonts/SuisseIntlMono-Bold-WebS.woff +0 -0
- package/src/assets/fonts/SuisseIntlMono-Bold-WebS.woff2 +0 -0
- package/src/assets/fonts/SuisseIntlMono-Regular-WebS.woff +0 -0
- package/src/assets/fonts/SuisseIntlMono-Regular-WebS.woff2 +0 -0
- package/src/assets/fonts/suisse-intl-thin.woff +0 -0
- package/src/assets/fonts/suisse-intl-thin.woff2 +0 -0
- package/src/build/asset-manager.js +8 -0
- package/src/build/components-generator.js +1 -8
- package/src/build/skills-generator.js +12 -4
- package/src/build/theme-transformer.js +10 -3
- package/src/dev-server.js +28 -13
- package/src/docs-generator/guide-styles.css +85 -56
- package/src/docs-generator/html-generator.js +188 -183
- package/src/docs-generator/sections/colors-section.js +15 -5
- package/src/generators/typo-generator.js +1 -2
- package/src/generators/utils.js +15 -0
- package/themes/_base/_radios.css +7 -6
- package/themes/dutti/README.md +17 -0
- package/themes/dutti/_variables.css +3 -0
- package/themes/dutti/theme.json +2 -1
- package/themes/limited/_variables.css +1 -0
- package/themes/limited/theme.json +2 -1
|
@@ -10,16 +10,24 @@
|
|
|
10
10
|
antiguos.
|
|
11
11
|
============================================ */
|
|
12
12
|
@font-face {
|
|
13
|
-
font-family: "suisse-
|
|
13
|
+
font-family: "suisse-thin";
|
|
14
14
|
font-weight: 100;
|
|
15
15
|
font-display: swap;
|
|
16
|
+
src: local("SuisseIntl-Thin"),
|
|
17
|
+
url('assets/fonts/suisse-intl-thin.woff2') format('woff2'),
|
|
18
|
+
url('assets/fonts/suisse-intl-thin.woff') format('woff');
|
|
19
|
+
}
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: "suisse-light";
|
|
22
|
+
font-weight: 300;
|
|
23
|
+
font-display: swap;
|
|
16
24
|
src: local("SuisseIntl-Light"),
|
|
17
25
|
url('assets/fonts/suisse-intl-light.woff2') format('woff2'),
|
|
18
26
|
url('assets/fonts/suisse-intl-light.woff') format('woff');
|
|
19
27
|
}
|
|
20
28
|
@font-face {
|
|
21
29
|
font-family: "suisse-regular";
|
|
22
|
-
font-weight:
|
|
30
|
+
font-weight: 400;
|
|
23
31
|
font-display: swap;
|
|
24
32
|
src: local("SuisseIntl-Regular"),
|
|
25
33
|
url('assets/fonts/suisse-intl-regular.woff2') format('woff2'),
|
|
@@ -27,7 +35,7 @@
|
|
|
27
35
|
}
|
|
28
36
|
@font-face {
|
|
29
37
|
font-family: "suisse-medium";
|
|
30
|
-
font-weight:
|
|
38
|
+
font-weight: 500;
|
|
31
39
|
font-display: swap;
|
|
32
40
|
src: local("SuisseIntl-Medium"),
|
|
33
41
|
url('assets/fonts/suisse-intl-medium.woff2') format('woff2'),
|
|
@@ -35,12 +43,28 @@
|
|
|
35
43
|
}
|
|
36
44
|
@font-face {
|
|
37
45
|
font-family: "suisse-semibold";
|
|
38
|
-
font-weight:
|
|
46
|
+
font-weight: 600;
|
|
39
47
|
font-display: swap;
|
|
40
48
|
src: local("SuisseIntl-SemiBold"),
|
|
41
49
|
url('assets/fonts/suisse-intl-semibold.woff2') format('woff2'),
|
|
42
50
|
url('assets/fonts/suisse-intl-semibold.woff') format('woff');
|
|
43
51
|
}
|
|
52
|
+
@font-face {
|
|
53
|
+
font-family: "suisse-mono-regular";
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
src: local("SuisseIntlMono-Regular"),
|
|
57
|
+
url('assets/fonts/SuisseIntlMono-Regular-WebS.woff2') format('woff2'),
|
|
58
|
+
url('assets/fonts/SuisseIntlMono-Regular-WebS.woff') format('woff');
|
|
59
|
+
}
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: "suisse-mono-bold";
|
|
62
|
+
font-weight: 700;
|
|
63
|
+
font-display: swap;
|
|
64
|
+
src: local("SuisseIntlMono-Bold"),
|
|
65
|
+
url('assets/fonts/SuisseIntlMono-Bold-WebS.woff2') format('woff2'),
|
|
66
|
+
url('assets/fonts/SuisseIntlMono-Bold-WebS.woff') format('woff');
|
|
67
|
+
}
|
|
44
68
|
/* Suisse Works (serif) — reservado para el tema Limited */
|
|
45
69
|
@font-face {
|
|
46
70
|
font-family: "suisse-works-regular";
|
|
@@ -70,9 +94,7 @@
|
|
|
70
94
|
/* ============================================
|
|
71
95
|
RESET Y BASE
|
|
72
96
|
============================================ */
|
|
73
|
-
|
|
74
|
-
scroll-behavior: smooth;
|
|
75
|
-
}
|
|
97
|
+
/* Scroll nativo (sin suavizado): los saltos de ancla son instantáneos. */
|
|
76
98
|
|
|
77
99
|
body {
|
|
78
100
|
margin: 0;
|
|
@@ -96,14 +118,14 @@ h2 {
|
|
|
96
118
|
margin-left: 0;
|
|
97
119
|
flex: 1;
|
|
98
120
|
padding: 0;
|
|
99
|
-
padding-bottom:
|
|
121
|
+
padding-bottom: 4rem;
|
|
100
122
|
max-width: 100%;
|
|
101
123
|
}
|
|
102
124
|
|
|
103
125
|
.guide-main-content h2 {
|
|
104
|
-
font-size:
|
|
105
|
-
padding-bottom:
|
|
106
|
-
margin-bottom:
|
|
126
|
+
font-size: 34px;
|
|
127
|
+
padding-bottom: 12px;
|
|
128
|
+
margin-bottom: 8px;
|
|
107
129
|
font-weight: 500;
|
|
108
130
|
color: #000;
|
|
109
131
|
font-family: var(--hg-typo-font-family-primary-bold);
|
|
@@ -114,27 +136,27 @@ h2 {
|
|
|
114
136
|
font-family: var(--hg-typo-font-family-primary-regular);
|
|
115
137
|
color: #000;
|
|
116
138
|
font-size: 16px;
|
|
117
|
-
line-height:
|
|
118
|
-
margin:
|
|
139
|
+
line-height: 1.4;
|
|
140
|
+
margin: 2rem 0 0.75rem;
|
|
119
141
|
}
|
|
120
142
|
|
|
121
143
|
@media (min-width: 768px) {
|
|
122
144
|
.guide-main-content h2 {
|
|
123
|
-
font-size:
|
|
124
|
-
padding-bottom:
|
|
125
|
-
margin-bottom:
|
|
145
|
+
font-size: 44px;
|
|
146
|
+
padding-bottom: 12px;
|
|
147
|
+
margin-bottom: 8px;
|
|
126
148
|
}
|
|
127
149
|
|
|
128
150
|
.guide-main-content h3 {
|
|
129
151
|
font-family: var(--hg-typo-font-family-primary-regular);
|
|
130
152
|
color: #000;
|
|
131
|
-
font-size:
|
|
132
|
-
line-height:
|
|
133
|
-
margin:
|
|
153
|
+
font-size: 18px;
|
|
154
|
+
line-height: 1.4;
|
|
155
|
+
margin: 2rem 0 0.75rem;
|
|
134
156
|
}
|
|
135
|
-
|
|
157
|
+
|
|
136
158
|
.guide-section-description {
|
|
137
|
-
font-size:
|
|
159
|
+
font-size: 18px;
|
|
138
160
|
}
|
|
139
161
|
}
|
|
140
162
|
|
|
@@ -147,20 +169,40 @@ h2 {
|
|
|
147
169
|
border-radius: 8px;
|
|
148
170
|
}
|
|
149
171
|
|
|
172
|
+
/* Compactación / unificación del ritmo vertical de la guía.
|
|
173
|
+
Las cabeceras de sección usan `.row.mb-120` (120px) como separador;
|
|
174
|
+
aquí lo reducimos a un valor coherente y mucho más pegado. También
|
|
175
|
+
homogeneizamos el espacio entre secciones y el del separador <hr>. */
|
|
176
|
+
.guide-section .row.mb-120,
|
|
177
|
+
.guide-section--highlighted .row.mb-120 {
|
|
178
|
+
margin-bottom: 1.5rem;
|
|
179
|
+
}
|
|
180
|
+
.guide-section + .guide-section,
|
|
181
|
+
.guide-section--highlighted + .guide-section,
|
|
182
|
+
.guide-section + .guide-section--highlighted {
|
|
183
|
+
margin-top: 2.5rem;
|
|
184
|
+
}
|
|
185
|
+
.guide-section .row.mb-120 hr,
|
|
186
|
+
.guide-section hr {
|
|
187
|
+
margin: 0.5rem 0 0;
|
|
188
|
+
border: 0;
|
|
189
|
+
border-top: 1px solid #e9e9e9;
|
|
190
|
+
}
|
|
191
|
+
|
|
150
192
|
.guide-section.guide-section--highlighted {
|
|
151
193
|
background: #fff;
|
|
152
|
-
padding:
|
|
194
|
+
padding: 2rem 0 1rem 0;
|
|
153
195
|
}
|
|
154
196
|
@media (min-width: 768px) {
|
|
155
197
|
.guide-section.guide-section--highlighted {
|
|
156
|
-
padding: 5rem 0;
|
|
198
|
+
padding: 2.5rem 0 1.5rem 0;
|
|
157
199
|
}
|
|
158
200
|
}
|
|
159
201
|
|
|
160
202
|
.guide-section-title {
|
|
161
203
|
font-size: 1.5rem;
|
|
162
204
|
font-weight: 500;
|
|
163
|
-
padding-bottom:
|
|
205
|
+
padding-bottom: 1rem;
|
|
164
206
|
line-height: 1.2;
|
|
165
207
|
display: flex;
|
|
166
208
|
justify-content: space-between;
|
|
@@ -170,34 +212,19 @@ h2 {
|
|
|
170
212
|
|
|
171
213
|
@media (min-width: 768px) {
|
|
172
214
|
.guide-section-title {
|
|
173
|
-
margin-top:
|
|
174
|
-
|
|
215
|
+
margin-top: 1.25rem;
|
|
216
|
+
/* Se mantiene en columna: el contenido (cajas explicativas) queda
|
|
217
|
+
debajo del titular y alineado a la izquierda, no en la mitad derecha. */
|
|
175
218
|
}
|
|
176
219
|
}
|
|
177
220
|
|
|
178
221
|
.guide-section-description {
|
|
179
|
-
margin-top:
|
|
180
|
-
font-size:
|
|
181
|
-
color: #000000;
|
|
182
|
-
font-family: var(--hg-typo-font-family-primary-light);
|
|
183
|
-
margin-bottom: 20px;
|
|
184
|
-
|
|
185
|
-
line-height: 1.2;
|
|
186
|
-
width: 100%;
|
|
187
|
-
margin-left: 0;
|
|
188
|
-
display: flex;
|
|
189
|
-
flex-direction: column;
|
|
190
|
-
justify-content: flex-end;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.guide-section-description {
|
|
194
|
-
margin-top: 1rem;
|
|
195
|
-
font-size: 28px;
|
|
222
|
+
margin-top: 0.5rem;
|
|
223
|
+
font-size: 18px;
|
|
196
224
|
color: #000000;
|
|
197
225
|
font-family: var(--hg-typo-font-family-primary-light);
|
|
198
|
-
margin-bottom:
|
|
199
|
-
|
|
200
|
-
line-height: 1.2;
|
|
226
|
+
margin-bottom: 8px;
|
|
227
|
+
line-height: 1.35;
|
|
201
228
|
width: 100%;
|
|
202
229
|
margin-left: 0;
|
|
203
230
|
display: flex;
|
|
@@ -543,14 +570,14 @@ h2 {
|
|
|
543
570
|
color: #919191;
|
|
544
571
|
letter-spacing: 0.05em;
|
|
545
572
|
border-bottom: 1px solid #ddd;
|
|
546
|
-
padding: 0.75rem;
|
|
573
|
+
padding: 0.5rem 0.75rem;
|
|
547
574
|
padding-left: 0;
|
|
548
575
|
text-align: left;
|
|
549
576
|
z-index: 10;
|
|
550
577
|
}
|
|
551
578
|
|
|
552
579
|
.guide-table td {
|
|
553
|
-
padding: 0.75rem;
|
|
580
|
+
padding: 0.38rem 0.75rem;
|
|
554
581
|
padding-left: 0;
|
|
555
582
|
border-bottom: 1px solid #efefef;
|
|
556
583
|
vertical-align: middle;
|
|
@@ -578,9 +605,9 @@ h2 {
|
|
|
578
605
|
|
|
579
606
|
.guide-table .guide-font-family-preview {
|
|
580
607
|
min-width: 100px;
|
|
581
|
-
padding: 0.
|
|
582
|
-
min-height:
|
|
583
|
-
font-size: 1.
|
|
608
|
+
padding: 0.4rem;
|
|
609
|
+
min-height: 34px;
|
|
610
|
+
font-size: 1.25rem;
|
|
584
611
|
/* Dejamos que cada font-family muestre su peso natural. En
|
|
585
612
|
esta convención (una familia por peso) cada @font-face
|
|
586
613
|
declara un único font-weight, así que forzar un weight
|
|
@@ -677,7 +704,6 @@ h2 {
|
|
|
677
704
|
.guide-text-bold,
|
|
678
705
|
.guide-table .guide-table-name,
|
|
679
706
|
.guide-layout-class-name {
|
|
680
|
-
font-weight: 600;
|
|
681
707
|
color: #000000;
|
|
682
708
|
font-family: var(--hg-typo-font-family-primary-regular);
|
|
683
709
|
}
|
|
@@ -1295,15 +1321,18 @@ h2 {
|
|
|
1295
1321
|
gap: var(--hg-spacing-24);
|
|
1296
1322
|
max-width: 100%;
|
|
1297
1323
|
margin-left: 0;
|
|
1298
|
-
margin-bottom:
|
|
1324
|
+
margin-bottom: 2rem;
|
|
1299
1325
|
}
|
|
1300
1326
|
|
|
1327
|
+
/* Las cajas explicativas van debajo del titular + línea, alineadas a la
|
|
1328
|
+
IZQUIERDA (antes: max-width 50% + margin-left 50% las empujaba a la
|
|
1329
|
+
mitad derecha de la página). */
|
|
1301
1330
|
@media (min-width: 768px) {
|
|
1302
1331
|
.demo-section-2 {
|
|
1303
1332
|
grid-template-columns: repeat(2, 1fr);
|
|
1304
|
-
|
|
1305
|
-
margin-left:
|
|
1306
|
-
margin-bottom:
|
|
1333
|
+
width: 100%;
|
|
1334
|
+
margin-left: 0;
|
|
1335
|
+
margin-bottom: 2rem;
|
|
1307
1336
|
}
|
|
1308
1337
|
}
|
|
1309
1338
|
|