@orangecheck/design 0.32.3 → 0.32.4
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/dist/styles/fonts.css
CHANGED
|
@@ -27,3 +27,17 @@
|
|
|
27
27
|
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
|
|
28
28
|
U+2C60-2C7F, U+A720-A7FF;
|
|
29
29
|
}
|
|
30
|
+
/*
|
|
31
|
+
* Metric-matched stand-in while Hanken loads. Arial scaled so its average
|
|
32
|
+
* advance and vertical metrics equal Hanken's (Hanken 1000 upm, asc 1000,
|
|
33
|
+
* desc 303, no gap), so the font swap does not re-wrap the page. Without it the
|
|
34
|
+
* hero re-flowed on arrival and me.ochk.io scored CLS 0.13.
|
|
35
|
+
*/
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: 'Hanken Grotesk Fallback';
|
|
38
|
+
src: local('Arial'), local('ArialMT'), local('Liberation Sans');
|
|
39
|
+
size-adjust: 101.5%;
|
|
40
|
+
ascent-override: 98.53%;
|
|
41
|
+
descent-override: 29.85%;
|
|
42
|
+
line-gap-override: 0%;
|
|
43
|
+
}
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
single --oc-font-sans). Hanken Grotesk is OFL + variable to 900, so the
|
|
33
33
|
800 hero weight is native. Eyebrows/metadata reuse the already-loaded
|
|
34
34
|
JetBrains Mono — no new mono face. */
|
|
35
|
-
--oc-font-sans: 'Hanken Grotesk', var(--font-sans-display, 'Inter'),
|
|
36
|
-
system-ui, sans-serif;
|
|
35
|
+
--oc-font-sans: 'Hanken Grotesk', 'Hanken Grotesk Fallback', var(--font-sans-display, 'Inter'),
|
|
36
|
+
ui-sans-serif, system-ui, sans-serif;
|
|
37
37
|
--oc-font-mono: var(--font-mono-display, 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo,
|
|
38
38
|
monospace);
|
|
39
39
|
/* The big display face (wordmark, page/section headings, .font-display) is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangecheck/design",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.4",
|
|
4
4
|
"description": "OrangeCheck design system — multi-theme tokens, primitives, and family composites for the .ochk.io sub-sites. Tailwind 4 + Next.js Pages Router. Not for third-party integration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orangecheck",
|