-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtamagui.config.ts
41 lines (39 loc) · 1.07 KB
/
tamagui.config.ts
1
2
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
36
37
38
39
40
41
import { config } from '@tamagui/config/v3';
import { createTamagui, createTokens } from 'tamagui';
const tokens = createTokens({
...config.tokens,
color: {
...config.tokens.color,
stroberi: '#E54B4B',
brandPrimary: '#E54B4B',
brandSecondary: '#FFA987',
bgPrimary: 'black',
seashell: '#F7EBE8',
green: 'hsl(151, 50.0%, 53.2%)',
greenLight: 'hsl(151, 50.0%, 70.2%)',
stroberiLight: 'rgb(215,99,80)',
},
});
export const tamaguiConfig = createTamagui({
...config,
tokens,
themes: {
...config.themes,
dark: {
...config.themes.dark,
stroberi: tokens.color.stroberi,
bgPrimary: tokens.color.bgPrimary,
brandPrimary: tokens.color.brandPrimary,
brandSecondary: tokens.color.brandSecondary,
seashell: tokens.color.seashell,
green: tokens.color.green,
greenLight: tokens.color.greenLight,
stroberiLight: tokens.color.stroberiLight,
},
},
});
export default tamaguiConfig;
export type Conf = typeof tamaguiConfig;
declare module 'tamagui' {
interface TamaguiCustomConfig extends Conf {}
}