@tamagui/config 3.0.0-beta.765.1 → 3.0.0-beta.804.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.
@@ -30,10 +30,10 @@ __export(v6_base_exports, {
30
30
  settings: () => settings,
31
31
  shorthands: () => import_v6.shorthands,
32
32
  tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,
33
- toV6Themes: () => import_v6_themes.toV6Themes,
33
+ toV6Themes: () => import_v6_themes2.toV6Themes,
34
34
  tokens: () => tokens,
35
- v6RemovedThemeNames: () => import_tooling.v6RemovedThemeNames,
36
- v6ThemeNameReplacements: () => import_tooling.v6ThemeNameReplacements
35
+ v6RemovedThemeNames: () => import_v6_themes.v6RemovedThemeNames,
36
+ v6ThemeNameReplacements: () => import_v6_themes.v6ThemeNameReplacements
37
37
  });
38
38
  module.exports = __toCommonJS(v6_base_exports);
39
39
  var import_v6 = require("@tamagui/shorthands/v6");
@@ -41,11 +41,11 @@ var import_fonts = require("./fonts.cjs");
41
41
  var import_media = require("./media.cjs");
42
42
  var import_settings = require("./settings.cjs");
43
43
  var import_v6_tailwind_scales = require("./v6-tailwind-scales.generated.cjs");
44
+ var import_v6_themes = require("@tamagui/style-grammar/v6-themes");
44
45
  var import_fonts2 = require("./fonts.cjs");
45
46
  var import_media2 = require("./media.cjs");
46
47
  var import_v6_tailwind_scales2 = require("./v6-tailwind-scales.generated.cjs");
47
- var import_tooling = require("@tamagui/style-grammar/tooling");
48
- var import_v6_themes = require("./v6-themes.cjs");
48
+ var import_v6_themes2 = require("./v6-themes.cjs");
49
49
  const tokens = {
50
50
  space: import_v6_tailwind_scales.tailwindSpace,
51
51
  size: import_v6_tailwind_scales.tailwindSize,
@@ -32,10 +32,10 @@ __export(v6_base_exports, {
32
32
  settings: () => settings,
33
33
  shorthands: () => import_v6.shorthands,
34
34
  tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,
35
- toV6Themes: () => import_v6_themes.toV6Themes,
35
+ toV6Themes: () => import_v6_themes2.toV6Themes,
36
36
  tokens: () => tokens,
37
- v6RemovedThemeNames: () => import_tooling.v6RemovedThemeNames,
38
- v6ThemeNameReplacements: () => import_tooling.v6ThemeNameReplacements
37
+ v6RemovedThemeNames: () => import_v6_themes.v6RemovedThemeNames,
38
+ v6ThemeNameReplacements: () => import_v6_themes.v6ThemeNameReplacements
39
39
  });
40
40
  module.exports = __toCommonJS(v6_base_exports);
41
41
  var import_v6 = require("@tamagui/shorthands/v6");
@@ -43,11 +43,11 @@ var import_fonts = require("./fonts.native.js");
43
43
  var import_media = require("./media.native.js");
44
44
  var import_settings = require("./settings.native.js");
45
45
  var import_v6_tailwind_scales = require("./v6-tailwind-scales.generated.native.js");
46
+ var import_v6_themes = require("@tamagui/style-grammar/v6-themes");
46
47
  var import_fonts2 = require("./fonts.native.js");
47
48
  var import_media2 = require("./media.native.js");
48
49
  var import_v6_tailwind_scales2 = require("./v6-tailwind-scales.generated.native.js");
49
- var import_tooling = require("@tamagui/style-grammar/tooling");
50
- var import_v6_themes = require("./v6-themes.native.js");
50
+ var import_v6_themes2 = require("./v6-themes.native.js");
51
51
  var tokens = {
52
52
  space: import_v6_tailwind_scales.tailwindSpace,
53
53
  size: import_v6_tailwind_scales.tailwindSize,
@@ -32,10 +32,10 @@ __export(v6_base_exports, {
32
32
  settings: () => settings,
33
33
  shorthands: () => import_v6.shorthands,
34
34
  tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,
35
- toV6Themes: () => import_v6_themes.toV6Themes,
35
+ toV6Themes: () => import_v6_themes2.toV6Themes,
36
36
  tokens: () => tokens,
37
- v6RemovedThemeNames: () => import_tooling.v6RemovedThemeNames,
38
- v6ThemeNameReplacements: () => import_tooling.v6ThemeNameReplacements
37
+ v6RemovedThemeNames: () => import_v6_themes.v6RemovedThemeNames,
38
+ v6ThemeNameReplacements: () => import_v6_themes.v6ThemeNameReplacements
39
39
  });
40
40
  module.exports = __toCommonJS(v6_base_exports);
41
41
  var import_v6 = require("@tamagui/shorthands/v6");
@@ -43,11 +43,11 @@ var import_fonts = require("./fonts.native.js");
43
43
  var import_media = require("./media.native.js");
44
44
  var import_settings = require("./settings.native.js");
45
45
  var import_v6_tailwind_scales = require("./v6-tailwind-scales.generated.native.js");
46
+ var import_v6_themes = require("@tamagui/style-grammar/v6-themes");
46
47
  var import_fonts2 = require("./fonts.native.js");
47
48
  var import_media2 = require("./media.native.js");
48
49
  var import_v6_tailwind_scales2 = require("./v6-tailwind-scales.generated.native.js");
49
- var import_tooling = require("@tamagui/style-grammar/tooling");
50
- var import_v6_themes = require("./v6-themes.native.js");
50
+ var import_v6_themes2 = require("./v6-themes.native.js");
51
51
  var tokens = {
52
52
  space: import_v6_tailwind_scales.tailwindSpace,
53
53
  size: import_v6_tailwind_scales.tailwindSize,
@@ -1 +1 @@
1
- {"version":3,"file":"v6-base.native.js","names":[],"sources":["cjs/v6-base.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar v6_base_exports = {};\n__export(v6_base_exports, {\n breakpoints: () => import_media2.breakpoints,\n createSystemFont: () => import_fonts2.createSystemFont,\n createV6Config: () => createV6Config,\n fonts: () => fonts,\n media: () => import_media2.media,\n mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,\n selectionStyles: () => import_settings.selectionStyles,\n settings: () => settings,\n shorthands: () => import_v6.shorthands,\n tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,\n toV6Themes: () => import_v6_themes.toV6Themes,\n tokens: () => tokens,\n v6RemovedThemeNames: () => import_tooling.v6RemovedThemeNames,\n v6ThemeNameReplacements: () => import_tooling.v6ThemeNameReplacements\n});\nmodule.exports = __toCommonJS(v6_base_exports);\nvar import_v6 = require(\"@tamagui/shorthands/v6\");\nvar import_fonts = require(\"./fonts\");\nvar import_media = require(\"./media\");\nvar import_settings = require(\"./settings\");\nvar import_v6_tailwind_scales = require(\"./v6-tailwind-scales.generated\");\nvar import_fonts2 = require(\"./fonts\");\nvar import_media2 = require(\"./media\");\nvar import_v6_tailwind_scales2 = require(\"./v6-tailwind-scales.generated\");\nvar import_tooling = require(\"@tamagui/style-grammar/tooling\");\nvar import_v6_themes = require(\"./v6-themes\");\nvar tokens = {\n space: import_v6_tailwind_scales.tailwindSpace,\n size: import_v6_tailwind_scales.tailwindSize,\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...import_v6_tailwind_scales.tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...import_v6_tailwind_scales.tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...import_v6_tailwind_scales.tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(import_fonts.fonts.body),\n heading: withTailwindTypeScale(import_fonts.fonts.heading)\n};\nvar settings = {\n ...import_settings.settings\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media: import_media.media,\n shorthands: import_v6.shorthands,\n fonts,\n selectionStyles: import_settings.selectionStyles,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB;CACxB,mBAAmB,cAAc;CACjC,wBAAwB,cAAc;CACtC,sBAAsB;CAC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AI,QAAQ,OAAO;EACnB,IAAI,MAAM,MAAM,WAAW,MAAM,MAAM,KAAK,WAAW,IAAI;GACzD,MAAM,IAAI,MAAM,gBAAgB,MAAM,mDAAmD,MAAM,MAAM,OAAO,GAAG,MAAM,KAAK,QAAQ;EACpI;EACA,MAAM,MAAM,QAAQ,SAAS,OAAO,OAAO;GACzC,MAAM,GAAG,QAAQ,QAAQ,OAAO;EAClC,CAAC;EACD,MAAM,KAAK,QAAQ,SAAS,OAAO,OAAO;GACxC,KAAK,GAAG,QAAQ,QAAQ,OAAO;EACjC,CAAC;CACH;CACA,IAAI,QAAQ,CAAC;CACb,IAAI,OAAO,CAAC;CACZ,KAAK,IAAI,QAAQ,QAAQ,MAAM,IAAI;CACnC,OAAO;EACL,GAAG;EACH,OAAO;GACL,GAAG,OAAO;GACV,GAAG;EACL;EACA,MAAM;GACJ,GAAG,OAAO;GACV,GAAG;EACL;CACF;AACF;AACA,IAAI,gBAAgB;CAClB,OAAO,aAAa;CACpB,YAAY,UAAU;CACtB;CACA,iBAAiB,gBAAgB;CACjC;AACF;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAC3B,GAAG;GACH,OAAO,OAAO;EAChB,IAAI;CACN;AACF"}
1
+ {"version":3,"file":"v6-base.native.js","names":[],"sources":["cjs/v6-base.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar v6_base_exports = {};\n__export(v6_base_exports, {\n breakpoints: () => import_media2.breakpoints,\n createSystemFont: () => import_fonts2.createSystemFont,\n createV6Config: () => createV6Config,\n fonts: () => fonts,\n media: () => import_media2.media,\n mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,\n selectionStyles: () => import_settings.selectionStyles,\n settings: () => settings,\n shorthands: () => import_v6.shorthands,\n tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,\n toV6Themes: () => import_v6_themes2.toV6Themes,\n tokens: () => tokens,\n v6RemovedThemeNames: () => import_v6_themes.v6RemovedThemeNames,\n v6ThemeNameReplacements: () => import_v6_themes.v6ThemeNameReplacements\n});\nmodule.exports = __toCommonJS(v6_base_exports);\nvar import_v6 = require(\"@tamagui/shorthands/v6\");\nvar import_fonts = require(\"./fonts\");\nvar import_media = require(\"./media\");\nvar import_settings = require(\"./settings\");\nvar import_v6_tailwind_scales = require(\"./v6-tailwind-scales.generated\");\nvar import_v6_themes = require(\"@tamagui/style-grammar/v6-themes\");\nvar import_fonts2 = require(\"./fonts\");\nvar import_media2 = require(\"./media\");\nvar import_v6_tailwind_scales2 = require(\"./v6-tailwind-scales.generated\");\nvar import_v6_themes2 = require(\"./v6-themes\");\nvar tokens = {\n space: import_v6_tailwind_scales.tailwindSpace,\n size: import_v6_tailwind_scales.tailwindSize,\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...import_v6_tailwind_scales.tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...import_v6_tailwind_scales.tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...import_v6_tailwind_scales.tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(import_fonts.fonts.body),\n heading: withTailwindTypeScale(import_fonts.fonts.heading)\n};\nvar settings = {\n ...import_settings.settings\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media: import_media.media,\n shorthands: import_v6.shorthands,\n fonts,\n selectionStyles: import_settings.selectionStyles,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAA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
@@ -21,13 +21,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var v6_themes_exports = {};
22
22
  __export(v6_themes_exports, { toV6Themes: () => toV6Themes });
23
23
  module.exports = __toCommonJS(v6_themes_exports);
24
- var import_tooling = require("@tamagui/style-grammar/tooling");
24
+ var import_v6_themes = require("@tamagui/style-grammar/v6-themes");
25
25
  function toV6Themes(themes) {
26
26
  const convertedThemes = /* @__PURE__ */ new WeakMap();
27
27
  return Object.fromEntries(Object.entries(themes).map(([themeName, theme]) => {
28
28
  let convertedTheme = convertedThemes.get(theme);
29
29
  if (!convertedTheme) {
30
- convertedTheme = Object.fromEntries(Object.entries(theme).filter(([name]) => !import_tooling.v6RemovedThemeNames.includes(name)).map(([name, value]) => [import_tooling.v6ThemeNameReplacements[name] ?? name, value]));
30
+ convertedTheme = Object.fromEntries(Object.entries(theme).filter(([name]) => !import_v6_themes.v6RemovedThemeNames.includes(name)).map(([name, value]) => [import_v6_themes.v6ThemeNameReplacements[name] ?? name, value]));
31
31
  convertedThemes.set(theme, convertedTheme);
32
32
  }
33
33
  return [themeName, convertedTheme];
@@ -23,7 +23,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var v6_themes_exports = {};
24
24
  __export(v6_themes_exports, { toV6Themes: () => toV6Themes });
25
25
  module.exports = __toCommonJS(v6_themes_exports);
26
- var import_tooling = require("@tamagui/style-grammar/tooling");
26
+ var import_v6_themes = require("@tamagui/style-grammar/v6-themes");
27
27
  function toV6Themes(themes) {
28
28
  var convertedThemes = /* @__PURE__ */ new WeakMap();
29
29
  return Object.fromEntries(Object.entries(themes).map(function(param) {
@@ -32,11 +32,11 @@ function toV6Themes(themes) {
32
32
  if (!convertedTheme) {
33
33
  convertedTheme = Object.fromEntries(Object.entries(theme).filter(function(param2) {
34
34
  var [name] = param2;
35
- return !import_tooling.v6RemovedThemeNames.includes(name);
35
+ return !import_v6_themes.v6RemovedThemeNames.includes(name);
36
36
  }).map(function(param2) {
37
37
  var [name, value] = param2;
38
38
  var _v6ThemeNameReplacements_name;
39
- return [(_v6ThemeNameReplacements_name = import_tooling.v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name, value];
39
+ return [(_v6ThemeNameReplacements_name = import_v6_themes.v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name, value];
40
40
  }));
41
41
  convertedThemes.set(theme, convertedTheme);
42
42
  }
@@ -23,7 +23,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var v6_themes_exports = {};
24
24
  __export(v6_themes_exports, { toV6Themes: () => toV6Themes });
25
25
  module.exports = __toCommonJS(v6_themes_exports);
26
- var import_tooling = require("@tamagui/style-grammar/tooling");
26
+ var import_v6_themes = require("@tamagui/style-grammar/v6-themes");
27
27
  function toV6Themes(themes) {
28
28
  var convertedThemes = /* @__PURE__ */ new WeakMap();
29
29
  return Object.fromEntries(Object.entries(themes).map(function(param) {
@@ -32,11 +32,11 @@ function toV6Themes(themes) {
32
32
  if (!convertedTheme) {
33
33
  convertedTheme = Object.fromEntries(Object.entries(theme).filter(function(param2) {
34
34
  var [name] = param2;
35
- return !import_tooling.v6RemovedThemeNames.includes(name);
35
+ return !import_v6_themes.v6RemovedThemeNames.includes(name);
36
36
  }).map(function(param2) {
37
37
  var [name, value] = param2;
38
38
  var _v6ThemeNameReplacements_name;
39
- return [(_v6ThemeNameReplacements_name = import_tooling.v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name, value];
39
+ return [(_v6ThemeNameReplacements_name = import_v6_themes.v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name, value];
40
40
  }));
41
41
  convertedThemes.set(theme, convertedTheme);
42
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"v6-themes.native.js","names":[],"sources":["cjs/v6-themes.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar v6_themes_exports = {};\n__export(v6_themes_exports, {\n toV6Themes: () => toV6Themes\n});\nmodule.exports = __toCommonJS(v6_themes_exports);\nvar import_tooling = require(\"@tamagui/style-grammar/tooling\");\nfunction toV6Themes(themes) {\n var convertedThemes = /* @__PURE__ */ new WeakMap();\n return Object.fromEntries(Object.entries(themes).map(function(param) {\n var [themeName, theme] = param;\n var convertedTheme = convertedThemes.get(theme);\n if (!convertedTheme) {\n convertedTheme = Object.fromEntries(Object.entries(theme).filter(function(param2) {\n var [name] = param2;\n return !import_tooling.v6RemovedThemeNames.includes(name);\n }).map(function(param2) {\n var [name, value] = param2;\n var _v6ThemeNameReplacements_name;\n return [\n (_v6ThemeNameReplacements_name = import_tooling.v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name,\n value\n ];\n }));\n convertedThemes.set(theme, convertedTheme);\n }\n return [\n themeName,\n convertedTheme\n ];\n }));\n}\n//# sourceMappingURL=v6-themes.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAA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WAAW,QAAQ,kCAAkC,KAAK,IAAI,gCAAgC,MACtK,KACF;GACF,CAAC,CAAC;GACF,gBAAgB,IAAI,OAAO,cAAc;EAC3C;EACA,OAAO,CACL,WACA,cACF;CACF,CAAC,CAAC;AACJ"}
1
+ {"version":3,"file":"v6-themes.native.js","names":[],"sources":["cjs/v6-themes.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar v6_themes_exports = {};\n__export(v6_themes_exports, {\n toV6Themes: () => toV6Themes\n});\nmodule.exports = __toCommonJS(v6_themes_exports);\nvar import_v6_themes = require(\"@tamagui/style-grammar/v6-themes\");\nfunction toV6Themes(themes) {\n var convertedThemes = /* @__PURE__ */ new WeakMap();\n return Object.fromEntries(Object.entries(themes).map(function(param) {\n var [themeName, theme] = param;\n var convertedTheme = convertedThemes.get(theme);\n if (!convertedTheme) {\n convertedTheme = Object.fromEntries(Object.entries(theme).filter(function(param2) {\n var [name] = param2;\n return !import_v6_themes.v6RemovedThemeNames.includes(name);\n }).map(function(param2) {\n var [name, value] = param2;\n var _v6ThemeNameReplacements_name;\n return [\n (_v6ThemeNameReplacements_name = import_v6_themes.v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name,\n value\n ];\n }));\n convertedThemes.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,OAAO,CAAC,iBAAiB,oBAAoB,SAAS,IAAI;GAC5D,CAAC,CAAC,CAAC,IAAI,SAAS,QAAQ;IACtB,IAAI,CAAC,MAAM,SAAS;IACpB,IAAI;IACJ,OAAO,EACJ,gCAAgC,iBAAiB,wBAAwB,WAAW,QAAQ,kCAAkC,KAAK,IAAI,gCAAgC,MACxK,KACF;GACF,CAAC,CAAC;GACF,gBAAgB,IAAI,OAAO,cAAc;EAC3C;EACA,OAAO,CACL,WACA,cACF;CACF,CAAC,CAAC;AACJ"}
@@ -3,7 +3,7 @@ import { createSystemFont, fonts as fonts$1 } from "./fonts.mjs";
3
3
  import { breakpoints, media, media as media2, mediaQueryDefaultActive } from "./media.mjs";
4
4
  import { selectionStyles, settings as settings$1 } from "./settings.mjs";
5
5
  import { tailwindFontSize, tailwindLineHeight, tailwindRadius, tailwindSize, tailwindSource, tailwindSpace } from "./v6-tailwind-scales.generated.mjs";
6
- import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/tooling";
6
+ import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/v6-themes";
7
7
  import { toV6Themes } from "./v6-themes.mjs";
8
8
 
9
9
  const tokens = {
@@ -1 +1 @@
1
- {"version":3,"file":"v6-base.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { selectionStyles, settings as baseSettings } from \"./settings\";\nimport {\n tailwindFontSize,\n tailwindLineHeight,\n tailwindRadius,\n tailwindSize,\n tailwindSpace\n} from \"./v6-tailwind-scales.generated\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport {\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n} from \"@tamagui/style-grammar/tooling\";\nimport { toV6Themes } from \"./v6-themes\";\nconst tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: { ...font.size, ...tailwindFontSize },\n lineHeight: { ...font.lineHeight, ...tailwindLineHeight }\n };\n}\nconst fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nconst settings = {\n ...baseSettings\n};\nfunction themesWithColorScales(themes, scales) {\n const light = {};\n const dark = {};\n for (const name in scales) {\n const scale = scales[name];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(\n `color scale \"${name}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`\n );\n }\n scale.light.forEach((value, index) => {\n light[`${name}${index + 1}`] = value;\n });\n scale.dark.forEach((value, index) => {\n dark[`${name}${index + 1}`] = value;\n });\n }\n return {\n ...themes,\n light: { ...themes.light, ...light },\n dark: { ...themes.dark, ...dark }\n };\n}\nconst alignedConfig = {\n media,\n shorthands,\n fonts,\n selectionStyles,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? { ...tokens, color: colors.colorTokens } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;AAmBA,MAAM,SAAS;CACb,OAAO;CACP,MAAM;CACN,QAAQ;EACN,GAAG;EACH,GAAG;EACH,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AO,OAAO;EAAY,IAAI;CAC1E;AACF"}
1
+ {"version":3,"file":"v6-base.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { selectionStyles, settings as baseSettings } from \"./settings\";\nimport {\n tailwindFontSize,\n tailwindLineHeight,\n tailwindRadius,\n tailwindSize,\n tailwindSpace\n} from \"./v6-tailwind-scales.generated\";\nimport {\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n} from \"@tamagui/style-grammar/v6-themes\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport { toV6Themes } from \"./v6-themes\";\nconst tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: { ...font.size, ...tailwindFontSize },\n lineHeight: { ...font.lineHeight, ...tailwindLineHeight }\n };\n}\nconst fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nconst settings = {\n ...baseSettings\n};\nfunction themesWithColorScales(themes, scales) {\n const light = {};\n const dark = {};\n for (const name in scales) {\n const scale = scales[name];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(\n `color scale \"${name}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`\n );\n }\n scale.light.forEach((value, index) => {\n light[`${name}${index + 1}`] = value;\n });\n scale.dark.forEach((value, index) => {\n dark[`${name}${index + 1}`] = value;\n });\n }\n return {\n ...themes,\n light: { ...themes.light, ...light },\n dark: { ...themes.dark, ...dark }\n };\n}\nconst alignedConfig = {\n media,\n shorthands,\n fonts,\n selectionStyles,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? { ...tokens, color: colors.colorTokens } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;AAmBA,MAAM,SAAS;CACb,OAAO;CACP,MAAM;CACN,QAAQ;EACN,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,GAAG;CACL;AACF;AACA,SAAS,sBAAsB,MAAM;CACnC,OAAO;EACL,GAAG;EACH,MAAM;GAAE,GAAG,KAAK;GAAM,GAAG;EAAiB;EAC1C,YAAY;GAAE,GAAG,KAAK;GAAY,GAAG;EAAmB;CAC1D;AACF;AACA,MAAM,QAAQ;CACZ,MAAM,sBAAsBA,QAAY,IAAI;CAC5C,SAAS,sBAAsBA,QAAY,OAAO;AACpD;AACA,MAAM,WAAW,EACf,GAAGC,WACL;AACA,SAAS,sBAAsB,QAAQ,QAAQ;CAC7C,MAAM,QAAQ,CAAC;CACf,MAAM,OAAO,CAAC;CACd,KAAK,MAAM,QAAQ,QAAQ;EACzB,MAAM,QAAQ,OAAO;EACrB,IAAI,MAAM,MAAM,WAAW,MAAM,MAAM,KAAK,WAAW,IAAI;GACzD,MAAM,IAAI,MACR,gBAAgB,KAAK,mDAAmD,MAAM,MAAM,OAAO,GAAG,MAAM,KAAK,QAC3G;EACF;EACA,MAAM,MAAM,SAAS,OAAO,UAAU;GACpC,MAAM,GAAG,OAAO,QAAQ,OAAO;EACjC,CAAC;EACD,MAAM,KAAK,SAAS,OAAO,UAAU;GACnC,KAAK,GAAG,OAAO,QAAQ,OAAO;EAChC,CAAC;CACH;CACA,OAAO;EACL,GAAG;EACH,OAAO;GAAE,GAAG,OAAO;GAAO,GAAG;EAAM;EACnC,MAAM;GAAE,GAAG,OAAO;GAAM,GAAG;EAAK;CAClC;AACF;AACA,MAAM,gBAAgB;CACpB;CACA;CACA;CACA;CACA;AACF;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAAE,GAAG;GAAQ,OAAO,OAAO;EAAY,IAAI;CAC1E;AACF"}
@@ -3,7 +3,7 @@ import { createSystemFont, fonts as fonts$1 } from "./fonts.native.js";
3
3
  import { breakpoints, media, media as media2, mediaQueryDefaultActive } from "./media.native.js";
4
4
  import { selectionStyles, settings as settings$1 } from "./settings.native.js";
5
5
  import { tailwindFontSize, tailwindLineHeight, tailwindRadius, tailwindSize, tailwindSource, tailwindSpace } from "./v6-tailwind-scales.generated.native.js";
6
- import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/tooling";
6
+ import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/v6-themes";
7
7
  import { toV6Themes } from "./v6-themes.native.js";
8
8
 
9
9
  var tokens = {
@@ -1 +1 @@
1
- {"version":3,"file":"v6-base.native.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.native.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { selectionStyles, settings as baseSettings } from \"./settings\";\nimport { tailwindFontSize, tailwindLineHeight, tailwindRadius, tailwindSize, tailwindSpace } from \"./v6-tailwind-scales.generated\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport { v6RemovedThemeNames, v6ThemeNameReplacements } from \"@tamagui/style-grammar/tooling\";\nimport { toV6Themes } from \"./v6-themes\";\nvar tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nvar settings = {\n ...baseSettings\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media,\n shorthands,\n fonts,\n selectionStyles,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;AAUA,IAAI,SAAS;CACX,OAAO;CACP,MAAM;CACN,QAAQ;EACN,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,GAAG;CACL;AACF;AACA,SAAS,sBAAsB,MAAM;CACnC,OAAO;EACL,GAAG;EACH,MAAM;GACJ,GAAG,KAAK;GACR,GAAG;EACL;EACA,YAAY;GACV,GAAG,KAAK;GACR,GAAG;EACL;CACF;AACF;AACA,IAAI,QAAQ;CACV,MAAM,sBAAsBA,QAAY,IAAI;CAC5C,SAAS,sBAAsBA,QAAY,OAAO;AACpD;AACA,IAAI,WAAW,EACb,GAAGC,WACL;AACA,SAAS,sBAAsB,QAAQ,QAAQ;CAC7C,IAAI,QAAQ,SAAS,OAAO;EAC1B,IAAI,QAAQ,OAAO;EACnB,IAAI,MAAM,MAAM,WAAW,MAAM,MAAM,KAAK,WAAW,IAAI;GACzD,MAAM,IAAI,MAAM,gBAAgB,MAAM,mDAAmD,MAAM,MAAM,OAAO,GAAG,MAAM,KAAK,QAAQ;EACpI;EACA,MAAM,MAAM,QAAQ,SAAS,OAAO,OAAO;GACzC,MAAM,GAAG,QAAQ,QAAQ,OAAO;EAClC,CAAC;EACD,MAAM,KAAK,QAAQ,SAAS,OAAO,OAAO;GACxC,KAAK,GAAG,QAAQ,QAAQ,OAAO;EACjC,CAAC;CACH;CACA,IAAI,QAAQ,CAAC;CACb,IAAI,OAAO,CAAC;CACZ,KAAK,IAAI,QAAQ,QAAQ,MAAM,IAAI;CACnC,OAAO;EACL,GAAG;EACH,OAAO;GACL,GAAG,OAAO;GACV,GAAG;EACL;EACA,MAAM;GACJ,GAAG,OAAO;GACV,GAAG;EACL;CACF;AACF;AACA,IAAI,gBAAgB;CAClB;CACA;CACA;CACA;CACA;AACF;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAC3B,GAAG;GACH,OAAO,OAAO;EAChB,IAAI;CACN;AACF"}
1
+ {"version":3,"file":"v6-base.native.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.native.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { selectionStyles, settings as baseSettings } from \"./settings\";\nimport { tailwindFontSize, tailwindLineHeight, tailwindRadius, tailwindSize, tailwindSpace } from \"./v6-tailwind-scales.generated\";\nimport { v6RemovedThemeNames, v6ThemeNameReplacements } from \"@tamagui/style-grammar/v6-themes\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport { toV6Themes } from \"./v6-themes\";\nvar tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nvar settings = {\n ...baseSettings\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media,\n shorthands,\n fonts,\n selectionStyles,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;AAUA,IAAI,SAAS;CACX,OAAO;CACP,MAAM;CACN,QAAQ;EACN,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,GAAG;CACL;AACF;AACA,SAAS,sBAAsB,MAAM;CACnC,OAAO;EACL,GAAG;EACH,MAAM;GACJ,GAAG,KAAK;GACR,GAAG;EACL;EACA,YAAY;GACV,GAAG,KAAK;GACR,GAAG;EACL;CACF;AACF;AACA,IAAI,QAAQ;CACV,MAAM,sBAAsBA,QAAY,IAAI;CAC5C,SAAS,sBAAsBA,QAAY,OAAO;AACpD;AACA,IAAI,WAAW,EACb,GAAGC,WACL;AACA,SAAS,sBAAsB,QAAQ,QAAQ;CAC7C,IAAI,QAAQ,SAAS,OAAO;EAC1B,IAAI,QAAQ,OAAO;EACnB,IAAI,MAAM,MAAM,WAAW,MAAM,MAAM,KAAK,WAAW,IAAI;GACzD,MAAM,IAAI,MAAM,gBAAgB,MAAM,mDAAmD,MAAM,MAAM,OAAO,GAAG,MAAM,KAAK,QAAQ;EACpI;EACA,MAAM,MAAM,QAAQ,SAAS,OAAO,OAAO;GACzC,MAAM,GAAG,QAAQ,QAAQ,OAAO;EAClC,CAAC;EACD,MAAM,KAAK,QAAQ,SAAS,OAAO,OAAO;GACxC,KAAK,GAAG,QAAQ,QAAQ,OAAO;EACjC,CAAC;CACH;CACA,IAAI,QAAQ,CAAC;CACb,IAAI,OAAO,CAAC;CACZ,KAAK,IAAI,QAAQ,QAAQ,MAAM,IAAI;CACnC,OAAO;EACL,GAAG;EACH,OAAO;GACL,GAAG,OAAO;GACV,GAAG;EACL;EACA,MAAM;GACJ,GAAG,OAAO;GACV,GAAG;EACL;CACF;AACF;AACA,IAAI,gBAAgB;CAClB;CACA;CACA;CACA;CACA;AACF;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAC3B,GAAG;GACH,OAAO,OAAO;EAChB,IAAI;CACN;AACF"}
@@ -1,4 +1,4 @@
1
- import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/tooling";
1
+ import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/v6-themes";
2
2
 
3
3
  function toV6Themes(themes) {
4
4
  const convertedThemes = /* @__PURE__ */ new WeakMap();
@@ -1 +1 @@
1
- {"version":3,"file":"v6-themes.js","names":[],"sources":["esm/v6-themes.js"],"sourcesContent":["import {\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n} from \"@tamagui/style-grammar/tooling\";\nfunction toV6Themes(themes) {\n const convertedThemes = /* @__PURE__ */ new WeakMap();\n return Object.fromEntries(\n Object.entries(themes).map(([themeName, theme]) => {\n let convertedTheme = convertedThemes.get(theme);\n if (!convertedTheme) {\n convertedTheme = Object.fromEntries(\n Object.entries(theme).filter(\n ([name]) => !v6RemovedThemeNames.includes(name)\n ).map(([name, value]) => [\n v6ThemeNameReplacements[name] ?? name,\n value\n ])\n );\n convertedThemes.set(theme, convertedTheme);\n }\n return [themeName, convertedTheme];\n })\n );\n}\nexport {\n toV6Themes\n};\n//# sourceMappingURL=v6-themes.js.map\n"],"mappings":";;;AAIA,SAAS,WAAW,QAAQ;CAC1B,MAAM,kCAAkC,IAAI,QAAQ;CACpD,OAAO,OAAO,YACZ,OAAO,QAAQ,MAAM,CAAC,CAAC,KAAK,CAAC,WAAW,WAAW;EACjD,IAAI,iBAAiB,gBAAgB,IAAI,KAAK;EAC9C,IAAI,CAAC,gBAAgB;GACnB,iBAAiB,OAAO,YACtB,OAAO,QAAQ,KAAK,CAAC,CAAC,QACnB,CAAC,UAAU,CAAC,oBAAoB,SAAS,IAAI,CAChD,CAAC,CAAC,KAAK,CAAC,MAAM,WAAW,CACvB,wBAAwB,SAAS,MACjC,KACF,CAAC,CACH;GACA,gBAAgB,IAAI,OAAO,cAAc;EAC3C;EACA,OAAO,CAAC,WAAW,cAAc;CACnC,CAAC,CACH;AACF"}
1
+ {"version":3,"file":"v6-themes.js","names":[],"sources":["esm/v6-themes.js"],"sourcesContent":["import {\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n} from \"@tamagui/style-grammar/v6-themes\";\nfunction toV6Themes(themes) {\n const convertedThemes = /* @__PURE__ */ new WeakMap();\n return Object.fromEntries(\n Object.entries(themes).map(([themeName, theme]) => {\n let convertedTheme = convertedThemes.get(theme);\n if (!convertedTheme) {\n convertedTheme = Object.fromEntries(\n Object.entries(theme).filter(\n ([name]) => !v6RemovedThemeNames.includes(name)\n ).map(([name, value]) => [\n v6ThemeNameReplacements[name] ?? name,\n value\n ])\n );\n convertedThemes.set(theme, convertedTheme);\n }\n return [themeName, convertedTheme];\n })\n );\n}\nexport {\n toV6Themes\n};\n//# sourceMappingURL=v6-themes.js.map\n"],"mappings":";;;AAIA,SAAS,WAAW,QAAQ;CAC1B,MAAM,kCAAkC,IAAI,QAAQ;CACpD,OAAO,OAAO,YACZ,OAAO,QAAQ,MAAM,CAAC,CAAC,KAAK,CAAC,WAAW,WAAW;EACjD,IAAI,iBAAiB,gBAAgB,IAAI,KAAK;EAC9C,IAAI,CAAC,gBAAgB;GACnB,iBAAiB,OAAO,YACtB,OAAO,QAAQ,KAAK,CAAC,CAAC,QACnB,CAAC,UAAU,CAAC,oBAAoB,SAAS,IAAI,CAChD,CAAC,CAAC,KAAK,CAAC,MAAM,WAAW,CACvB,wBAAwB,SAAS,MACjC,KACF,CAAC,CACH;GACA,gBAAgB,IAAI,OAAO,cAAc;EAC3C;EACA,OAAO,CAAC,WAAW,cAAc;CACnC,CAAC,CACH;AACF"}
@@ -1,4 +1,4 @@
1
- import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/tooling";
1
+ import { v6RemovedThemeNames, v6ThemeNameReplacements } from "@tamagui/style-grammar/v6-themes";
2
2
 
3
3
  function toV6Themes(themes) {
4
4
  var convertedThemes = /* @__PURE__ */ new WeakMap();
@@ -1 +1 @@
1
- {"version":3,"file":"v6-themes.native.js","names":[],"sources":["esm/v6-themes.native.js"],"sourcesContent":["import { v6RemovedThemeNames, v6ThemeNameReplacements } from \"@tamagui/style-grammar/tooling\";\nfunction toV6Themes(themes) {\n var convertedThemes = /* @__PURE__ */ new WeakMap();\n return Object.fromEntries(Object.entries(themes).map(function(param) {\n var [themeName, theme] = param;\n var convertedTheme = convertedThemes.get(theme);\n if (!convertedTheme) {\n convertedTheme = Object.fromEntries(Object.entries(theme).filter(function(param2) {\n var [name] = param2;\n return !v6RemovedThemeNames.includes(name);\n }).map(function(param2) {\n var [name, value] = param2;\n var _v6ThemeNameReplacements_name;\n return [\n (_v6ThemeNameReplacements_name = v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name,\n value\n ];\n }));\n convertedThemes.set(theme, convertedTheme);\n }\n return [\n themeName,\n convertedTheme\n ];\n }));\n}\nexport {\n toV6Themes\n};\n//# sourceMappingURL=v6-themes.js.map\n"],"mappings":";;;AACA,SAAS,WAAW,QAAQ;CAC1B,IAAI,kCAAkC,IAAI,QAAQ;CAClD,OAAO,OAAO,YAAY,OAAO,QAAQ,MAAM,CAAC,CAAC,IAAI,SAAS,OAAO;EACnE,IAAI,CAAC,WAAW,SAAS;EACzB,IAAI,iBAAiB,gBAAgB,IAAI,KAAK;EAC9C,IAAI,CAAC,gBAAgB;GACnB,iBAAiB,OAAO,YAAY,OAAO,QAAQ,KAAK,CAAC,CAAC,OAAO,SAAS,QAAQ;IAChF,IAAI,CAAC,QAAQ;IACb,OAAO,CAAC,oBAAoB,SAAS,IAAI;GAC3C,CAAC,CAAC,CAAC,IAAI,SAAS,QAAQ;IACtB,IAAI,CAAC,MAAM,SAAS;IACpB,IAAI;IACJ,OAAO,EACJ,gCAAgC,wBAAwB,WAAW,QAAQ,kCAAkC,KAAK,IAAI,gCAAgC,MACvJ,KACF;GACF,CAAC,CAAC;GACF,gBAAgB,IAAI,OAAO,cAAc;EAC3C;EACA,OAAO,CACL,WACA,cACF;CACF,CAAC,CAAC;AACJ"}
1
+ {"version":3,"file":"v6-themes.native.js","names":[],"sources":["esm/v6-themes.native.js"],"sourcesContent":["import { v6RemovedThemeNames, v6ThemeNameReplacements } from \"@tamagui/style-grammar/v6-themes\";\nfunction toV6Themes(themes) {\n var convertedThemes = /* @__PURE__ */ new WeakMap();\n return Object.fromEntries(Object.entries(themes).map(function(param) {\n var [themeName, theme] = param;\n var convertedTheme = convertedThemes.get(theme);\n if (!convertedTheme) {\n convertedTheme = Object.fromEntries(Object.entries(theme).filter(function(param2) {\n var [name] = param2;\n return !v6RemovedThemeNames.includes(name);\n }).map(function(param2) {\n var [name, value] = param2;\n var _v6ThemeNameReplacements_name;\n return [\n (_v6ThemeNameReplacements_name = v6ThemeNameReplacements[name]) !== null && _v6ThemeNameReplacements_name !== void 0 ? _v6ThemeNameReplacements_name : name,\n value\n ];\n }));\n convertedThemes.set(theme, convertedTheme);\n }\n return [\n themeName,\n convertedTheme\n ];\n }));\n}\nexport {\n toV6Themes\n};\n//# sourceMappingURL=v6-themes.js.map\n"],"mappings":";;;AACA,SAAS,WAAW,QAAQ;CAC1B,IAAI,kCAAkC,IAAI,QAAQ;CAClD,OAAO,OAAO,YAAY,OAAO,QAAQ,MAAM,CAAC,CAAC,IAAI,SAAS,OAAO;EACnE,IAAI,CAAC,WAAW,SAAS;EACzB,IAAI,iBAAiB,gBAAgB,IAAI,KAAK;EAC9C,IAAI,CAAC,gBAAgB;GACnB,iBAAiB,OAAO,YAAY,OAAO,QAAQ,KAAK,CAAC,CAAC,OAAO,SAAS,QAAQ;IAChF,IAAI,CAAC,QAAQ;IACb,OAAO,CAAC,oBAAoB,SAAS,IAAI;GAC3C,CAAC,CAAC,CAAC,IAAI,SAAS,QAAQ;IACtB,IAAI,CAAC,MAAM,SAAS;IACpB,IAAI;IACJ,OAAO,EACJ,gCAAgC,wBAAwB,WAAW,QAAQ,kCAAkC,KAAK,IAAI,gCAAgC,MACvJ,KACF;GACF,CAAC,CAAC;GACF,gBAAgB,IAAI,OAAO,cAAc;EAC3C;EACA,OAAO,CACL,WACA,cACF;CACF,CAAC,CAAC;AACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/config",
3
- "version": "3.0.0-beta.765.1",
3
+ "version": "3.0.0-beta.804.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "files": [
@@ -167,20 +167,20 @@
167
167
  "clean:build": "tamagui-build clean:build"
168
168
  },
169
169
  "dependencies": {
170
- "@tamagui/animations-css": "3.0.0-beta.765.1",
171
- "@tamagui/animations-motion": "3.0.0-beta.765.1",
172
- "@tamagui/animations-react-native": "3.0.0-beta.765.1",
173
- "@tamagui/animations-reanimated": "3.0.0-beta.765.1",
174
- "@tamagui/create-system-font": "3.0.0-beta.765.1",
175
- "@tamagui/shorthands": "3.0.0-beta.765.1",
176
- "@tamagui/style-grammar": "3.0.0-beta.765.1",
177
- "@tamagui/themes": "3.0.0-beta.765.1",
178
- "@tamagui/web": "3.0.0-beta.765.1"
170
+ "@tamagui/animations-css": "3.0.0-beta.804.1",
171
+ "@tamagui/animations-motion": "3.0.0-beta.804.1",
172
+ "@tamagui/animations-react-native": "3.0.0-beta.804.1",
173
+ "@tamagui/animations-reanimated": "3.0.0-beta.804.1",
174
+ "@tamagui/create-system-font": "3.0.0-beta.804.1",
175
+ "@tamagui/shorthands": "3.0.0-beta.804.1",
176
+ "@tamagui/style-grammar": "3.0.0-beta.804.1",
177
+ "@tamagui/themes": "3.0.0-beta.804.1",
178
+ "@tamagui/web": "3.0.0-beta.804.1"
179
179
  },
180
180
  "devDependencies": {
181
181
  "@csstools/color-helpers": "6.1.0",
182
- "@tamagui/build": "3.0.0-beta.765.1",
183
- "@tamagui/cli": "3.0.0-beta.765.1",
182
+ "@tamagui/build": "3.0.0-beta.804.1",
183
+ "@tamagui/cli": "3.0.0-beta.804.1",
184
184
  "tailwindcss": "4.3.0"
185
185
  },
186
186
  "repository": {
package/src/v6-base.ts CHANGED
@@ -12,16 +12,17 @@ import {
12
12
  tailwindSize,
13
13
  tailwindSpace,
14
14
  } from './v6-tailwind-scales.generated'
15
+ import {
16
+ v6RemovedThemeNames,
17
+ v6ThemeNameReplacements,
18
+ } from '@tamagui/style-grammar/v6-themes'
15
19
 
16
20
  export { shorthands }
17
21
  export { createSystemFont } from './fonts'
18
22
  export { breakpoints, media, mediaQueryDefaultActive } from './media'
19
23
  export { selectionStyles }
20
24
  export { tailwindSource } from './v6-tailwind-scales.generated'
21
- export {
22
- v6RemovedThemeNames,
23
- v6ThemeNameReplacements,
24
- } from '@tamagui/style-grammar/tooling'
25
+ export { v6RemovedThemeNames, v6ThemeNameReplacements }
25
26
  export { toV6Themes, type V6Theme, type V6Themes } from './v6-themes'
26
27
  // space and size deliberately remain separate configured domains even though their default
27
28
  // values coincide. z-index is literal, so its identity scale is not configured as tokens.
package/src/v6-themes.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  v6RemovedThemeNames,
3
3
  v6ThemeNameReplacements,
4
- } from '@tamagui/style-grammar/tooling'
4
+ } from '@tamagui/style-grammar/v6-themes'
5
5
 
6
6
  export type V6Theme<Theme> = {
7
7
  [Name in keyof Theme as Name extends (typeof v6RemovedThemeNames)[number]
@@ -1,12 +1,13 @@
1
1
  import { shorthands } from '@tamagui/shorthands/v6';
2
2
  import type { CreateTamaguiProps } from '@tamagui/web';
3
3
  import { selectionStyles } from './settings';
4
+ import { v6RemovedThemeNames, v6ThemeNameReplacements } from '@tamagui/style-grammar/v6-themes';
4
5
  export { shorthands };
5
6
  export { createSystemFont } from './fonts';
6
7
  export { breakpoints, media, mediaQueryDefaultActive } from './media';
7
8
  export { selectionStyles };
8
9
  export { tailwindSource } from './v6-tailwind-scales.generated';
9
- export { v6RemovedThemeNames, v6ThemeNameReplacements, } from '@tamagui/style-grammar/tooling';
10
+ export { v6RemovedThemeNames, v6ThemeNameReplacements };
10
11
  export { toV6Themes, type V6Theme, type V6Themes } from './v6-themes';
11
12
  export declare const tokens: {
12
13
  readonly space: {
@@ -1 +1 @@
1
- {"version":3,"file":"v6-base.d.ts","sourceRoot":"","sources":["../src/v6-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAGtD,OAAO,EAAE,eAAe,EAA4B,MAAM,YAAY,CAAA;AAStE,OAAO,EAAE,UAAU,EAAE,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlB,CAAA;AAED,wFAAwF;AACxF,wBAAgB,cAAc,CAC5B,MAAM,SAAS,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,EACxD,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC1C,MAAM,SAAS,aAAa,GAAG,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,EAC1D,MAAM,EAAE;IACR,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,WAAW,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,aAAa,GAAG;IACzB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,MAAM,EAAE,OAAO,MAAM,GAAG;QAAE,KAAK,EAAE,WAAW,CAAA;KAAE,CAAA;CAC/C,CAAA;AACD,wBAAgB,cAAc,CAC5B,MAAM,SAAS,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,EACxD,MAAM,SAAS,aAAa,GAAG,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,EAC1D,MAAM,EAAE;IACR,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,aAAa,GAAG;IACzB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,MAAM,EAAE,OAAO,MAAM,CAAA;CACtB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { v6RemovedThemeNames, v6ThemeNameReplacements } from '@tamagui/style-grammar/tooling';
1
+ import { v6RemovedThemeNames, v6ThemeNameReplacements } from '@tamagui/style-grammar/v6-themes';
2
2
  export type V6Theme<Theme> = {
3
3
  [Name in keyof Theme as Name extends (typeof v6RemovedThemeNames)[number] ? never : Name extends keyof typeof v6ThemeNameReplacements ? (typeof v6ThemeNameReplacements)[Name] : Name]: Theme[Name];
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"v6-themes.d.ts","sourceRoot":"","sources":["../src/v6-themes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,gCAAgC,CAAA;AAEvC,MAAM,MAAM,OAAO,CAAC,KAAK,IAAI;KAC1B,IAAI,IAAI,MAAM,KAAK,IAAI,IAAI,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,GACrE,KAAK,GACL,IAAI,SAAS,MAAM,OAAO,uBAAuB,GAC/C,CAAC,OAAO,uBAAuB,CAAC,CAAC,IAAI,CAAC,GACtC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;CACzB,CAAA;AAED,MAAM,MAAM,QAAQ,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI;KAC3D,IAAI,IAAI,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;CAC9C,CAAA;AAED,kEAAkE;AAClE,wBAAgB,UAAU,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9D,MAAM,EAAE,MAAM,GACb,QAAQ,CAAC,MAAM,CAAC,CAyBlB"}
1
+ {"version":3,"file":"v6-themes.d.ts","sourceRoot":"","sources":["../src/v6-themes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,kCAAkC,CAAA;AAEzC,MAAM,MAAM,OAAO,CAAC,KAAK,IAAI;KAC1B,IAAI,IAAI,MAAM,KAAK,IAAI,IAAI,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,GACrE,KAAK,GACL,IAAI,SAAS,MAAM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