@ohhwells/bridge 0.1.63-next.175 → 0.1.64-next.176
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/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -252,7 +252,10 @@ var BRAND_VAR_PREFIX = "--ohw-brand-";
|
|
|
252
252
|
var BRAND_VAR_NAMES = ["primary", "accent", "light", "dark", "surface", "border", "muted"].map(
|
|
253
253
|
(role) => `${BRAND_VAR_PREFIX}${role}`
|
|
254
254
|
);
|
|
255
|
-
var FONT_VARS = {
|
|
255
|
+
var FONT_VARS = {
|
|
256
|
+
heading: ["--font-heading", "--font-display", "--brand-font-heading"],
|
|
257
|
+
body: ["--font-body", "--brand-font-body"]
|
|
258
|
+
};
|
|
256
259
|
var BRAND_FONT_LINK_ID = "ohw-brand-fonts";
|
|
257
260
|
function brandColorVars(kit) {
|
|
258
261
|
const { dark, primary, accent, light } = kit.palette;
|
|
@@ -18578,7 +18581,7 @@ function OhhwellsBridge() {
|
|
|
18578
18581
|
postToParent2({
|
|
18579
18582
|
type: "ow:ready",
|
|
18580
18583
|
version: "1",
|
|
18581
|
-
bridgeVersion: "0.1.
|
|
18584
|
+
bridgeVersion: "0.1.64",
|
|
18582
18585
|
path: pathname,
|
|
18583
18586
|
nodes: collectEditableNodes(editContentRef.current),
|
|
18584
18587
|
sections
|