{"version":3,"file":"ThemeTint.js","names":[],"sources":["esm/ThemeTint.js"],"sourcesContent":["import { Theme } from \"@tamagui/web\";\nimport { useTint } from \"./useTint\";\nimport { jsx } from \"react/jsx-runtime\";\nconst ThemeTint = ({\n  disable,\n  children,\n  ...rest\n}) => {\n  const curTint = useTint().tint;\n  return /* @__PURE__ */ jsx(Theme, { ...rest, name: disable ? null : curTint, children });\n};\nconst ThemeTintAlt = ({\n  children,\n  disable,\n  offset = 1,\n  ...rest\n}) => {\n  const curTint = useTint(offset).tintAlt;\n  const name = disable ? null : curTint;\n  return /* @__PURE__ */ jsx(Theme, { name, ...rest, children });\n};\nexport {\n  ThemeTint,\n  ThemeTintAlt\n};\n//# sourceMappingURL=ThemeTint.js.map\n"],"mappings":";;;;;AAGA,MAAM,aAAa,EACjB,SACA,UACA,GAAG,WACC;CACJ,MAAM,UAAU,QAAQ,CAAC,CAAC;CAC1B,OAAuB,oBAAI,OAAO;EAAE,GAAG;EAAM,MAAM,UAAU,OAAO;EAAS;CAAS,CAAC;AACzF;AACA,MAAM,gBAAgB,EACpB,UACA,SACA,SAAS,GACT,GAAG,WACC;CACJ,MAAM,UAAU,QAAQ,MAAM,CAAC,CAAC;CAChC,MAAM,OAAO,UAAU,OAAO;CAC9B,OAAuB,oBAAI,OAAO;EAAE;EAAM,GAAG;EAAM;CAAS,CAAC;AAC/D"}