@tamagui/config-default 1.61.2 → 1.62.0
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/index.js +43 -55
- package/dist/index.js.map +1 -1
- package/dist/index.native.js +219 -0
- package/dist/index.native.js.map +6 -0
- package/package.json +4 -4
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -1
package/dist/index.js
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
5
|
var __export = (target, all) => {
|
|
7
6
|
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable:
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
12
10
|
for (let key of __getOwnPropNames(from))
|
|
13
|
-
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
12
|
return to;
|
|
17
13
|
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value:
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
19
15
|
var src_exports = {};
|
|
20
16
|
__export(src_exports, {
|
|
21
17
|
getDefaultTamaguiConfig: () => getDefaultTamaguiConfig
|
|
22
18
|
});
|
|
23
19
|
module.exports = __toCommonJS(src_exports);
|
|
24
|
-
var import_core = require("@tamagui/core");
|
|
25
|
-
var import_shorthands = require("@tamagui/shorthands");
|
|
20
|
+
var import_core = require("@tamagui/core"), import_shorthands = require("@tamagui/shorthands");
|
|
26
21
|
function getDefaultTamaguiConfig() {
|
|
27
22
|
const headingFont = (0, import_core.createFont)({
|
|
28
23
|
family: "Heading",
|
|
@@ -42,8 +37,7 @@ function getDefaultTamaguiConfig() {
|
|
|
42
37
|
letterSpacing: {
|
|
43
38
|
1: 0
|
|
44
39
|
}
|
|
45
|
-
})
|
|
46
|
-
const font = (0, import_core.createFont)({
|
|
40
|
+
}), font = (0, import_core.createFont)({
|
|
47
41
|
family: "System",
|
|
48
42
|
size: {
|
|
49
43
|
1: 15
|
|
@@ -61,8 +55,7 @@ function getDefaultTamaguiConfig() {
|
|
|
61
55
|
letterSpacing: {
|
|
62
56
|
1: 0
|
|
63
57
|
}
|
|
64
|
-
})
|
|
65
|
-
const size = {
|
|
58
|
+
}), size = {
|
|
66
59
|
0: 0,
|
|
67
60
|
0.25: 2,
|
|
68
61
|
0.5: 4,
|
|
@@ -97,52 +90,45 @@ function getDefaultTamaguiConfig() {
|
|
|
97
90
|
18: 244,
|
|
98
91
|
19: 264,
|
|
99
92
|
20: 284
|
|
100
|
-
}
|
|
101
|
-
const spaces = Object.entries(size).map(
|
|
93
|
+
}, spaces = Object.entries(size).map(
|
|
102
94
|
([k, v]) => [
|
|
103
95
|
k,
|
|
104
96
|
Math.max(0, v <= 16 ? Math.round(v * 0.333) : Math.floor(v * 0.7 - 12))
|
|
105
97
|
]
|
|
106
|
-
)
|
|
107
|
-
const spacesNegative = spaces.slice(1).map(([k, v]) => [`-${k}`, -v]);
|
|
108
|
-
const space = {
|
|
98
|
+
), spacesNegative = spaces.slice(1).map(([k, v]) => [`-${k}`, -v]), space = {
|
|
109
99
|
...Object.fromEntries(spaces),
|
|
110
100
|
...Object.fromEntries(spacesNegative)
|
|
111
|
-
}
|
|
112
|
-
const zIndex = {
|
|
113
|
-
0: 0,
|
|
114
|
-
1: 100,
|
|
115
|
-
2: 200,
|
|
116
|
-
3: 300,
|
|
117
|
-
4: 400,
|
|
118
|
-
5: 500
|
|
119
|
-
};
|
|
120
|
-
const radius = {
|
|
121
|
-
0: 0,
|
|
122
|
-
1: 3,
|
|
123
|
-
2: 5,
|
|
124
|
-
3: 7,
|
|
125
|
-
4: 9,
|
|
126
|
-
5: 10,
|
|
127
|
-
6: 16,
|
|
128
|
-
7: 19,
|
|
129
|
-
8: 22,
|
|
130
|
-
9: 26,
|
|
131
|
-
10: 34,
|
|
132
|
-
11: 42,
|
|
133
|
-
12: 50
|
|
134
|
-
};
|
|
135
|
-
const tokens = (0, import_core.createTokens)({
|
|
101
|
+
}, tokens = (0, import_core.createTokens)({
|
|
136
102
|
color: {
|
|
137
103
|
white: "#fff",
|
|
138
104
|
black: "#000"
|
|
139
105
|
},
|
|
140
|
-
radius
|
|
141
|
-
|
|
106
|
+
radius: {
|
|
107
|
+
0: 0,
|
|
108
|
+
1: 3,
|
|
109
|
+
2: 5,
|
|
110
|
+
3: 7,
|
|
111
|
+
4: 9,
|
|
112
|
+
5: 10,
|
|
113
|
+
6: 16,
|
|
114
|
+
7: 19,
|
|
115
|
+
8: 22,
|
|
116
|
+
9: 26,
|
|
117
|
+
10: 34,
|
|
118
|
+
11: 42,
|
|
119
|
+
12: 50
|
|
120
|
+
},
|
|
121
|
+
zIndex: {
|
|
122
|
+
0: 0,
|
|
123
|
+
1: 100,
|
|
124
|
+
2: 200,
|
|
125
|
+
3: 300,
|
|
126
|
+
4: 400,
|
|
127
|
+
5: 500
|
|
128
|
+
},
|
|
142
129
|
space,
|
|
143
130
|
size
|
|
144
|
-
})
|
|
145
|
-
const themes = {
|
|
131
|
+
}), themes = {
|
|
146
132
|
light: {
|
|
147
133
|
background: tokens.color.white,
|
|
148
134
|
color: tokens.color.black
|
|
@@ -180,6 +166,10 @@ function getDefaultTamaguiConfig() {
|
|
|
180
166
|
background: "brown",
|
|
181
167
|
color: "#ccc"
|
|
182
168
|
},
|
|
169
|
+
dark_red_active_ListItem: {
|
|
170
|
+
background: "darkred",
|
|
171
|
+
color: "red"
|
|
172
|
+
},
|
|
183
173
|
dark_red_alt2: {
|
|
184
174
|
background: "darkred",
|
|
185
175
|
color: "#555"
|
|
@@ -192,12 +182,10 @@ function getDefaultTamaguiConfig() {
|
|
|
192
182
|
background: "red",
|
|
193
183
|
color: "red"
|
|
194
184
|
}
|
|
195
|
-
}
|
|
196
|
-
const fonts = {
|
|
185
|
+
}, fonts = {
|
|
197
186
|
heading: headingFont,
|
|
198
187
|
body: font
|
|
199
|
-
}
|
|
200
|
-
const media = {
|
|
188
|
+
}, media = {
|
|
201
189
|
xs: { maxWidth: 660 },
|
|
202
190
|
sm: { maxWidth: 800 },
|
|
203
191
|
md: { maxWidth: 1020 },
|
|
@@ -214,8 +202,8 @@ function getDefaultTamaguiConfig() {
|
|
|
214
202
|
pointerCoarse: { pointer: "coarse" }
|
|
215
203
|
};
|
|
216
204
|
return (0, import_core.createTamagui)({
|
|
217
|
-
shouldAddPrefersColorThemes:
|
|
218
|
-
themeClassNameOnRoot:
|
|
205
|
+
shouldAddPrefersColorThemes: !0,
|
|
206
|
+
themeClassNameOnRoot: !0,
|
|
219
207
|
shorthands: import_shorthands.shorthands,
|
|
220
208
|
fonts,
|
|
221
209
|
themes,
|
package/dist/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAwD,0BACxD,oBAA2B;AAGpB,SAAS,0BAA0B;AACxC,QAAM,kBAAc,wBAAW;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAM;AAAA,MACJ,GAAG;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,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
__export(src_exports, {
|
|
18
|
+
getDefaultTamaguiConfig: () => getDefaultTamaguiConfig
|
|
19
|
+
});
|
|
20
|
+
module.exports = __toCommonJS(src_exports);
|
|
21
|
+
var import_core = require("@tamagui/core"), import_shorthands = require("@tamagui/shorthands");
|
|
22
|
+
function getDefaultTamaguiConfig() {
|
|
23
|
+
const headingFont = (0, import_core.createFont)({
|
|
24
|
+
family: "Heading",
|
|
25
|
+
size: {
|
|
26
|
+
1: 15
|
|
27
|
+
},
|
|
28
|
+
lineHeight: {
|
|
29
|
+
1: 15
|
|
30
|
+
},
|
|
31
|
+
transform: {},
|
|
32
|
+
weight: {
|
|
33
|
+
1: "400"
|
|
34
|
+
},
|
|
35
|
+
color: {
|
|
36
|
+
1: "$color"
|
|
37
|
+
},
|
|
38
|
+
letterSpacing: {
|
|
39
|
+
1: 0
|
|
40
|
+
}
|
|
41
|
+
}), font = (0, import_core.createFont)({
|
|
42
|
+
family: "System",
|
|
43
|
+
size: {
|
|
44
|
+
1: 15
|
|
45
|
+
},
|
|
46
|
+
lineHeight: {
|
|
47
|
+
1: 15
|
|
48
|
+
},
|
|
49
|
+
transform: {},
|
|
50
|
+
weight: {
|
|
51
|
+
1: "400"
|
|
52
|
+
},
|
|
53
|
+
color: {
|
|
54
|
+
1: "$color"
|
|
55
|
+
},
|
|
56
|
+
letterSpacing: {
|
|
57
|
+
1: 0
|
|
58
|
+
}
|
|
59
|
+
}), size = {
|
|
60
|
+
0: 0,
|
|
61
|
+
0.25: 2,
|
|
62
|
+
0.5: 4,
|
|
63
|
+
0.75: 8,
|
|
64
|
+
1: 20,
|
|
65
|
+
1.5: 24,
|
|
66
|
+
2: 28,
|
|
67
|
+
2.5: 32,
|
|
68
|
+
3: 36,
|
|
69
|
+
3.5: 40,
|
|
70
|
+
4: 44,
|
|
71
|
+
true: 44,
|
|
72
|
+
4.5: 48,
|
|
73
|
+
5: 52,
|
|
74
|
+
5.5: 59,
|
|
75
|
+
6: 64,
|
|
76
|
+
6.5: 69,
|
|
77
|
+
7: 74,
|
|
78
|
+
7.6: 79,
|
|
79
|
+
8: 84,
|
|
80
|
+
8.5: 89,
|
|
81
|
+
9: 94,
|
|
82
|
+
9.5: 99,
|
|
83
|
+
10: 104,
|
|
84
|
+
11: 124,
|
|
85
|
+
12: 144,
|
|
86
|
+
13: 164,
|
|
87
|
+
14: 184,
|
|
88
|
+
15: 204,
|
|
89
|
+
16: 224,
|
|
90
|
+
17: 224,
|
|
91
|
+
18: 244,
|
|
92
|
+
19: 264,
|
|
93
|
+
20: 284
|
|
94
|
+
}, spaces = Object.entries(size).map(
|
|
95
|
+
([k, v]) => [
|
|
96
|
+
k,
|
|
97
|
+
Math.max(0, v <= 16 ? Math.round(v * 0.333) : Math.floor(v * 0.7 - 12))
|
|
98
|
+
]
|
|
99
|
+
), spacesNegative = spaces.slice(1).map(([k, v]) => [`-${k}`, -v]), space = {
|
|
100
|
+
...Object.fromEntries(spaces),
|
|
101
|
+
...Object.fromEntries(spacesNegative)
|
|
102
|
+
}, tokens = (0, import_core.createTokens)({
|
|
103
|
+
color: {
|
|
104
|
+
white: "#fff",
|
|
105
|
+
black: "#000"
|
|
106
|
+
},
|
|
107
|
+
radius: {
|
|
108
|
+
0: 0,
|
|
109
|
+
1: 3,
|
|
110
|
+
2: 5,
|
|
111
|
+
3: 7,
|
|
112
|
+
4: 9,
|
|
113
|
+
5: 10,
|
|
114
|
+
6: 16,
|
|
115
|
+
7: 19,
|
|
116
|
+
8: 22,
|
|
117
|
+
9: 26,
|
|
118
|
+
10: 34,
|
|
119
|
+
11: 42,
|
|
120
|
+
12: 50
|
|
121
|
+
},
|
|
122
|
+
zIndex: {
|
|
123
|
+
0: 0,
|
|
124
|
+
1: 100,
|
|
125
|
+
2: 200,
|
|
126
|
+
3: 300,
|
|
127
|
+
4: 400,
|
|
128
|
+
5: 500
|
|
129
|
+
},
|
|
130
|
+
space,
|
|
131
|
+
size
|
|
132
|
+
}), themes = {
|
|
133
|
+
light: {
|
|
134
|
+
background: tokens.color.white,
|
|
135
|
+
color: tokens.color.black
|
|
136
|
+
},
|
|
137
|
+
dark: {
|
|
138
|
+
background: tokens.color.black,
|
|
139
|
+
color: tokens.color.white
|
|
140
|
+
},
|
|
141
|
+
// most of these used for testing:
|
|
142
|
+
dark_blue: {
|
|
143
|
+
background: "blue",
|
|
144
|
+
color: "white"
|
|
145
|
+
},
|
|
146
|
+
dark_Card: {
|
|
147
|
+
background: "dark",
|
|
148
|
+
color: "card"
|
|
149
|
+
},
|
|
150
|
+
dark_blue_Button: {
|
|
151
|
+
background: "blue",
|
|
152
|
+
color: "white"
|
|
153
|
+
},
|
|
154
|
+
dark_red: {
|
|
155
|
+
background: "darkred",
|
|
156
|
+
color: "white"
|
|
157
|
+
},
|
|
158
|
+
dark_red_alt1: {
|
|
159
|
+
background: "darkred",
|
|
160
|
+
color: "white"
|
|
161
|
+
},
|
|
162
|
+
dark_red_Button: {
|
|
163
|
+
background: "darkred",
|
|
164
|
+
color: "#ccc"
|
|
165
|
+
},
|
|
166
|
+
dark_yellow_Button: {
|
|
167
|
+
background: "brown",
|
|
168
|
+
color: "#ccc"
|
|
169
|
+
},
|
|
170
|
+
dark_red_active_ListItem: {
|
|
171
|
+
background: "darkred",
|
|
172
|
+
color: "red"
|
|
173
|
+
},
|
|
174
|
+
dark_red_alt2: {
|
|
175
|
+
background: "darkred",
|
|
176
|
+
color: "#555"
|
|
177
|
+
},
|
|
178
|
+
dark_red_alt2_Button: {
|
|
179
|
+
background: "darkred",
|
|
180
|
+
color: "#444"
|
|
181
|
+
},
|
|
182
|
+
red: {
|
|
183
|
+
background: "red",
|
|
184
|
+
color: "red"
|
|
185
|
+
}
|
|
186
|
+
}, fonts = {
|
|
187
|
+
heading: headingFont,
|
|
188
|
+
body: font
|
|
189
|
+
}, media = {
|
|
190
|
+
xs: { maxWidth: 660 },
|
|
191
|
+
sm: { maxWidth: 800 },
|
|
192
|
+
md: { maxWidth: 1020 },
|
|
193
|
+
lg: { maxWidth: 1280 },
|
|
194
|
+
xl: { maxWidth: 1420 },
|
|
195
|
+
xxl: { maxWidth: 1600 },
|
|
196
|
+
gtXs: { minWidth: 660 + 1 },
|
|
197
|
+
gtSm: { minWidth: 800 + 1 },
|
|
198
|
+
gtMd: { minWidth: 1020 + 1 },
|
|
199
|
+
gtLg: { minWidth: 1280 + 1 },
|
|
200
|
+
short: { maxHeight: 820 },
|
|
201
|
+
tall: { minHeight: 820 },
|
|
202
|
+
hoverNone: { hover: "none" },
|
|
203
|
+
pointerCoarse: { pointer: "coarse" }
|
|
204
|
+
};
|
|
205
|
+
return (0, import_core.createTamagui)({
|
|
206
|
+
shouldAddPrefersColorThemes: !0,
|
|
207
|
+
themeClassNameOnRoot: !0,
|
|
208
|
+
shorthands: import_shorthands.shorthands,
|
|
209
|
+
fonts,
|
|
210
|
+
themes,
|
|
211
|
+
tokens,
|
|
212
|
+
media
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
216
|
+
0 && (module.exports = {
|
|
217
|
+
getDefaultTamaguiConfig
|
|
218
|
+
});
|
|
219
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/index.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAwD,0BACxD,oBAA2B;AAGpB,SAAS,0BAA0B;AACxC,QAAM,kBAAc,wBAAW;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAM;AAAA,MACJ,GAAG;AAAA,IACL;AAAA,IACA,YAAY;AAAA,MACV,GAAG;AAAA,IACL;AAAA,IACA,WAAW,CAAC;AAAA,IACZ,QAAQ;AAAA,MACN,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,IACL;AAAA,EACF,CAAC,GACK,WAAO,wBAAW;AAAA,IACtB,QAAQ;AAAA,IACR,MAAM;AAAA,MACJ,GAAG;AAAA,IACL;AAAA,IACA,YAAY;AAAA,MACV,GAAG;AAAA,IACL;AAAA,IACA,WAAW,CAAC;AAAA,IACZ,QAAQ;AAAA,MACN,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,IACL;AAAA,EACF,CAAC,GAEK,OAAO;AAAA,IACX,GAAG;AAAA,IACH,MAAM;AAAA,IACN,KAAK;AAAA,IACL,MAAM;AAAA,IACN,GAAG;AAAA,IACH,KAAK;AAAA,IACL,GAAG;AAAA,IACH,KAAK;AAAA,IACL,GAAG;AA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E,UAAU,KAAK;AAAA,IACrB,IAAI,EAAE,UAAU,KAAK;AAAA,IACrB,IAAI,EAAE,UAAU,KAAK;AAAA,IACrB,KAAK,EAAE,UAAU,KAAK;AAAA,IACtB,MAAM,EAAE,UAAU,MAAM,EAAE;AAAA,IAC1B,MAAM,EAAE,UAAU,MAAM,EAAE;AAAA,IAC1B,MAAM,EAAE,UAAU,OAAO,EAAE;AAAA,IAC3B,MAAM,EAAE,UAAU,OAAO,EAAE;AAAA,IAC3B,OAAO,EAAE,WAAW,IAAI;AAAA,IACxB,MAAM,EAAE,WAAW,IAAI;AAAA,IACvB,WAAW,EAAE,OAAO,OAAO;AAAA,IAC3B,eAAe,EAAE,SAAS,SAAS;AAAA,EACrC;AAEA,aAAO,2BAAc;AAAA,IACnB,6BAA6B;AAAA,IAC7B,sBAAsB;AAAA,IACtB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config-default",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.62.0",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@tamagui/core": "1.
|
|
19
|
-
"@tamagui/shorthands": "1.
|
|
18
|
+
"@tamagui/core": "1.62.0",
|
|
19
|
+
"@tamagui/shorthands": "1.62.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@tamagui/build": "1.
|
|
22
|
+
"@tamagui/build": "1.62.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
package/types/index.d.ts
CHANGED
|
@@ -173,6 +173,10 @@ export declare function getDefaultTamaguiConfig(): import("@tamagui/core").Tamag
|
|
|
173
173
|
background: string;
|
|
174
174
|
color: string;
|
|
175
175
|
};
|
|
176
|
+
dark_red_active_ListItem: {
|
|
177
|
+
background: string;
|
|
178
|
+
color: string;
|
|
179
|
+
};
|
|
176
180
|
dark_red_alt2: {
|
|
177
181
|
background: string;
|
|
178
182
|
color: string;
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuNtC"}
|