@tamagui/tamagui-dev-config 2.7.7 → 3.0.0-beta.1091.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.
@@ -3,61 +3,51 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var createGenericFont_exports = {};
24
- __export(createGenericFont_exports, {
25
- createGenericFont: () => createGenericFont
26
- });
22
+ __export(createGenericFont_exports, { createGenericFont: () => createGenericFont });
27
23
  module.exports = __toCommonJS(createGenericFont_exports);
28
24
  var import_core = require("@tamagui/core");
29
25
  const genericFontSizes = {
30
- 1: 10,
31
- 2: 11,
32
- 3: 12,
33
- 4: 14,
34
- 5: 15,
35
- 6: 16,
36
- 7: 20,
37
- 8: 22,
38
- 9: 30,
39
- 10: 42,
40
- 11: 52,
41
- 12: 62,
42
- 13: 72,
43
- 14: 92,
44
- 15: 114,
45
- 16: 124
26
+ 1: 10,
27
+ 2: 11,
28
+ 3: 12,
29
+ 4: 14,
30
+ 5: 15,
31
+ 6: 16,
32
+ 7: 20,
33
+ 8: 22,
34
+ 9: 30,
35
+ 10: 42,
36
+ 11: 52,
37
+ 12: 62,
38
+ 13: 72,
39
+ 14: 92,
40
+ 15: 114,
41
+ 16: 124
46
42
  };
47
- function createGenericFont(family, font = {}, {
48
- sizeLineHeight = val => val * 1.35
49
- } = {}) {
50
- const size = font.size || genericFontSizes;
51
- return (0, import_core.createFont)({
52
- family,
53
- size,
54
- lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])),
55
- weight: {
56
- 0: "300"
57
- },
58
- letterSpacing: {
59
- 4: 0
60
- },
61
- ...font
62
- });
63
- }
43
+ function createGenericFont(family, font = {}, { sizeLineHeight = (val) => val * 1.35 } = {}) {
44
+ const size = font.size || genericFontSizes;
45
+ return (0, import_core.createFont)({
46
+ family,
47
+ size,
48
+ lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])),
49
+ weight: { 0: "300" },
50
+ letterSpacing: { 4: 0 },
51
+ ...font
52
+ });
53
+ }
@@ -3,125 +3,99 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var fonts_exports = {};
24
22
  __export(fonts_exports, {
25
- bodyFont: () => bodyFont,
26
- cherryBombFont: () => cherryBombFont,
27
- headingFont: () => headingFont,
28
- monoFont: () => monoFont,
29
- silkscreenFont: () => silkscreenFont
23
+ bodyFont: () => bodyFont,
24
+ cherryBombFont: () => cherryBombFont,
25
+ headingFont: () => headingFont,
26
+ monoFont: () => monoFont
30
27
  });
31
28
  module.exports = __toCommonJS(fonts_exports);
32
29
  var import_font_cherry_bomb = require("@tamagui/font-cherry-bomb");
33
30
  var import_font_inter = require("@tamagui/font-inter");
34
- var import_font_silkscreen = require("@tamagui/font-silkscreen");
35
31
  var import_createGenericFont = require("./createGenericFont.cjs");
32
+ const interFamily = "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif";
33
+ const monoFamily = "\"JetBrains Mono\", ui-monospace, \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace";
36
34
  const cherryBombFont = (0, import_font_cherry_bomb.createCherryBombFont)({
37
- // Cherry Bomb is a heavy rounded display face; fall back to on-brand Inter,
38
- // then heavy web-safe faces, so the brief pre-load flash looks close to the
39
- // real thing instead of thin default Arial.
40
- family: '"Cherry Bomb", "Inter", "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif',
41
- // Cherry Bomb only ships weight 400 (so this doesn't change its look), but a
42
- // heavy weight makes the Inter fallback render at ExtraBold (already preloaded)
43
- // instead of thin, much closer to Cherry Bomb during the load flash.
44
- weight: {
45
- 4: "800"
46
- }
35
+ family: `"Cherry Bomb", "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif`,
36
+ weight: { 4: "800" },
37
+ size: { true: 22.4 }
47
38
  });
48
- const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)();
49
39
  const headingFont = (0, import_font_inter.createInterFont)({
50
- size: {
51
- 5: 13,
52
- 6: 15,
53
- 9: 30,
54
- 10: 44
55
- },
56
- transform: {
57
- 6: "uppercase",
58
- 7: "none"
59
- },
60
- weight: {
61
- 6: "400",
62
- 7: "700"
63
- },
64
- color: {
65
- 6: "$colorFocus",
66
- 7: "$color"
67
- },
68
- letterSpacing: {
69
- 5: 2,
70
- 6: 1,
71
- 7: 0,
72
- 8: 0,
73
- 9: -0.1,
74
- 10: -0.25,
75
- 11: -0.5,
76
- 12: -0.75,
77
- 14: -1,
78
- 15: -2
79
- },
80
- // for native
81
- face: {
82
- 700: {
83
- normal: "InterBold"
84
- },
85
- 800: {
86
- normal: "InterBold"
87
- },
88
- 900: {
89
- normal: "InterBold"
90
- }
91
- }
92
- }, {
93
- sizeLineHeight: size => Math.round(size * 1.1 + (size < 30 ? 10 : 5))
94
- });
40
+ family: interFamily,
41
+ size: {
42
+ true: 14,
43
+ 5: 13,
44
+ 6: 15,
45
+ 9: 30,
46
+ 10: 44
47
+ },
48
+ transform: {
49
+ 6: "uppercase",
50
+ 7: "none"
51
+ },
52
+ weight: {
53
+ 6: "400",
54
+ 7: "700"
55
+ },
56
+ color: {
57
+ 6: "color-focus",
58
+ 7: "color"
59
+ },
60
+ letterSpacing: {
61
+ 5: 2,
62
+ 6: 1,
63
+ 7: 0,
64
+ 8: 0,
65
+ 9: 0,
66
+ 10: 0,
67
+ 11: 0,
68
+ 12: 0,
69
+ 14: 0,
70
+ 15: 0
71
+ }
72
+ }, { sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) });
95
73
  const bodyFont = (0, import_font_inter.createInterFont)({
96
- weight: {
97
- 1: "400"
98
- }
74
+ family: interFamily,
75
+ size: { true: 14 },
76
+ weight: { 1: "400" }
99
77
  }, {
100
- sizeSize: size => Math.round(size),
101
- sizeLineHeight: size => Math.round(size * 1.2 + (size >= 20 ? 12 : 8))
78
+ sizeSize: (size) => Math.round(size),
79
+ sizeLineHeight: (size) => Math.round(size * 1.2 + (size >= 20 ? 12 : 8))
102
80
  });
103
- const monoFont = (0, import_createGenericFont.createGenericFont)(`"Berkeley Mono", "ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`, {
104
- weight: {
105
- 1: "400"
106
- },
107
- size: {
108
- 1: 11,
109
- 2: 12,
110
- 3: 13,
111
- 4: 14,
112
- 5: 16,
113
- 6: 18,
114
- 7: 20,
115
- 8: 22,
116
- 9: 24,
117
- 10: 32,
118
- 11: 46,
119
- 12: 62,
120
- 13: 72,
121
- 14: 92,
122
- 15: 114,
123
- 16: 124
124
- }
125
- }, {
126
- sizeLineHeight: x => x * 1.5 + 2
127
- });
81
+ const monoFont = (0, import_createGenericFont.createGenericFont)(monoFamily, {
82
+ weight: { 1: "400" },
83
+ size: {
84
+ 1: 11,
85
+ 2: 12,
86
+ 3: 13,
87
+ 4: 14,
88
+ 5: 16,
89
+ 6: 18,
90
+ 7: 20,
91
+ 8: 22,
92
+ 9: 24,
93
+ 10: 32,
94
+ 11: 46,
95
+ 12: 62,
96
+ 13: 72,
97
+ 14: 92,
98
+ 15: 114,
99
+ 16: 124
100
+ }
101
+ }, { sizeLineHeight: (x) => x * 1.5 + 2 });
@@ -3,19 +3,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
- get: () => from[key],
9
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
- });
11
- }
12
- return to;
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
+ get: () => from[key],
9
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
+ });
11
+ }
12
+ return to;
13
13
  };
14
14
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
- value: true
17
- }), mod);
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
16
  var index_exports = {};
19
17
  module.exports = __toCommonJS(index_exports);
20
- __reExport(index_exports, require("./tamagui.dev.config"), module.exports);
21
- __reExport(index_exports, require("./media.cjs"), module.exports);
18
+ __reExport(index_exports, require("./tamagui.dev.config.cjs"), module.exports);
19
+ __reExport(index_exports, require("./media.cjs"), module.exports);
@@ -3,116 +3,78 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var media_exports = {};
24
22
  __export(media_exports, {
25
- demoMedia: () => demoMedia,
26
- media: () => media,
27
- mediaQueryDefaultActive: () => mediaQueryDefaultActive,
28
- widths: () => widths
23
+ demoMedia: () => demoMedia,
24
+ media: () => media,
25
+ mediaQueryDefaultActive: () => mediaQueryDefaultActive,
26
+ widths: () => widths
29
27
  });
30
28
  module.exports = __toCommonJS(media_exports);
31
- const demoMedia = [500, 620, 780, 900];
32
- const widths = [660, 800, 1020, 1280];
29
+ const demoMedia = [
30
+ 500,
31
+ 620,
32
+ 780,
33
+ 900
34
+ ];
35
+ const widths = [
36
+ 660,
37
+ 800,
38
+ 1020,
39
+ 1280
40
+ ];
33
41
  const breakpoints = {
34
- "2xl": 1536,
35
- xl: 1280,
36
- lg: 1024,
37
- md: 768,
38
- sm: 640,
39
- xs: 460,
40
- "2xs": 340
42
+ "2xl": 1536,
43
+ xl: 1280,
44
+ lg: 1024,
45
+ md: 768,
46
+ sm: 640,
47
+ xs: 460,
48
+ "2xs": 340
41
49
  };
42
50
  const media = {
43
- // v4 Config
44
- maxXs: {
45
- maxWidth: breakpoints.xs
46
- },
47
- max2xs: {
48
- maxWidth: breakpoints["2xs"]
49
- },
50
- maxSm: {
51
- maxWidth: breakpoints.sm
52
- },
53
- maxMd: {
54
- maxWidth: breakpoints.md
55
- },
56
- maxLg: {
57
- maxWidth: breakpoints.lg
58
- },
59
- maxXl: {
60
- maxWidth: breakpoints.xl
61
- },
62
- max2Xl: {
63
- maxWidth: breakpoints["2xl"]
64
- },
65
- // for site
66
- xl: {
67
- maxWidth: 1650
68
- },
69
- // between lg and xl - for studio usage
70
- lg_xl: {
71
- maxWidth: 1400
72
- },
73
- lg: {
74
- maxWidth: 1280
75
- },
76
- md: {
77
- maxWidth: 1020
78
- },
79
- sm: {
80
- maxWidth: 800
81
- },
82
- xs: {
83
- maxWidth: 660
84
- },
85
- xxs: {
86
- maxWidth: 390
87
- },
88
- gtXxs: {
89
- minWidth: 390 + 1
90
- },
91
- gtXs: {
92
- minWidth: 660 + 1
93
- },
94
- gtSm: {
95
- minWidth: 800 + 1
96
- },
97
- gtMd: {
98
- minWidth: 1020 + 1
99
- },
100
- gtLg: {
101
- minWidth: 1280 + 1
102
- },
103
- gtXl: {
104
- minWidth: 1650 + 1
105
- },
106
- pointerFine: {
107
- pointer: "fine"
108
- }
51
+ "max-xs": { maxWidth: breakpoints.xs },
52
+ "max-2xs": { maxWidth: breakpoints["2xs"] },
53
+ "max-sm": { maxWidth: breakpoints.sm },
54
+ "max-md": { maxWidth: breakpoints.md },
55
+ "max-lg": { maxWidth: breakpoints.lg },
56
+ "max-xl": { maxWidth: breakpoints.xl },
57
+ "max-2xl": { maxWidth: breakpoints["2xl"] },
58
+ xl: { maxWidth: 1650 },
59
+ lg_xl: { maxWidth: 1400 },
60
+ lg: { maxWidth: 1280 },
61
+ md: { maxWidth: 1020 },
62
+ sm: { maxWidth: 800 },
63
+ xs: { maxWidth: 660 },
64
+ xxs: { maxWidth: 390 },
65
+ gtXxs: { minWidth: 390 + 1 },
66
+ gtXs: { minWidth: 660 + 1 },
67
+ gtSm: { minWidth: 800 + 1 },
68
+ gtMd: { minWidth: 1020 + 1 },
69
+ gtLg: { minWidth: 1280 + 1 },
70
+ gtXl: { minWidth: 1650 + 1 },
71
+ pointerFine: { pointer: "fine" }
109
72
  };
110
73
  const mediaQueryDefaultActive = {
111
- xl: true,
112
- lg: true,
113
- md: true,
114
- sm: true,
115
- xs: true,
116
- // false
117
- xxs: false
118
- };
74
+ xl: true,
75
+ lg: true,
76
+ md: true,
77
+ sm: true,
78
+ xs: true,
79
+ xxs: false
80
+ };
@@ -3,103 +3,72 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var tamagui_dev_config_exports = {};
24
22
  __export(tamagui_dev_config_exports, {
25
- animations: () => animations,
26
- config: () => config
23
+ animations: () => animations,
24
+ config: () => config
27
25
  });
28
26
  module.exports = __toCommonJS(tamagui_dev_config_exports);
29
- var import_v5_css = require("@tamagui/config/v5-css");
30
- var import_v5_motion = require("@tamagui/config/v5-motion");
31
- var import_v5_subtle = require("@tamagui/config/v5-subtle");
27
+ var import_animations_css = require("@tamagui/config/animations-css");
28
+ var import_animations_motion = require("@tamagui/config/animations-motion");
29
+ var import_settings = require("@tamagui/config/settings");
32
30
  var import_core = require("@tamagui/core");
31
+ var import_v4 = require("@tamagui/shorthands/v4");
32
+ var import_v5 = require("@tamagui/themes/v5");
33
33
  var import_fonts = require("./fonts.cjs");
34
34
  var import_media = require("./media.cjs");
35
- const {
36
- gray,
37
- blue,
38
- red,
39
- yellow,
40
- green
41
- } = import_v5_subtle.subtleChildrenThemes;
42
- const themes = (0, import_v5_subtle.createV5Theme)({
43
- childrenThemes: {
44
- gray,
45
- blue,
46
- red,
47
- yellow,
48
- green
49
- }
50
- });
51
- (0, import_core.setupDev)({
52
- visualizer: true
53
- });
35
+ var import_themeMetadata = require("./themeMetadata.cjs");
36
+ var import_themes = require("./themes.cjs");
37
+ (0, import_core.setupDev)({ visualizer: true });
54
38
  const fonts = {
55
- heading: import_fonts.headingFont,
56
- body: import_fonts.bodyFont,
57
- mono: import_fonts.monoFont,
58
- silkscreen: import_fonts.silkscreenFont,
59
- cherryBomb: import_fonts.cherryBombFont
39
+ heading: import_fonts.headingFont,
40
+ body: import_fonts.bodyFont,
41
+ mono: import_fonts.monoFont,
42
+ cherryBomb: import_fonts.cherryBombFont
60
43
  };
61
44
  const animations = {
62
- default: import_v5_motion.animationsMotion,
63
- css: import_v5_css.animationsCSS
45
+ default: import_animations_motion.animationsMotion,
46
+ css: import_animations_css.animationsCSS
64
47
  };
48
+ const configuredThemes = process.env.VITE_ENVIRONMENT === "client" ? import_themeMetadata.clientThemes : import_themes.themes;
65
49
  const config = {
66
- ...import_v5_subtle.defaultConfig,
67
- themes: process.env.VITE_ENVIRONMENT === "client" ? {} : themes,
68
- fonts,
69
- animations,
70
- media: import_media.media,
71
- settings: {
72
- ...import_v5_subtle.defaultConfig.settings,
73
- mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
74
- allowedStyleValues: "somewhat-strict-web",
75
- autocompleteSpecificTokens: "except-special",
76
- // Allow both shorthands and longhand names for flexibility
77
- onlyAllowShorthands: false
78
- }
50
+ shorthands: import_v4.shorthands,
51
+ tokens: import_v5.tokens,
52
+ selectionStyles: import_settings.selectionStyles,
53
+ sizes: import_settings.sizes,
54
+ themes: configuredThemes,
55
+ fonts,
56
+ animations,
57
+ media: import_media.media,
58
+ settings: {
59
+ ...import_settings.settings,
60
+ mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
61
+ allowedStyleValues: "somewhat-strict-web",
62
+ onlyAllowShorthands: false
63
+ }
79
64
  };
80
65
  Object.assign(config.media, {
81
- tiny: {
82
- maxWidth: 500
83
- },
84
- gtTiny: {
85
- minWidth: 500 + 1
86
- },
87
- small: {
88
- maxWidth: 620
89
- },
90
- gtSmall: {
91
- minWidth: 620 + 1
92
- },
93
- medium: {
94
- maxWidth: 780
95
- },
96
- gtMedium: {
97
- minWidth: 780 + 1
98
- },
99
- large: {
100
- maxWidth: 900
101
- },
102
- gtLarge: {
103
- minWidth: 900 + 1
104
- }
105
- });
66
+ tiny: { maxWidth: 500 },
67
+ gtTiny: { minWidth: 500 + 1 },
68
+ small: { maxWidth: 620 },
69
+ gtSmall: { minWidth: 620 + 1 },
70
+ medium: { maxWidth: 780 },
71
+ gtMedium: { minWidth: 780 + 1 },
72
+ large: { maxWidth: 900 },
73
+ gtLarge: { minWidth: 900 + 1 }
74
+ });