@ohhwells/bridge 0.1.108-next.282 → 0.1.108-next.286
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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +8 -11
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2835,11 +2835,11 @@ function deriveBrandOverride() {
|
|
|
2835
2835
|
};
|
|
2836
2836
|
}
|
|
2837
2837
|
function deriveTemplateBrandLive() {
|
|
2838
|
-
const
|
|
2839
|
-
const
|
|
2840
|
-
const light = readRootVar("--
|
|
2838
|
+
const primary = readRootVar("--brand-primary") || readRootVar("--color-primary");
|
|
2839
|
+
const dark = readRootVar("--brand-text") || readRootVar("--color-dark");
|
|
2840
|
+
const light = readRootVar("--brand-background") || readRootVar("--color-light");
|
|
2841
2841
|
if (!dark || !primary || !light) return null;
|
|
2842
|
-
const accent = readRootVar("--
|
|
2842
|
+
const accent = readRootVar("--brand-accent") || readRootVar("--color-accent");
|
|
2843
2843
|
const heading = readFontVar("--brand-font-heading") || readFontVar("--font-heading") || readFontVar("--font-display");
|
|
2844
2844
|
const body = readFontVar("--brand-font-body") || readFontVar("--font-body");
|
|
2845
2845
|
return {
|
|
@@ -8797,7 +8797,7 @@ function FieldTypePicker({ onPick }) {
|
|
|
8797
8797
|
"div",
|
|
8798
8798
|
{
|
|
8799
8799
|
"data-ohw-field-type-picker": "",
|
|
8800
|
-
className: "pointer-events-auto grid w-
|
|
8800
|
+
className: "pointer-events-auto grid w-[280px] grid-cols-2 gap-2 rounded-xl border border-border bg-background p-3 shadow-lg",
|
|
8801
8801
|
children: FIELD_TYPES.map((entry) => {
|
|
8802
8802
|
const Icon = TYPE_ICONS[entry.type];
|
|
8803
8803
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
@@ -8805,7 +8805,7 @@ function FieldTypePicker({ onPick }) {
|
|
|
8805
8805
|
{
|
|
8806
8806
|
type: "button",
|
|
8807
8807
|
onClick: () => onPick(entry.type),
|
|
8808
|
-
className: "flex h-
|
|
8808
|
+
className: "flex h-[76px] flex-col items-center justify-center gap-2 rounded-xl border border-border text-[15px] font-medium text-foreground transition-colors hover:border-bridge-primary hover:bg-bridge-primary/5",
|
|
8809
8809
|
children: [
|
|
8810
8810
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { size: 26, strokeWidth: 1.5, "aria-hidden": true }),
|
|
8811
8811
|
entry.label
|