@matteoaliano/forest-ui 1.1.0 → 1.1.1

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
@@ -38,7 +38,7 @@ import {
38
38
  toggleColors,
39
39
  warning,
40
40
  widths
41
- } from "./chunk-XJYBU6LC.mjs";
41
+ } from "./chunk-BCOHH5MJ.mjs";
42
42
 
43
43
  // src/provider/ForestProvider.tsx
44
44
  import { useMemo } from "react";
package/dist/theme.js CHANGED
@@ -2119,8 +2119,11 @@ function buildComponents(tokens2) {
2119
2119
  }
2120
2120
  },
2121
2121
  staticTooltipLabel: {
2122
+ // Match MuiTooltip: inverted face (charcoal in light, near-white in
2123
+ // dark) with on-solid fg that inverts WITH it. text.white is
2124
+ // mode-invariant and vanished on the dark-mode light face.
2122
2125
  backgroundColor: bg4.primarySolid,
2123
- color: text4.white,
2126
+ color: buttonColors4.primary.fg,
2124
2127
  fontSize: 12,
2125
2128
  fontWeight: 600,
2126
2129
  borderRadius: radius4.md,