@loafmarkets/ui 0.1.90 → 0.1.91

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.mjs CHANGED
@@ -9674,7 +9674,7 @@ function AssetSelectorBar({
9674
9674
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
9675
9675
  /* @__PURE__ */ jsxs("div", { children: [
9676
9676
  /* @__PURE__ */ jsx(MetricLabel2, { children: m.label }),
9677
- /* @__PURE__ */ jsx(MetricValue, { $accent: !!m.accent, children: m.value })
9677
+ /* @__PURE__ */ jsx(MetricValue, { $accent: !!m.accent, $secondary: !!m.secondary, children: m.value })
9678
9678
  ] }),
9679
9679
  m.change != null && /* @__PURE__ */ jsxs(MetricChange, { $positive: m.change >= 0, children: [
9680
9680
  m.change >= 0 ? "\u2191" : "\u2193",
@@ -9810,16 +9810,16 @@ var MetricLabel2 = styled25.span`
9810
9810
  }
9811
9811
  `;
9812
9812
  var MetricValue = styled25.span`
9813
- font-size: 1.25rem;
9814
- font-weight: 700;
9815
- color: ${(p) => p.$accent ? "#D4AF37" : "#fff"};
9813
+ font-size: ${(p) => p.$secondary ? "0.95rem" : "1.25rem"};
9814
+ font-weight: ${(p) => p.$secondary ? "600" : "700"};
9815
+ color: ${(p) => p.$accent ? "#D4AF37" : p.$secondary ? "rgba(255,255,255,0.7)" : "#fff"};
9816
9816
 
9817
9817
  @media (max-width: 768px) {
9818
- font-size: 1.05rem;
9818
+ font-size: ${(p) => p.$secondary ? "0.85rem" : "1.05rem"};
9819
9819
  }
9820
9820
 
9821
9821
  @media (max-width: 480px) {
9822
- font-size: 0.95rem;
9822
+ font-size: ${(p) => p.$secondary ? "0.8rem" : "0.95rem"};
9823
9823
  }
9824
9824
  `;
9825
9825
  var MetricChange = styled25.span`