@tamagui/themes 1.52.5 → 1.52.6

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.
@@ -1,101 +1,95 @@
1
1
  import { palettes } from "./palettes";
2
- const { templates, maskOptions } = (() => {
3
- const templateColorsSpecific = {
4
- color1: 1,
5
- color2: 2,
6
- color3: 3,
7
- color4: 4,
8
- color5: 5,
9
- color6: 6,
10
- color7: 7,
11
- color8: 8,
12
- color9: 9,
13
- color10: 10,
14
- color11: 11,
15
- color12: 12
16
- };
17
- const template = {
18
- ...templateColorsSpecific,
19
- // the background, color, etc keys here work like generics - they make it so you
20
- // can publish components for others to use without mandating a specific color scale
21
- // the @tamagui/button Button component looks for `$background`, so you set the
22
- // dark_red_Button theme to have a stronger background than the dark_red theme.
23
- background: 2,
24
- backgroundHover: 3,
25
- backgroundPress: 4,
26
- backgroundFocus: 5,
27
- backgroundStrong: 1,
28
- backgroundTransparent: 0,
29
- color: -1,
30
- colorHover: -2,
31
- colorPress: -1,
32
- colorFocus: -2,
33
- colorTransparent: -0,
34
- borderColor: 5,
35
- borderColorHover: 6,
2
+ const templateColorsSpecific = {
3
+ color1: 1,
4
+ color2: 2,
5
+ color3: 3,
6
+ color4: 4,
7
+ color5: 5,
8
+ color6: 6,
9
+ color7: 7,
10
+ color8: 8,
11
+ color9: 9,
12
+ color10: 10,
13
+ color11: 11,
14
+ color12: 12
15
+ };
16
+ const template = {
17
+ ...templateColorsSpecific,
18
+ // the background, color, etc keys here work like generics - they make it so you
19
+ // can publish components for others to use without mandating a specific color scale
20
+ // the @tamagui/button Button component looks for `$background`, so you set the
21
+ // dark_red_Button theme to have a stronger background than the dark_red theme.
22
+ background: 2,
23
+ backgroundHover: 3,
24
+ backgroundPress: 4,
25
+ backgroundFocus: 5,
26
+ backgroundStrong: 1,
27
+ backgroundTransparent: 0,
28
+ color: -1,
29
+ colorHover: -2,
30
+ colorPress: -1,
31
+ colorFocus: -2,
32
+ colorTransparent: -0,
33
+ borderColor: 5,
34
+ borderColorHover: 6,
35
+ borderColorFocus: 4,
36
+ borderColorPress: 5,
37
+ placeholderColor: -4
38
+ };
39
+ const templates = {
40
+ base: template,
41
+ colorLight: {
42
+ ...template,
43
+ // light color themes are a bit less sensitive
44
+ borderColor: 4,
45
+ borderColorHover: 5,
36
46
  borderColorFocus: 4,
37
- borderColorPress: 5,
38
- placeholderColor: -4
39
- };
40
- const templates2 = {
41
- base: template,
42
- colorLight: {
43
- ...template,
44
- // light color themes are a bit less sensitive
45
- borderColor: 4,
46
- borderColorHover: 5,
47
- borderColorFocus: 4,
48
- borderColorPress: 4
49
- }
50
- };
51
- const overrideShadows = {
52
- shadowColor: 0,
53
- shadowColorHover: 0,
54
- shadowColorPress: 0,
55
- shadowColorFocus: 0
56
- };
57
- const overrideWithColors = {
58
- ...overrideShadows,
59
- color: 0,
60
- colorHover: 0,
61
- colorFocus: 0,
62
- colorPress: 0
63
- };
64
- const baseMaskOptions = {
65
- override: overrideShadows,
66
- skip: overrideShadows,
67
- // avoids the transparent ends
68
- max: palettes.light.length - 2,
69
- min: 1
70
- };
71
- const skipShadowsAndSpecificColors = {
72
- ...overrideShadows,
73
- ...templateColorsSpecific
74
- };
75
- const maskOptions2 = {
76
- component: {
77
- ...baseMaskOptions,
78
- override: overrideWithColors,
79
- skip: skipShadowsAndSpecificColors
80
- },
81
- alt: {
82
- ...baseMaskOptions
47
+ borderColorPress: 4
48
+ }
49
+ };
50
+ const shadows = {
51
+ shadowColor: 0,
52
+ shadowColorHover: 0,
53
+ shadowColorPress: 0,
54
+ shadowColorFocus: 0
55
+ };
56
+ const colors = {
57
+ ...shadows,
58
+ color: 0,
59
+ colorHover: 0,
60
+ colorFocus: 0,
61
+ colorPress: 0
62
+ };
63
+ const baseMaskOptions = {
64
+ override: shadows,
65
+ skip: shadows,
66
+ // avoids the transparent ends
67
+ max: palettes.light.length - 2,
68
+ min: 1
69
+ };
70
+ const skipShadowsAndSpecificColors = {
71
+ ...shadows,
72
+ ...templateColorsSpecific
73
+ };
74
+ const maskOptions = {
75
+ component: {
76
+ ...baseMaskOptions,
77
+ override: colors,
78
+ skip: skipShadowsAndSpecificColors
79
+ },
80
+ alt: {
81
+ ...baseMaskOptions
82
+ },
83
+ button: {
84
+ ...baseMaskOptions,
85
+ override: {
86
+ ...colors,
87
+ borderColor: "transparent",
88
+ borderColorHover: "transparent"
83
89
  },
84
- button: {
85
- ...baseMaskOptions,
86
- override: {
87
- ...overrideWithColors,
88
- borderColor: "transparent",
89
- borderColorHover: "transparent"
90
- },
91
- skip: skipShadowsAndSpecificColors
92
- }
93
- };
94
- return {
95
- templates: templates2,
96
- maskOptions: maskOptions2
97
- };
98
- })();
90
+ skip: skipShadowsAndSpecificColors
91
+ }
92
+ };
99
93
  export {
100
94
  maskOptions,
101
95
  templates
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/templates.tsx"],
4
- "mappings": "AAEA,SAAS,gBAAgB;AAElB,MAAM,EAAE,WAAW,YAAY,KAAK,MAAM;AAC/C,QAAM,yBAAyB;AAAA,IAC7B,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,EACX;AAIA,QAAM,WAAW;AAAA,IACf,GAAG;AAAA;AAAA;AAAA;AAAA;AAAA,IAKH,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,uBAAuB;AAAA,IACvB,OAAO;AAAA,IACP,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,kBAAkB;AAAA,IAClB,aAAa;AAAA,IACb,kBAAkB;AAAA,IAClB,kB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AA,MACR,GAAG;AAAA,MACH,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB;AAAA,IACA,MAAM;AAAA,EACR;AACF;",
5
+ "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/themes",
3
- "version": "1.52.5",
3
+ "version": "1.52.6",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -41,13 +41,13 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@tamagui/colors": "1.52.5",
45
- "@tamagui/create-theme": "1.52.5",
46
- "@tamagui/web": "1.52.5"
44
+ "@tamagui/colors": "1.52.6",
45
+ "@tamagui/create-theme": "1.52.6",
46
+ "@tamagui/web": "1.52.6"
47
47
  },
48
48
  "devDependencies": {
49
- "@tamagui/build": "1.52.5",
50
- "@tamagui/cli": "1.52.5",
49
+ "@tamagui/build": "1.52.6",
50
+ "@tamagui/cli": "1.52.6",
51
51
  "vitest": "^0.26.3"
52
52
  },
53
53
  "publishConfig": {
@@ -131,7 +131,7 @@ type Theme = {
131
131
  }
132
132
 
133
133
  function t(a) {
134
- let res = {}
134
+ let res: Record<string, string> = {}
135
135
  for (const [ki, vi] of a) {
136
136
  res[ks[ki]] = vs[vi]
137
137
  }
package/src/templates.tsx CHANGED
@@ -2,110 +2,103 @@ import { MaskOptions } from '@tamagui/create-theme'
2
2
 
3
3
  import { palettes } from './palettes'
4
4
 
5
- export const { templates, maskOptions } = (() => {
6
- const templateColorsSpecific = {
7
- color1: 1,
8
- color2: 2,
9
- color3: 3,
10
- color4: 4,
11
- color5: 5,
12
- color6: 6,
13
- color7: 7,
14
- color8: 8,
15
- color9: 9,
16
- color10: 10,
17
- color11: 11,
18
- color12: 12,
19
- }
5
+ const templateColorsSpecific = {
6
+ color1: 1,
7
+ color2: 2,
8
+ color3: 3,
9
+ color4: 4,
10
+ color5: 5,
11
+ color6: 6,
12
+ color7: 7,
13
+ color8: 8,
14
+ color9: 9,
15
+ color10: 10,
16
+ color11: 11,
17
+ color12: 12,
18
+ }
20
19
 
21
- // templates use the palette and specify index
22
- // negative goes backwards from end so -1 is the last item
23
- const template = {
24
- ...templateColorsSpecific,
25
- // the background, color, etc keys here work like generics - they make it so you
26
- // can publish components for others to use without mandating a specific color scale
27
- // the @tamagui/button Button component looks for `$background`, so you set the
28
- // dark_red_Button theme to have a stronger background than the dark_red theme.
29
- background: 2,
30
- backgroundHover: 3,
31
- backgroundPress: 4,
32
- backgroundFocus: 5,
33
- backgroundStrong: 1,
34
- backgroundTransparent: 0,
35
- color: -1,
36
- colorHover: -2,
37
- colorPress: -1,
38
- colorFocus: -2,
39
- colorTransparent: -0,
40
- borderColor: 5,
41
- borderColorHover: 6,
42
- borderColorFocus: 4,
43
- borderColorPress: 5,
44
- placeholderColor: -4,
45
- }
20
+ // templates use the palette and specify index
21
+ // negative goes backwards from end so -1 is the last item
22
+ const template = {
23
+ ...templateColorsSpecific,
24
+ // the background, color, etc keys here work like generics - they make it so you
25
+ // can publish components for others to use without mandating a specific color scale
26
+ // the @tamagui/button Button component looks for `$background`, so you set the
27
+ // dark_red_Button theme to have a stronger background than the dark_red theme.
28
+ background: 2,
29
+ backgroundHover: 3,
30
+ backgroundPress: 4,
31
+ backgroundFocus: 5,
32
+ backgroundStrong: 1,
33
+ backgroundTransparent: 0,
34
+ color: -1,
35
+ colorHover: -2,
36
+ colorPress: -1,
37
+ colorFocus: -2,
38
+ colorTransparent: -0,
39
+ borderColor: 5,
40
+ borderColorHover: 6,
41
+ borderColorFocus: 4,
42
+ borderColorPress: 5,
43
+ placeholderColor: -4,
44
+ }
46
45
 
47
- const templates = {
48
- base: template,
49
- colorLight: {
50
- ...template,
51
- // light color themes are a bit less sensitive
52
- borderColor: 4,
53
- borderColorHover: 5,
54
- borderColorFocus: 4,
55
- borderColorPress: 4,
56
- },
57
- }
46
+ export const templates = {
47
+ base: template,
48
+ colorLight: {
49
+ ...template,
50
+ // light color themes are a bit less sensitive
51
+ borderColor: 4,
52
+ borderColorHover: 5,
53
+ borderColorFocus: 4,
54
+ borderColorPress: 4,
55
+ },
56
+ }
58
57
 
59
- const overrideShadows = {
60
- shadowColor: 0,
61
- shadowColorHover: 0,
62
- shadowColorPress: 0,
63
- shadowColorFocus: 0,
64
- }
58
+ const shadows = {
59
+ shadowColor: 0,
60
+ shadowColorHover: 0,
61
+ shadowColorPress: 0,
62
+ shadowColorFocus: 0,
63
+ }
65
64
 
66
- const overrideWithColors = {
67
- ...overrideShadows,
68
- color: 0,
69
- colorHover: 0,
70
- colorFocus: 0,
71
- colorPress: 0,
72
- }
65
+ const colors = {
66
+ ...shadows,
67
+ color: 0,
68
+ colorHover: 0,
69
+ colorFocus: 0,
70
+ colorPress: 0,
71
+ }
73
72
 
74
- const baseMaskOptions: MaskOptions = {
75
- override: overrideShadows,
76
- skip: overrideShadows,
77
- // avoids the transparent ends
78
- max: palettes.light.length - 2,
79
- min: 1,
80
- }
73
+ const baseMaskOptions: MaskOptions = {
74
+ override: shadows,
75
+ skip: shadows,
76
+ // avoids the transparent ends
77
+ max: palettes.light.length - 2,
78
+ min: 1,
79
+ }
81
80
 
82
- const skipShadowsAndSpecificColors = {
83
- ...overrideShadows,
84
- ...templateColorsSpecific,
85
- }
81
+ const skipShadowsAndSpecificColors = {
82
+ ...shadows,
83
+ ...templateColorsSpecific,
84
+ }
86
85
 
87
- const maskOptions = {
88
- component: {
89
- ...baseMaskOptions,
90
- override: overrideWithColors,
91
- skip: skipShadowsAndSpecificColors,
86
+ export const maskOptions = {
87
+ component: {
88
+ ...baseMaskOptions,
89
+ override: colors,
90
+ skip: skipShadowsAndSpecificColors,
91
+ },
92
+ alt: {
93
+ ...baseMaskOptions,
94
+ },
95
+ button: {
96
+ ...baseMaskOptions,
97
+ override: {
98
+ ...colors,
99
+ borderColor: 'transparent',
100
+ borderColorHover: 'transparent',
92
101
  },
93
- alt: {
94
- ...baseMaskOptions,
95
- },
96
- button: {
97
- ...baseMaskOptions,
98
- override: {
99
- ...overrideWithColors,
100
- borderColor: 'transparent',
101
- borderColorHover: 'transparent',
102
- },
103
- skip: skipShadowsAndSpecificColors,
104
- },
105
- } satisfies Record<string, MaskOptions>
106
-
107
- return {
108
- templates,
109
- maskOptions,
110
- }
111
- })()
102
+ skip: skipShadowsAndSpecificColors,
103
+ },
104
+ } satisfies Record<string, MaskOptions>
@@ -35,6 +35,7 @@ export declare const componentThemeDefinitions: {
35
35
  shadowColorFocus: number;
36
36
  };
37
37
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
38
+ overrideStrategy?: "shift" | "swap" | undefined;
38
39
  strength?: number | undefined;
39
40
  max?: number | undefined;
40
41
  min?: number | undefined;
@@ -71,6 +72,7 @@ export declare const componentThemeDefinitions: {
71
72
  shadowColorFocus: number;
72
73
  };
73
74
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
75
+ overrideStrategy?: "shift" | "swap" | undefined;
74
76
  strength?: number | undefined;
75
77
  max?: number | undefined;
76
78
  min?: number | undefined;
@@ -108,6 +110,7 @@ export declare const componentThemeDefinitions: {
108
110
  shadowColorFocus: number;
109
111
  };
110
112
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
113
+ overrideStrategy?: "shift" | "swap" | undefined;
111
114
  strength?: number | undefined;
112
115
  max?: number | undefined;
113
116
  min?: number | undefined;
@@ -146,6 +149,7 @@ export declare const componentThemeDefinitions: {
146
149
  shadowColorFocus: number;
147
150
  };
148
151
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
152
+ overrideStrategy?: "shift" | "swap" | undefined;
149
153
  strength?: number | undefined;
150
154
  max?: number | undefined;
151
155
  min?: number | undefined;
@@ -182,6 +186,7 @@ export declare const componentThemeDefinitions: {
182
186
  shadowColorFocus: number;
183
187
  };
184
188
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
189
+ overrideStrategy?: "shift" | "swap" | undefined;
185
190
  strength?: number | undefined;
186
191
  max?: number | undefined;
187
192
  min?: number | undefined;
@@ -218,6 +223,7 @@ export declare const componentThemeDefinitions: {
218
223
  shadowColorFocus: number;
219
224
  };
220
225
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
226
+ overrideStrategy?: "shift" | "swap" | undefined;
221
227
  strength?: number | undefined;
222
228
  max?: number | undefined;
223
229
  min?: number | undefined;
@@ -254,6 +260,7 @@ export declare const componentThemeDefinitions: {
254
260
  shadowColorFocus: number;
255
261
  };
256
262
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
263
+ overrideStrategy?: "shift" | "swap" | undefined;
257
264
  strength?: number | undefined;
258
265
  max?: number | undefined;
259
266
  min?: number | undefined;
@@ -290,6 +297,7 @@ export declare const componentThemeDefinitions: {
290
297
  shadowColorFocus: number;
291
298
  };
292
299
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
300
+ overrideStrategy?: "shift" | "swap" | undefined;
293
301
  strength?: number | undefined;
294
302
  max?: number | undefined;
295
303
  min?: number | undefined;
@@ -326,6 +334,7 @@ export declare const componentThemeDefinitions: {
326
334
  shadowColorFocus: number;
327
335
  };
328
336
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
337
+ overrideStrategy?: "shift" | "swap" | undefined;
329
338
  strength?: number | undefined;
330
339
  max?: number | undefined;
331
340
  min?: number | undefined;
@@ -362,6 +371,7 @@ export declare const componentThemeDefinitions: {
362
371
  shadowColorFocus: number;
363
372
  };
364
373
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
374
+ overrideStrategy?: "shift" | "swap" | undefined;
365
375
  strength?: number | undefined;
366
376
  max?: number | undefined;
367
377
  min?: number | undefined;
@@ -398,6 +408,7 @@ export declare const componentThemeDefinitions: {
398
408
  shadowColorFocus: number;
399
409
  };
400
410
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
411
+ overrideStrategy?: "shift" | "swap" | undefined;
401
412
  strength?: number | undefined;
402
413
  max?: number | undefined;
403
414
  min?: number | undefined;
@@ -434,6 +445,7 @@ export declare const componentThemeDefinitions: {
434
445
  shadowColorFocus: number;
435
446
  };
436
447
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
448
+ overrideStrategy?: "shift" | "swap" | undefined;
437
449
  strength?: number | undefined;
438
450
  max?: number | undefined;
439
451
  min?: number | undefined;
@@ -470,6 +482,7 @@ export declare const componentThemeDefinitions: {
470
482
  shadowColorFocus: number;
471
483
  };
472
484
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
485
+ overrideStrategy?: "shift" | "swap" | undefined;
473
486
  strength?: number | undefined;
474
487
  max?: number | undefined;
475
488
  min?: number | undefined;
@@ -506,6 +519,7 @@ export declare const componentThemeDefinitions: {
506
519
  shadowColorFocus: number;
507
520
  };
508
521
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
522
+ overrideStrategy?: "shift" | "swap" | undefined;
509
523
  strength?: number | undefined;
510
524
  max?: number | undefined;
511
525
  min?: number | undefined;
@@ -542,6 +556,7 @@ export declare const componentThemeDefinitions: {
542
556
  shadowColorFocus: number;
543
557
  };
544
558
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
559
+ overrideStrategy?: "shift" | "swap" | undefined;
545
560
  strength?: number | undefined;
546
561
  max?: number | undefined;
547
562
  min?: number | undefined;
@@ -578,6 +593,7 @@ export declare const componentThemeDefinitions: {
578
593
  shadowColorFocus: number;
579
594
  };
580
595
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
596
+ overrideStrategy?: "shift" | "swap" | undefined;
581
597
  strength?: number | undefined;
582
598
  max?: number | undefined;
583
599
  min?: number | undefined;
@@ -614,6 +630,7 @@ export declare const componentThemeDefinitions: {
614
630
  shadowColorFocus: number;
615
631
  };
616
632
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
633
+ overrideStrategy?: "shift" | "swap" | undefined;
617
634
  strength?: number | undefined;
618
635
  max?: number | undefined;
619
636
  min?: number | undefined;
@@ -668,6 +685,7 @@ export declare const componentThemeDefinitions: {
668
685
  shadowColorFocus: number;
669
686
  };
670
687
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
688
+ overrideStrategy?: "shift" | "swap" | undefined;
671
689
  strength?: number | undefined;
672
690
  max?: number | undefined;
673
691
  min?: number | undefined;
@@ -704,6 +722,7 @@ export declare const componentThemeDefinitions: {
704
722
  shadowColorFocus: number;
705
723
  };
706
724
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
725
+ overrideStrategy?: "shift" | "swap" | undefined;
707
726
  strength?: number | undefined;
708
727
  max?: number | undefined;
709
728
  min?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"componentThemeDefinitions.d.ts","sourceRoot":"","sources":["../src/componentThemeDefinitions.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,uBAAuB;;;;;GASnC,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@@ export declare const templates: {
59
59
  color11: number;
60
60
  color12: number;
61
61
  };
62
- }, maskOptions: {
62
+ };
63
+ export declare const maskOptions: {
63
64
  component: {
64
65
  override: {
65
66
  color: number;
@@ -90,6 +91,7 @@ export declare const templates: {
90
91
  shadowColorFocus: number;
91
92
  };
92
93
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
94
+ overrideStrategy?: "shift" | "swap" | undefined;
93
95
  strength?: number | undefined;
94
96
  max?: number | undefined;
95
97
  min?: number | undefined;
@@ -98,6 +100,7 @@ export declare const templates: {
98
100
  alt: {
99
101
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
100
102
  override?: Partial<import("@tamagui/create-theme").ThemeMask> | undefined;
103
+ overrideStrategy?: "shift" | "swap" | undefined;
101
104
  skip?: Partial<import("@tamagui/create-theme").ThemeMask> | undefined;
102
105
  strength?: number | undefined;
103
106
  max?: number | undefined;
@@ -136,6 +139,7 @@ export declare const templates: {
136
139
  shadowColorFocus: number;
137
140
  };
138
141
  palette?: import("@tamagui/create-theme").CreateThemePalette | undefined;
142
+ overrideStrategy?: "shift" | "swap" | undefined;
139
143
  strength?: number | undefined;
140
144
  max?: number | undefined;
141
145
  min?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../src/templates.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAQ,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GjC,CAAA"}
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../src/templates.tsx"],"names":[],"mappings":"AA6CA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUrB,CAAA;AA8BD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBe,CAAA"}