react-better-html 1.1.281 → 1.1.283

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
@@ -3088,6 +3088,11 @@ var GlobalStyle = createGlobalStyle`
3088
3088
  -webkit-tap-highlight-color: transparent;
3089
3089
  }
3090
3090
 
3091
+ :root {
3092
+ ${(props) => Object.entries(props.theme.styles).map(([key, value]) => `--${key}: ${value}${typeof value === "number" ? "px" : ""};`)}
3093
+ ${(props) => Object.entries(props.theme.colors).map(([key, value]) => `--${key}: ${value};`)}
3094
+ }
3095
+
3091
3096
  a {
3092
3097
  text-decoration: none;
3093
3098
  color: inherit;
@@ -3173,6 +3178,7 @@ function BetterHtmlProviderInternalContent({ children }) {
3173
3178
  /* @__PURE__ */ jsx12(
3174
3179
  GlobalStyle,
3175
3180
  {
3181
+ theme: theme2,
3176
3182
  fontFamily: theme2.styles.fontFamily,
3177
3183
  color: theme2.colors.textPrimary,
3178
3184
  backgroundColor: theme2.colors.backgroundBase
@@ -8726,6 +8732,7 @@ export {
8726
8732
  loaderControls,
8727
8733
  localStoragePlugin,
8728
8734
  log,
8735
+ missingTranslation,
8729
8736
  reactRouterDomPlugin,
8730
8737
  saturateColor,
8731
8738
  sideMenuControls,