@klodd/ds 5.17.0 → 5.17.1
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/css/00-primitives.css +5 -0
- package/css/apps/klodd.css +12 -0
- package/package.json +1 -1
package/css/00-primitives.css
CHANGED
|
@@ -300,6 +300,11 @@
|
|
|
300
300
|
"Roboto Mono", "Oxygen Mono", "Ubuntu Monospace",
|
|
301
301
|
"Source Code Pro", "Fira Code", "Droid Sans Mono",
|
|
302
302
|
"Courier New", monospace;
|
|
303
|
+
|
|
304
|
+
/* Voice/display-serif. Klödd-temats display-typsnitt för sid-/hero-titlar
|
|
305
|
+
och varumärke (EB Garamond). Konsument-appen self-hostar EB Garamond via
|
|
306
|
+
@font-face; annars faller stacken tillbaka på Times New Roman-serif. */
|
|
307
|
+
--font-voice: "EB Garamond", "Times New Roman", serif;
|
|
303
308
|
}
|
|
304
309
|
|
|
305
310
|
|
package/css/apps/klodd.css
CHANGED
|
@@ -59,3 +59,15 @@
|
|
|
59
59
|
--text-on-accent: var(--warm-overlay);
|
|
60
60
|
--border-focus: var(--accent-brand);
|
|
61
61
|
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/* Klödd-temats display-typsnitt: EB Garamond (--font-voice) för sid- och
|
|
65
|
+
hero-titlar (.heading-1), inklusive bolagsnamn på detaljsidor. Vikt 500
|
|
66
|
+
ärvs från .heading-1 (--fw-medium); tightare tracking för serifen.
|
|
67
|
+
Övriga rubriker (.heading-2..4) förblir sans. Kräver att appen self-hostar
|
|
68
|
+
EB Garamond (@font-face) - annars faller --font-voice till Times-serif.
|
|
69
|
+
Varumärkes-titeln stylas i appens egen CSS (egen klass, ej .heading-1). */
|
|
70
|
+
[data-app="klodd"] .heading-1 {
|
|
71
|
+
font-family: var(--font-voice);
|
|
72
|
+
letter-spacing: -0.018em;
|
|
73
|
+
}
|