-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
89 lines (87 loc) · 2.04 KB
/
tailwind.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
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
80
81
82
83
84
85
86
87
88
89
import type { Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
import tailwindScrollbar from 'tailwind-scrollbar'
const MyTheme = {
colors: {
neonCarrot: {
DEFAULT: '#ff9638',
'50': '#fff7ed',
'100': '#ffeed4',
'200': '#ffd9a8',
'300': '#ffbd71',
'400': '#ff9638',
'500': '#fe7711',
'600': '#ef5c07',
'700': '#c64308',
'800': '#9d360f',
'900': '#7e2e10',
},
gray: {
DEFAULT: '#666666',
'50': '#f6f6f6',
'100': '#e7e7e7',
'200': '#d1d1d1',
'300': '#b0b0b0',
'400': '#888888',
'500': '#666666',
'600': '#5d5d5d',
'700': '#4f4f4f',
'800': '#454545',
'900': '#3d3d3d',
'950': '#262626',
},
},
}
export default <Partial<Config>>{
content: [],
theme: {
extend: {
colors: {
primary: MyTheme.colors.neonCarrot,
dark: MyTheme.colors.gray,
background: '#ffffff',
},
fontFamily: {
sans: ['Raleway', ...defaultTheme.fontFamily.sans],
},
container: {
center: true,
padding: '1rem',
screens: {
xs: '480px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
},
borderRadius: {
30: '1.875rem',
40: '2.5rem',
},
boxShadow: {
container: '0px 0px 40px -10px rgba(0,0,0,.2)',
header: '0px 0px 10px 0px rgba(0,0,0,.08)',
menu: '0px 0px 70px 0px rgba(0,0,0,.08)',
button: '0px 10px 10px -8px rgba(0,0,0,.22)',
avatar: '0px 0px 25px 0px rgba(0, 0, 0, 0.1)',
card: '0 12px 17px rgba(0,0,0,.12)',
},
transitionDuration: {
DEFAULT: '300ms',
},
keyframes: {
flipInLeft: {
from: {
transform: 'translateZ(-1000px) rotateY(-90deg)',
opacity: '0.2',
},
},
},
animation: {
flipInLeft: 'flipInLeft .5s both ease-out',
},
},
},
plugins: [tailwindScrollbar],
}