@olympusoss/canvas 2.14.0 → 2.15.0
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
|
Binary file
|
package/styles/tokens.css
CHANGED
|
@@ -12,9 +12,25 @@
|
|
|
12
12
|
* v4's `@theme inline { --color-sidebar: var(--sidebar) }` mapping so
|
|
13
13
|
* `bg-sidebar` / `text-sidebar-foreground` utilities resolve.
|
|
14
14
|
*
|
|
15
|
-
* Typography canonical:
|
|
15
|
+
* Typography canonical (per handoff): Roboto for surfaces with Inter as a
|
|
16
|
+
* fallback while a consumer migrates, JetBrains Mono for code. The Roboto
|
|
17
|
+
* variable font is self-hosted at ./fonts/Roboto-VariableFont_wdth_wght.ttf
|
|
18
|
+
* and ships with the package (covered by the `styles` files entry).
|
|
16
19
|
*/
|
|
17
20
|
|
|
21
|
+
/* Roboto variable font, self-hosted. Same axis range as the handoff
|
|
22
|
+
* (wght 100–900, wdth 75–100). JetBrains Mono is NOT loaded here:
|
|
23
|
+
* consumer apps own how they pull it in (e.g. Next.js `next/font/google`)
|
|
24
|
+
* so Canvas does not introduce an external @import dependency. */
|
|
25
|
+
@font-face {
|
|
26
|
+
font-family: "Roboto";
|
|
27
|
+
src: url("./fonts/Roboto-VariableFont_wdth_wght.ttf") format("truetype-variations");
|
|
28
|
+
font-weight: 100 900;
|
|
29
|
+
font-stretch: 75% 100%;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
}
|
|
33
|
+
|
|
18
34
|
@layer base {
|
|
19
35
|
:root {
|
|
20
36
|
/* ── Base palette (light) ───────────────────────────────────
|
|
@@ -76,7 +92,7 @@
|
|
|
76
92
|
--stat-amber: 38 92% 50%; /* #f59e0b */
|
|
77
93
|
|
|
78
94
|
/* ── Typography ────────────────────────────────────────────── */
|
|
79
|
-
--font-sans: "Inter", system-ui, -apple-system, sans-serif;
|
|
95
|
+
--font-sans: "Roboto", "Inter", system-ui, -apple-system, sans-serif;
|
|
80
96
|
--font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
|
|
81
97
|
|
|
82
98
|
/* ── Letter-spacing scale ──────────────────────────────────── *
|