omnieye-theme-studio 1.2.3 → 1.2.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/index.esm.js CHANGED
@@ -4179,9 +4179,9 @@ function Vr(e) {
4179
4179
  pMain: o,
4180
4180
  pDark: r[700],
4181
4181
  pLight: r[300],
4182
- highlight: e.highlightHex || "#ffd400",
4183
- highlightSoft: pe(e.highlightHex || "#ffd400", 0.15),
4184
- highlightBd: pe(e.highlightHex || "#ffd400", 0.34),
4182
+ highlight: e.highlightHex || o,
4183
+ highlightSoft: pe(e.highlightHex || o, n ? 0.22 : 0.14),
4184
+ highlightBd: pe(e.highlightHex || o, n ? 0.45 : 0.32),
4185
4185
  pContrast: e.contrastMode === "light" ? "#ffffff" : e.contrastMode === "dark" ? "rgba(0,0,0,0.87)" : Rr(o, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)",
4186
4186
  pContainer: n ? pe(e.primaryHex, 0.26) : r[50],
4187
4187
  onPContainer: n ? r[100] : r[800],
@@ -4458,9 +4458,42 @@ function lt({ tabs: e, active: r, onChange: t }) {
4458
4458
  }) });
4459
4459
  }
4460
4460
  const Qt = [
4461
- { id: "corporate", name: "Corporate Blue", snap: { primaryHex: "#4F6BFF", secondaryHex: "#22D3EE", iconColor: "#4F6BFF" } },
4462
- { id: "emerald", name: "Emerald", snap: { primaryHex: "#2EE6A6", secondaryHex: "#FFC255", iconColor: "#2EE6A6" } },
4463
- { id: "indigo", name: "Indigo Violet", snap: { primaryHex: "#A97BFF", secondaryHex: "#FF5FA2", iconColor: "#A97BFF" } },
4461
+ {
4462
+ id: "corporate",
4463
+ name: "Corporate Blue",
4464
+ snap: {
4465
+ primaryHex: "#2563EB",
4466
+ secondaryHex: "#00D2FF",
4467
+ iconColor: "#2563EB",
4468
+ surfaceTint: "brand",
4469
+ cardHeader: "accent",
4470
+ highlightHex: "#00D2FF"
4471
+ }
4472
+ },
4473
+ {
4474
+ id: "emerald",
4475
+ name: "Emerald",
4476
+ snap: {
4477
+ primaryHex: "#2EE6A6",
4478
+ secondaryHex: "#FFC255",
4479
+ iconColor: "#2EE6A6",
4480
+ surfaceTint: "brand",
4481
+ cardHeader: "accent",
4482
+ highlightHex: "#FFC255"
4483
+ }
4484
+ },
4485
+ {
4486
+ id: "indigo",
4487
+ name: "Indigo Violet",
4488
+ snap: {
4489
+ primaryHex: "#7C3AED",
4490
+ secondaryHex: "#EC4899",
4491
+ iconColor: "#7C3AED",
4492
+ surfaceTint: "brand",
4493
+ cardHeader: "accent",
4494
+ highlightHex: "#EC4899"
4495
+ }
4496
+ },
4464
4497
  { id: "slate", name: "Graphite", snap: { primaryHex: "#455a64", secondaryHex: "#78909c", iconColor: "#455a64" } },
4465
4498
  { id: "teal", name: "Ocean Teal", snap: { primaryHex: "#00838f", secondaryHex: "#0277bd", iconColor: "#00838f" } },
4466
4499
  { id: "amber", name: "Amber", snap: { primaryHex: "#e65100", secondaryHex: "#d84315", iconColor: "#e65100" } }
@@ -4836,7 +4869,7 @@ function tl() {
4836
4869
  ] }),
4837
4870
  /* @__PURE__ */ p(S, { children: [
4838
4871
  /* @__PURE__ */ i(rt, { sk: a, tip: "Accent colour used to draw attention — highlight panels, featured badges, callouts. Defaults to the brand colour.", children: "Highlight Colour" }),
4839
- /* @__PURE__ */ i(S, { sx: { position: "relative", height: 34, borderRadius: "8px", background: o.highlightHex || "#ffd400", overflow: "hidden", border: `1px solid ${a.insetBd}` }, children: /* @__PURE__ */ i(S, { component: "input", type: "color", value: o.highlightHex || "#ffd400", onChange: (v) => h({ highlightHex: v.target.value }), sx: { position: "absolute", inset: 0, width: "100%", height: "100%", opacity: 0, cursor: "pointer", border: "none", p: 0 } }) })
4872
+ /* @__PURE__ */ i(S, { sx: { position: "relative", height: 34, borderRadius: "8px", background: o.highlightHex || o.primaryHex, overflow: "hidden", border: `1px solid ${a.insetBd}` }, children: /* @__PURE__ */ i(S, { component: "input", type: "color", value: o.highlightHex || o.primaryHex, onChange: (v) => h({ highlightHex: v.target.value }), sx: { position: "absolute", inset: 0, width: "100%", height: "100%", opacity: 0, cursor: "pointer", border: "none", p: 0 } }) })
4840
4873
  ] })
4841
4874
  ] }),
4842
4875
  e === "text" && /* @__PURE__ */ p(S, { sx: { display: "flex", flexDirection: "column", gap: "11px" }, children: [