@tamagui/themes 1.52.4 → 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.
- package/dist/cjs/generated-new.js.map +1 -1
- package/dist/cjs/templates.js +89 -95
- package/dist/cjs/templates.js.map +2 -2
- package/dist/esm/generated-new.js.map +1 -1
- package/dist/esm/templates.js +89 -95
- package/dist/esm/templates.js.map +2 -2
- package/package.json +6 -6
- package/src/generated-new.ts +1 -1
- package/src/templates.tsx +92 -99
- package/types/componentThemeDefinitions.d.ts +19 -0
- package/types/componentThemeDefinitions.d.ts.map +1 -1
- package/types/templates.d.ts +5 -1
- package/types/templates.d.ts.map +1 -1
- package/types/themes-old.d.ts +4536 -4536
package/dist/esm/templates.js
CHANGED
|
@@ -1,101 +1,95 @@
|
|
|
1
1
|
import { palettes } from "./palettes";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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;
|
|
5
|
-
"names": [
|
|
4
|
+
"mappings": "AAEA,SAAS,gBAAgB;AAEzB,MAAM,yBAAyB;AAAA,EAC7B,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,SAAS;AAAA,EACT,SAAS;AACX;AAIA,MAAM,WAAW;AAAA,EACf,GAAG;AAAA;AAAA;AAAA;AAAA;AAAA,EAKH,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,uBAAuB;AAAA,EACvB,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AACpB;AAEO,MAAM,YAAY;AAAA,EACvB,MAAM;AAAA,EACN,YAAY;AAAA,IACV,GAAG;AAAA;AAAA,IAEH,aAAa;AAAA,IACb,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,EACpB;AACF;AAEA,MAAM,UAAU;AAAA,EACd,aAAa;AAAA,EACb,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AACpB;AAEA,MAAM,SAAS;AAAA,EACb,GAAG;AAAA,EACH,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AACd;AAEA,MAAM,kBAA+B;AAAA,EACnC,UAAU;AAAA,EACV,MAAM;AAAA;AAAA,EAEN,KAAK,SAAS,MAAM,SAAS;AAAA,EAC7B,KAAK;AACP;AAEA,MAAM,+BAA+B;AAAA,EACnC,GAAG;AAAA,EACH,GAAG;AACL;AAEO,MAAM,cAAc;AAAA,EACzB,WAAW;AAAA,IACT,GAAG;AAAA,IACH,UAAU;AAAA,IACV,MAAM;AAAA,EACR;AAAA,EACA,KAAK;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,UAAU;AAAA,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.
|
|
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.
|
|
45
|
-
"@tamagui/create-theme": "1.52.
|
|
46
|
-
"@tamagui/web": "1.52.
|
|
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.
|
|
50
|
-
"@tamagui/cli": "1.52.
|
|
49
|
+
"@tamagui/build": "1.52.6",
|
|
50
|
+
"@tamagui/cli": "1.52.6",
|
|
51
51
|
"vitest": "^0.26.3"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
package/src/generated-new.ts
CHANGED
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
const shadows = {
|
|
59
|
+
shadowColor: 0,
|
|
60
|
+
shadowColorHover: 0,
|
|
61
|
+
shadowColorPress: 0,
|
|
62
|
+
shadowColorFocus: 0,
|
|
63
|
+
}
|
|
65
64
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
65
|
+
const colors = {
|
|
66
|
+
...shadows,
|
|
67
|
+
color: 0,
|
|
68
|
+
colorHover: 0,
|
|
69
|
+
colorFocus: 0,
|
|
70
|
+
colorPress: 0,
|
|
71
|
+
}
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
const skipShadowsAndSpecificColors = {
|
|
82
|
+
...shadows,
|
|
83
|
+
...templateColorsSpecific,
|
|
84
|
+
}
|
|
86
85
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
|
|
94
|
-
|
|
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
|
|
1
|
+
{"version":3,"file":"componentThemeDefinitions.d.ts","sourceRoot":"","sources":["../src/componentThemeDefinitions.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,uBAAuB;;;;;GASnC,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGG,CAAA"}
|
package/types/templates.d.ts
CHANGED
|
@@ -59,7 +59,8 @@ export declare const templates: {
|
|
|
59
59
|
color11: number;
|
|
60
60
|
color12: number;
|
|
61
61
|
};
|
|
62
|
-
}
|
|
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;
|
package/types/templates.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../src/templates.tsx"],"names":[],"mappings":"
|
|
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"}
|