@the-portland-company/shell 0.28.1 → 0.28.2
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/CHANGELOG.md +10 -0
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 0.28.2 — 2026-07-23
|
|
2
|
+
|
|
3
|
+
### Fixed — the Chakra theme hardcoded the body font
|
|
4
|
+
|
|
5
|
+
`politogyTheme.fonts.heading/body` were pinned to the system stack. Chakra's
|
|
6
|
+
global styles beat app CSS, so VRM rendered in `-apple-system` while every app
|
|
7
|
+
on the native chrome rendered the Brand family — and no Brand-editor font change
|
|
8
|
+
could ever reach it. Both now resolve `var(--font-family, …)` (mono resolves
|
|
9
|
+
`--type-mono-family`), with the old stacks as the pre-tokens fallback only.
|
|
10
|
+
|
|
1
11
|
## 0.28.1 — 2026-07-23
|
|
2
12
|
|
|
3
13
|
### Fixed — the left bar lost its background (regression in 0.25.0)
|
package/dist/index.cjs
CHANGED
|
@@ -727,10 +727,12 @@ var styles = {
|
|
|
727
727
|
}
|
|
728
728
|
})
|
|
729
729
|
};
|
|
730
|
+
var SYSTEM_SANS = 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif';
|
|
731
|
+
var SYSTEM_MONO = 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace';
|
|
730
732
|
var fonts = {
|
|
731
|
-
heading:
|
|
732
|
-
body:
|
|
733
|
-
mono:
|
|
733
|
+
heading: `var(--font-family, ${SYSTEM_SANS})`,
|
|
734
|
+
body: `var(--font-family, ${SYSTEM_SANS})`,
|
|
735
|
+
mono: `var(--type-mono-family, ${SYSTEM_MONO})`
|
|
734
736
|
};
|
|
735
737
|
var politogyTheme = react.extendTheme({
|
|
736
738
|
config,
|