@edc-motor/ui 0.4.30 → 0.4.31
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edc-motor/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.31",
|
|
4
4
|
"description": "EdC Motor — componentes públicos Vue 3 + tokens SCSS para webs de juegos de mesa (paquete fuente: lo compila el consumidor con Vite)",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"type": "module",
|
|
@@ -39,14 +39,17 @@
|
|
|
39
39
|
&--quote.block--w-narrow .block__inner { max-width: min(780px, 90%); }
|
|
40
40
|
|
|
41
41
|
// Tipografía de bloque: texto BASE $fs-16 (el mismo cuerpo que el wysiwyg
|
|
42
|
-
// por defecto — sin override aquí)
|
|
43
|
-
//
|
|
44
|
-
//
|
|
42
|
+
// por defecto — sin override aquí); título y subtítulo calcan la cabecera
|
|
43
|
+
// clásica de índices y fichas de CDL: título $fs-28 compacto (line-height
|
|
44
|
+
// 1.1, el h1 de base) y subtítulo atenuado AL TAMAÑO del cuerpo — la
|
|
45
|
+
// jerarquía la da el color, no otro escalón de tamaño. Vale para TODOS
|
|
46
|
+
// los bloques (la cabecera ya no sube a 40/28). Los títulos nunca se
|
|
47
|
+
// justifican.
|
|
45
48
|
// width 100%: en grids con justify-items start (el cuerpo del CTA) el
|
|
46
49
|
// elemento encoge a su contenido y el text-align no se vería.
|
|
47
|
-
&__title { margin: 0; font-size: $fs-
|
|
50
|
+
&__title { margin: 0; font-size: $fs-28; line-height: 1.1; width: 100%; }
|
|
48
51
|
// pre-line: el subtítulo es un textarea — sus saltos de línea cuentan.
|
|
49
|
-
&__subtitle { margin: 0; color: $text-2; font-size: $fs-
|
|
52
|
+
&__subtitle { margin: 0; color: $text-2; font-size: $fs-16; white-space: pre-line; width: 100%; }
|
|
50
53
|
&__text { color: $text-1; font-size: $fs-16; }
|
|
51
54
|
|
|
52
55
|
// Alineación del bloque (campo común `align`): por CLASE (BlockShell ya
|
|
@@ -118,9 +121,6 @@
|
|
|
118
121
|
.edc-button { justify-self: start; text-decoration: none; }
|
|
119
122
|
}
|
|
120
123
|
|
|
121
|
-
&--header .block__title { font-size: $fs-40; }
|
|
122
|
-
&--header .block__subtitle { font-size: $fs-28; }
|
|
123
|
-
|
|
124
124
|
&__media-layout { display: grid; gap: $space-4; }
|
|
125
125
|
&__image {
|
|
126
126
|
max-width: 100%;
|
|
@@ -34,13 +34,14 @@
|
|
|
34
34
|
> :first-child { margin-block-start: 0; }
|
|
35
35
|
> :last-child { margin-block-end: 0; }
|
|
36
36
|
|
|
37
|
-
// Escala del wysiwyg
|
|
38
|
-
//
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
// Escala del wysiwyg, POR DEBAJO del título de bloque ($fs-28 desde que
|
|
38
|
+
// los bloques calcan la cabecera clásica): h2 24 · h3 20 · h4 18 · h5 16
|
|
39
|
+
// (como el cuerpo, se distingue por el peso) · h6 14.
|
|
40
|
+
h2 { font-size: $fs-24; }
|
|
41
|
+
h3 { font-size: $fs-20; }
|
|
42
|
+
h4 { font-size: $fs-18; }
|
|
43
|
+
h5 { font-size: $fs-16; }
|
|
44
|
+
h6 { font-size: $fs-14; }
|
|
44
45
|
|
|
45
46
|
ul,
|
|
46
47
|
ol {
|