@tamagui/config 1.4.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/cjs/animations-css.js +36 -0
- package/dist/cjs/animations-css.js.map +7 -0
- package/dist/cjs/animations.js +58 -0
- package/dist/cjs/animations.js.map +7 -0
- package/dist/cjs/animations.reanimated.js +59 -0
- package/dist/cjs/animations.reanimated.js.map +7 -0
- package/dist/cjs/createGenericFont.js +62 -0
- package/dist/cjs/createGenericFont.js.map +7 -0
- package/dist/cjs/index.js +21 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/media.js +60 -0
- package/dist/cjs/media.js.map +7 -0
- package/dist/cjs/tamagui.config.js +138 -0
- package/dist/cjs/tamagui.config.js.map +7 -0
- package/dist/esm/animations-css.js +12 -0
- package/dist/esm/animations-css.js.map +7 -0
- package/dist/esm/animations-css.mjs +12 -0
- package/dist/esm/animations-css.mjs.map +7 -0
- package/dist/esm/animations.js +34 -0
- package/dist/esm/animations.js.map +7 -0
- package/dist/esm/animations.mjs +34 -0
- package/dist/esm/animations.mjs.map +7 -0
- package/dist/esm/animations.reanimated.js +35 -0
- package/dist/esm/animations.reanimated.js.map +7 -0
- package/dist/esm/animations.reanimated.mjs +35 -0
- package/dist/esm/animations.reanimated.mjs.map +7 -0
- package/dist/esm/createGenericFont.js +38 -0
- package/dist/esm/createGenericFont.js.map +7 -0
- package/dist/esm/createGenericFont.mjs +38 -0
- package/dist/esm/createGenericFont.mjs.map +7 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/index.mjs.map +7 -0
- package/dist/esm/media.js +33 -0
- package/dist/esm/media.js.map +7 -0
- package/dist/esm/media.mjs +33 -0
- package/dist/esm/media.mjs.map +7 -0
- package/dist/esm/tamagui.config.js +113 -0
- package/dist/esm/tamagui.config.js.map +7 -0
- package/dist/esm/tamagui.config.mjs +113 -0
- package/dist/esm/tamagui.config.mjs.map +7 -0
- package/package.json +46 -0
- package/src/animations-css.ts +9 -0
- package/src/animations.reanimated.ts +32 -0
- package/src/animations.ts +31 -0
- package/src/createGenericFont.ts +44 -0
- package/src/index.tsx +3 -0
- package/src/media.ts +34 -0
- package/src/tamagui.config.ts +121 -0
- package/types/animations-css.d.ts +8 -0
- package/types/animations-css.d.ts.map +1 -0
- package/types/animations.d.ts +30 -0
- package/types/animations.d.ts.map +1 -0
- package/types/animations.reanimated.d.ts +31 -0
- package/types/animations.reanimated.d.ts.map +1 -0
- package/types/createGenericFont.d.ts +24 -0
- package/types/createGenericFont.d.ts.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -0
- package/types/media.d.ts +46 -0
- package/types/media.d.ts.map +1 -0
- package/types/tamagui.config.d.ts +154 -0
- package/types/tamagui.config.d.ts.map +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createAnimations } from '@tamagui/animations-react-native'
|
|
2
|
+
|
|
3
|
+
export const animations = createAnimations({
|
|
4
|
+
'100ms': {
|
|
5
|
+
type: 'timing',
|
|
6
|
+
duration: 100,
|
|
7
|
+
},
|
|
8
|
+
bouncy: {
|
|
9
|
+
damping: 9,
|
|
10
|
+
mass: 0.9,
|
|
11
|
+
stiffness: 150,
|
|
12
|
+
},
|
|
13
|
+
lazy: {
|
|
14
|
+
damping: 18,
|
|
15
|
+
stiffness: 50,
|
|
16
|
+
},
|
|
17
|
+
slow: {
|
|
18
|
+
damping: 15,
|
|
19
|
+
stiffness: 40,
|
|
20
|
+
},
|
|
21
|
+
quick: {
|
|
22
|
+
damping: 20,
|
|
23
|
+
mass: 1.2,
|
|
24
|
+
stiffness: 250,
|
|
25
|
+
},
|
|
26
|
+
tooltip: {
|
|
27
|
+
damping: 10,
|
|
28
|
+
mass: 0.9,
|
|
29
|
+
stiffness: 100,
|
|
30
|
+
},
|
|
31
|
+
})
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { GenericFont, createFont } from '@tamagui/core'
|
|
2
|
+
|
|
3
|
+
const genericFontSizes = {
|
|
4
|
+
1: 10,
|
|
5
|
+
2: 11,
|
|
6
|
+
3: 12,
|
|
7
|
+
4: 14,
|
|
8
|
+
5: 15,
|
|
9
|
+
6: 16,
|
|
10
|
+
7: 20,
|
|
11
|
+
8: 22,
|
|
12
|
+
9: 30,
|
|
13
|
+
10: 42,
|
|
14
|
+
11: 52,
|
|
15
|
+
12: 62,
|
|
16
|
+
13: 72,
|
|
17
|
+
14: 92,
|
|
18
|
+
15: 114,
|
|
19
|
+
16: 124,
|
|
20
|
+
} as const
|
|
21
|
+
|
|
22
|
+
export function createGenericFont<
|
|
23
|
+
A extends GenericFont<keyof typeof genericFontSizes>,
|
|
24
|
+
>(
|
|
25
|
+
family: string,
|
|
26
|
+
font: Partial<A> = {},
|
|
27
|
+
{
|
|
28
|
+
sizeLineHeight = (val) => val * 1.35,
|
|
29
|
+
}: {
|
|
30
|
+
sizeLineHeight?: (val: number) => number
|
|
31
|
+
} = {},
|
|
32
|
+
): A {
|
|
33
|
+
const size = font.size || genericFontSizes
|
|
34
|
+
return createFont({
|
|
35
|
+
family,
|
|
36
|
+
size,
|
|
37
|
+
lineHeight: Object.fromEntries(
|
|
38
|
+
Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)]),
|
|
39
|
+
) as typeof size,
|
|
40
|
+
weight: { 0: '300' },
|
|
41
|
+
letterSpacing: { 4: 0 },
|
|
42
|
+
...(font as any),
|
|
43
|
+
})
|
|
44
|
+
}
|
package/src/index.tsx
ADDED
package/src/media.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createMedia } from '@tamagui/react-native-media-driver'
|
|
2
|
+
|
|
3
|
+
export const demoMedia = [500, 620, 780, 900]
|
|
4
|
+
export const widths = [660, 800, 1020, 1280]
|
|
5
|
+
|
|
6
|
+
// note order is important!
|
|
7
|
+
// earlier defined = less important
|
|
8
|
+
|
|
9
|
+
export const media = createMedia({
|
|
10
|
+
// for site
|
|
11
|
+
xl: { maxWidth: 1650 },
|
|
12
|
+
lg: { maxWidth: 1280 },
|
|
13
|
+
md: { maxWidth: 1020 },
|
|
14
|
+
sm: { maxWidth: 800 },
|
|
15
|
+
xs: { maxWidth: 660 },
|
|
16
|
+
xxs: { maxWidth: 390 },
|
|
17
|
+
gtXs: { minWidth: 660 + 1 },
|
|
18
|
+
gtSm: { minWidth: 800 + 1 },
|
|
19
|
+
gtMd: { minWidth: 1020 + 1 },
|
|
20
|
+
gtLg: { minWidth: 1280 + 1 },
|
|
21
|
+
gtXl: { minWidth: 1650 + 1 },
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
// note all the non "gt" ones should be true to start to match mobile-first
|
|
25
|
+
// were aiming for "xs" to be the default to "gtXs" true too
|
|
26
|
+
export const mediaQueryDefaultActive = {
|
|
27
|
+
xl: true,
|
|
28
|
+
lg: true,
|
|
29
|
+
md: true,
|
|
30
|
+
sm: true,
|
|
31
|
+
xs: true,
|
|
32
|
+
// false
|
|
33
|
+
xxs: false,
|
|
34
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { createInterFont } from '@tamagui/font-inter'
|
|
2
|
+
import { createSilkscreenFont } from '@tamagui/font-silkscreen'
|
|
3
|
+
import { shorthands } from '@tamagui/shorthands'
|
|
4
|
+
import { themes, tokens } from '@tamagui/themes'
|
|
5
|
+
|
|
6
|
+
import { animations } from './animations'
|
|
7
|
+
import { createGenericFont } from './createGenericFont'
|
|
8
|
+
import { media, mediaQueryDefaultActive } from './media'
|
|
9
|
+
|
|
10
|
+
export * from './animations'
|
|
11
|
+
|
|
12
|
+
const systemFamily =
|
|
13
|
+
process.env.TAMAGUI_TARGET === 'native'
|
|
14
|
+
? 'Inter'
|
|
15
|
+
: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
16
|
+
|
|
17
|
+
const silkscreenFont = createSilkscreenFont()
|
|
18
|
+
const headingFont = createInterFont(
|
|
19
|
+
{
|
|
20
|
+
size: {
|
|
21
|
+
5: 13,
|
|
22
|
+
6: 15,
|
|
23
|
+
9: 32,
|
|
24
|
+
10: 44,
|
|
25
|
+
},
|
|
26
|
+
transform: {
|
|
27
|
+
6: 'uppercase',
|
|
28
|
+
7: 'none',
|
|
29
|
+
},
|
|
30
|
+
weight: {
|
|
31
|
+
6: '400',
|
|
32
|
+
7: '700',
|
|
33
|
+
},
|
|
34
|
+
color: {
|
|
35
|
+
6: '$colorFocus',
|
|
36
|
+
7: '$color',
|
|
37
|
+
},
|
|
38
|
+
letterSpacing: {
|
|
39
|
+
5: 2,
|
|
40
|
+
6: 1,
|
|
41
|
+
7: 0,
|
|
42
|
+
8: 0,
|
|
43
|
+
9: -1,
|
|
44
|
+
10: -1.5,
|
|
45
|
+
12: -2,
|
|
46
|
+
14: -3,
|
|
47
|
+
15: -4,
|
|
48
|
+
},
|
|
49
|
+
// for native
|
|
50
|
+
face: {
|
|
51
|
+
700: { normal: 'InterBold' },
|
|
52
|
+
800: { normal: 'InterBold' },
|
|
53
|
+
900: { normal: 'InterBold' },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
const bodyFont = createInterFont(
|
|
60
|
+
{
|
|
61
|
+
family: systemFamily,
|
|
62
|
+
weight: {
|
|
63
|
+
1: '500',
|
|
64
|
+
7: '600',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
sizeSize: (size) => Math.round(size),
|
|
69
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4)),
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
const monoFont = createGenericFont(
|
|
74
|
+
`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`,
|
|
75
|
+
{
|
|
76
|
+
weight: {
|
|
77
|
+
1: '500',
|
|
78
|
+
},
|
|
79
|
+
size: {
|
|
80
|
+
1: 11,
|
|
81
|
+
2: 12,
|
|
82
|
+
3: 13,
|
|
83
|
+
4: 14,
|
|
84
|
+
5: 16,
|
|
85
|
+
6: 18,
|
|
86
|
+
7: 20,
|
|
87
|
+
8: 22,
|
|
88
|
+
9: 30,
|
|
89
|
+
10: 42,
|
|
90
|
+
11: 52,
|
|
91
|
+
12: 62,
|
|
92
|
+
13: 72,
|
|
93
|
+
14: 92,
|
|
94
|
+
15: 114,
|
|
95
|
+
16: 124,
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
sizeLineHeight: (x) => x * 1.5,
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
export const config = {
|
|
104
|
+
shouldAddPrefersColorThemes: true,
|
|
105
|
+
themeClassNameOnRoot: true,
|
|
106
|
+
animations,
|
|
107
|
+
media,
|
|
108
|
+
shorthands,
|
|
109
|
+
themes,
|
|
110
|
+
tokens,
|
|
111
|
+
fonts: {
|
|
112
|
+
// noto: notoFont as any,
|
|
113
|
+
heading: headingFont,
|
|
114
|
+
body: bodyFont,
|
|
115
|
+
mono: monoFont,
|
|
116
|
+
silkscreen: silkscreenFont,
|
|
117
|
+
},
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// @ts-ignore bad types
|
|
121
|
+
config.mediaQueryDefaultActive = mediaQueryDefaultActive
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations-css.d.ts","sourceRoot":"","sources":["../src/animations-css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;EAMrB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const animations: import("@tamagui/web").AnimationDriver<{
|
|
2
|
+
'100ms': {
|
|
3
|
+
type: "timing";
|
|
4
|
+
duration: number;
|
|
5
|
+
};
|
|
6
|
+
bouncy: {
|
|
7
|
+
damping: number;
|
|
8
|
+
mass: number;
|
|
9
|
+
stiffness: number;
|
|
10
|
+
};
|
|
11
|
+
lazy: {
|
|
12
|
+
damping: number;
|
|
13
|
+
stiffness: number;
|
|
14
|
+
};
|
|
15
|
+
slow: {
|
|
16
|
+
damping: number;
|
|
17
|
+
stiffness: number;
|
|
18
|
+
};
|
|
19
|
+
quick: {
|
|
20
|
+
damping: number;
|
|
21
|
+
mass: number;
|
|
22
|
+
stiffness: number;
|
|
23
|
+
};
|
|
24
|
+
tooltip: {
|
|
25
|
+
damping: number;
|
|
26
|
+
mass: number;
|
|
27
|
+
stiffness: number;
|
|
28
|
+
};
|
|
29
|
+
}>;
|
|
30
|
+
//# sourceMappingURL=animations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../src/animations.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BrB,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const animations: import("@tamagui/web").AnimationDriver<{
|
|
2
|
+
bouncy: {
|
|
3
|
+
type: "spring";
|
|
4
|
+
damping: number;
|
|
5
|
+
mass: number;
|
|
6
|
+
stiffness: number;
|
|
7
|
+
};
|
|
8
|
+
lazy: {
|
|
9
|
+
type: "spring";
|
|
10
|
+
damping: number;
|
|
11
|
+
stiffness: number;
|
|
12
|
+
};
|
|
13
|
+
slow: {
|
|
14
|
+
type: "spring";
|
|
15
|
+
damping: number;
|
|
16
|
+
stiffness: number;
|
|
17
|
+
};
|
|
18
|
+
quick: {
|
|
19
|
+
type: "spring";
|
|
20
|
+
damping: number;
|
|
21
|
+
mass: number;
|
|
22
|
+
stiffness: number;
|
|
23
|
+
};
|
|
24
|
+
tooltip: {
|
|
25
|
+
type: "spring";
|
|
26
|
+
damping: number;
|
|
27
|
+
mass: number;
|
|
28
|
+
stiffness: number;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
//# sourceMappingURL=animations.reanimated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.reanimated.d.ts","sourceRoot":"","sources":["../src/animations.reanimated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BrB,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GenericFont } from '@tamagui/core';
|
|
2
|
+
declare const genericFontSizes: {
|
|
3
|
+
readonly 1: 10;
|
|
4
|
+
readonly 2: 11;
|
|
5
|
+
readonly 3: 12;
|
|
6
|
+
readonly 4: 14;
|
|
7
|
+
readonly 5: 15;
|
|
8
|
+
readonly 6: 16;
|
|
9
|
+
readonly 7: 20;
|
|
10
|
+
readonly 8: 22;
|
|
11
|
+
readonly 9: 30;
|
|
12
|
+
readonly 10: 42;
|
|
13
|
+
readonly 11: 52;
|
|
14
|
+
readonly 12: 62;
|
|
15
|
+
readonly 13: 72;
|
|
16
|
+
readonly 14: 92;
|
|
17
|
+
readonly 15: 114;
|
|
18
|
+
readonly 16: 124;
|
|
19
|
+
};
|
|
20
|
+
export declare function createGenericFont<A extends GenericFont<keyof typeof genericFontSizes>>(family: string, font?: Partial<A>, { sizeLineHeight, }?: {
|
|
21
|
+
sizeLineHeight?: (val: number) => number;
|
|
22
|
+
}): A;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=createGenericFont.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createGenericFont.d.ts","sourceRoot":"","sources":["../src/createGenericFont.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAc,MAAM,eAAe,CAAA;AAEvD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;CAiBZ,CAAA;AAEV,wBAAgB,iBAAiB,CAC/B,CAAC,SAAS,WAAW,CAAC,MAAM,OAAO,gBAAgB,CAAC,EAEpD,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,OAAO,CAAC,CAAC,CAAM,EACrB,EACE,cAAoC,GACrC,GAAE;IACD,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAA;CACpC,GACL,CAAC,CAYH"}
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA"}
|
package/types/media.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const demoMedia: number[];
|
|
2
|
+
export declare const widths: number[];
|
|
3
|
+
export declare const media: {
|
|
4
|
+
xl: {
|
|
5
|
+
maxWidth: number;
|
|
6
|
+
};
|
|
7
|
+
lg: {
|
|
8
|
+
maxWidth: number;
|
|
9
|
+
};
|
|
10
|
+
md: {
|
|
11
|
+
maxWidth: number;
|
|
12
|
+
};
|
|
13
|
+
sm: {
|
|
14
|
+
maxWidth: number;
|
|
15
|
+
};
|
|
16
|
+
xs: {
|
|
17
|
+
maxWidth: number;
|
|
18
|
+
};
|
|
19
|
+
xxs: {
|
|
20
|
+
maxWidth: number;
|
|
21
|
+
};
|
|
22
|
+
gtXs: {
|
|
23
|
+
minWidth: number;
|
|
24
|
+
};
|
|
25
|
+
gtSm: {
|
|
26
|
+
minWidth: number;
|
|
27
|
+
};
|
|
28
|
+
gtMd: {
|
|
29
|
+
minWidth: number;
|
|
30
|
+
};
|
|
31
|
+
gtLg: {
|
|
32
|
+
minWidth: number;
|
|
33
|
+
};
|
|
34
|
+
gtXl: {
|
|
35
|
+
minWidth: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const mediaQueryDefaultActive: {
|
|
39
|
+
xl: boolean;
|
|
40
|
+
lg: boolean;
|
|
41
|
+
md: boolean;
|
|
42
|
+
sm: boolean;
|
|
43
|
+
xs: boolean;
|
|
44
|
+
xxs: boolean;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=media.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../src/media.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,UAAuB,CAAA;AAC7C,eAAO,MAAM,MAAM,UAAyB,CAAA;AAK5C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAahB,CAAA;AAIF,eAAO,MAAM,uBAAuB;;;;;;;CAQnC,CAAA"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export * from './animations';
|
|
2
|
+
export declare const config: {
|
|
3
|
+
shouldAddPrefersColorThemes: boolean;
|
|
4
|
+
themeClassNameOnRoot: boolean;
|
|
5
|
+
animations: import("@tamagui/web").AnimationDriver<{
|
|
6
|
+
'100ms': {
|
|
7
|
+
type: "timing";
|
|
8
|
+
duration: number;
|
|
9
|
+
};
|
|
10
|
+
bouncy: {
|
|
11
|
+
damping: number;
|
|
12
|
+
mass: number;
|
|
13
|
+
stiffness: number;
|
|
14
|
+
};
|
|
15
|
+
lazy: {
|
|
16
|
+
damping: number;
|
|
17
|
+
stiffness: number;
|
|
18
|
+
};
|
|
19
|
+
slow: {
|
|
20
|
+
damping: number;
|
|
21
|
+
stiffness: number;
|
|
22
|
+
};
|
|
23
|
+
quick: {
|
|
24
|
+
damping: number;
|
|
25
|
+
mass: number;
|
|
26
|
+
stiffness: number;
|
|
27
|
+
};
|
|
28
|
+
tooltip: {
|
|
29
|
+
damping: number;
|
|
30
|
+
mass: number;
|
|
31
|
+
stiffness: number;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
34
|
+
media: {
|
|
35
|
+
xl: {
|
|
36
|
+
maxWidth: number;
|
|
37
|
+
};
|
|
38
|
+
lg: {
|
|
39
|
+
maxWidth: number;
|
|
40
|
+
};
|
|
41
|
+
md: {
|
|
42
|
+
maxWidth: number;
|
|
43
|
+
};
|
|
44
|
+
sm: {
|
|
45
|
+
maxWidth: number;
|
|
46
|
+
};
|
|
47
|
+
xs: {
|
|
48
|
+
maxWidth: number;
|
|
49
|
+
};
|
|
50
|
+
xxs: {
|
|
51
|
+
maxWidth: number;
|
|
52
|
+
};
|
|
53
|
+
gtXs: {
|
|
54
|
+
minWidth: number;
|
|
55
|
+
};
|
|
56
|
+
gtSm: {
|
|
57
|
+
minWidth: number;
|
|
58
|
+
};
|
|
59
|
+
gtMd: {
|
|
60
|
+
minWidth: number;
|
|
61
|
+
};
|
|
62
|
+
gtLg: {
|
|
63
|
+
minWidth: number;
|
|
64
|
+
};
|
|
65
|
+
gtXl: {
|
|
66
|
+
minWidth: number;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
shorthands: {
|
|
70
|
+
readonly ussel: "userSelect";
|
|
71
|
+
readonly cur: "cursor";
|
|
72
|
+
readonly pe: "pointerEvents";
|
|
73
|
+
readonly col: "color";
|
|
74
|
+
readonly ff: "fontFamily";
|
|
75
|
+
readonly fos: "fontSize";
|
|
76
|
+
readonly fost: "fontStyle";
|
|
77
|
+
readonly fow: "fontWeight";
|
|
78
|
+
readonly ls: "letterSpacing";
|
|
79
|
+
readonly lh: "lineHeight";
|
|
80
|
+
readonly ta: "textAlign";
|
|
81
|
+
readonly tt: "textTransform";
|
|
82
|
+
readonly ww: "wordWrap";
|
|
83
|
+
readonly ac: "alignContent";
|
|
84
|
+
readonly ai: "alignItems";
|
|
85
|
+
readonly als: "alignSelf";
|
|
86
|
+
readonly b: "bottom";
|
|
87
|
+
readonly bc: "backgroundColor";
|
|
88
|
+
readonly bg: "backgroundColor";
|
|
89
|
+
readonly bbc: "borderBottomColor";
|
|
90
|
+
readonly bblr: "borderBottomLeftRadius";
|
|
91
|
+
readonly bbrr: "borderBottomRightRadius";
|
|
92
|
+
readonly bbw: "borderBottomWidth";
|
|
93
|
+
readonly blc: "borderLeftColor";
|
|
94
|
+
readonly blw: "borderLeftWidth";
|
|
95
|
+
readonly boc: "borderColor";
|
|
96
|
+
readonly br: "borderRadius";
|
|
97
|
+
readonly bs: "borderStyle";
|
|
98
|
+
readonly brw: "borderRightWidth";
|
|
99
|
+
readonly brc: "borderRightColor";
|
|
100
|
+
readonly btc: "borderTopColor";
|
|
101
|
+
readonly btlr: "borderTopLeftRadius";
|
|
102
|
+
readonly btrr: "borderTopRightRadius";
|
|
103
|
+
readonly btw: "borderTopWidth";
|
|
104
|
+
readonly bw: "borderWidth";
|
|
105
|
+
readonly dsp: "display";
|
|
106
|
+
readonly f: "flex";
|
|
107
|
+
readonly fb: "flexBasis";
|
|
108
|
+
readonly fd: "flexDirection";
|
|
109
|
+
readonly fg: "flexGrow";
|
|
110
|
+
readonly fs: "flexShrink";
|
|
111
|
+
readonly fw: "flexWrap";
|
|
112
|
+
readonly h: "height";
|
|
113
|
+
readonly jc: "justifyContent";
|
|
114
|
+
readonly l: "left";
|
|
115
|
+
readonly m: "margin";
|
|
116
|
+
readonly mah: "maxHeight";
|
|
117
|
+
readonly maw: "maxWidth";
|
|
118
|
+
readonly mb: "marginBottom";
|
|
119
|
+
readonly mih: "minHeight";
|
|
120
|
+
readonly miw: "minWidth";
|
|
121
|
+
readonly ml: "marginLeft";
|
|
122
|
+
readonly mr: "marginRight";
|
|
123
|
+
readonly mt: "marginTop";
|
|
124
|
+
readonly mx: "marginHorizontal";
|
|
125
|
+
readonly my: "marginVertical";
|
|
126
|
+
readonly o: "opacity";
|
|
127
|
+
readonly ov: "overflow";
|
|
128
|
+
readonly p: "padding";
|
|
129
|
+
readonly pb: "paddingBottom";
|
|
130
|
+
readonly pl: "paddingLeft";
|
|
131
|
+
readonly pos: "position";
|
|
132
|
+
readonly pr: "paddingRight";
|
|
133
|
+
readonly pt: "paddingTop";
|
|
134
|
+
readonly px: "paddingHorizontal";
|
|
135
|
+
readonly py: "paddingVertical";
|
|
136
|
+
readonly r: "right";
|
|
137
|
+
readonly shac: "shadowColor";
|
|
138
|
+
readonly shar: "shadowRadius";
|
|
139
|
+
readonly shof: "shadowOffset";
|
|
140
|
+
readonly shop: "shadowOpacity";
|
|
141
|
+
readonly t: "top";
|
|
142
|
+
readonly w: "width";
|
|
143
|
+
readonly zi: "zIndex";
|
|
144
|
+
};
|
|
145
|
+
themes: any;
|
|
146
|
+
tokens: any;
|
|
147
|
+
fonts: {
|
|
148
|
+
heading: import("@tamagui/web").GenericFont<9 | 15 | 10 | 11 | 12 | 14 | 16 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 | "true">;
|
|
149
|
+
body: import("@tamagui/web").GenericFont<9 | 15 | 10 | 11 | 12 | 14 | 16 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 | "true">;
|
|
150
|
+
mono: import("@tamagui/web").GenericFont<9 | 15 | 10 | 11 | 12 | 14 | 16 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13>;
|
|
151
|
+
silkscreen: import("@tamagui/web").GenericFont<9 | 15 | 10 | 11 | 12 | 14 | 16 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13>;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
//# sourceMappingURL=tamagui.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tamagui.config.d.ts","sourceRoot":"","sources":["../src/tamagui.config.ts"],"names":[],"mappings":"AASA,cAAc,cAAc,CAAA;AA6F5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAelB,CAAA"}
|