-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
111 lines (110 loc) · 2.93 KB
/
tailwind.config.js
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./layouts/**/*.{js,ts,jsx,tsx}',
],
theme: {
fontFamily: {
inter: ['Inter', ...defaultTheme.fontFamily.sans],
},
extend: {
textColor: {
primary: 'var(--color-primary)',
muted: 'var(--color-muted)',
secondary: 'var(--color-secondary)',
tertiary: 'var(--color-tertiary)',
},
backgroundColor: {
primary: 'var(--color-background-primary)',
'text-secondary': 'var(--color-secondary)',
muted: 'var(--color-background-muted)',
secondary: 'var(--color-background-secondary)',
tertiary: 'var(--color-background-tertiary)',
},
colors: {
secondary: 'var(--color-secondary)',
tertiary: 'var(--color-tertiary)',
muted: 'var(--color-muted)',
venturedive: '#ED2736',
careem: '#47A23F',
uber: 'var(--color-muted)',
carecloud: '#009CDD',
planz: '#F0542E',
sudofy: '#3277DB',
adres: '#225294',
typescript: '#007acc',
react: '#88dded',
next: '#000000',
tailwind: '#38BDF7',
node: 'rgb(60, 135, 58)',
firebase: '#FFA611',
swr: '#000000',
mysql: '#00758F',
signalwire: '#6f42c1',
webrtc: '#BF0000',
playwright: '#2EAD33',
},
borderRadius: {
base: '8px',
},
transitionTimingFunction: {
base: 'ease-in-out',
},
transitionDuration: {
sm: '0.2s',
md: '0.5s',
},
fontSize: {
32: ['32px', { lineHeight: '38px' }],
},
letterSpacing: {
base: '1.2px',
},
spacing: {
15: '60px',
},
backgroundImage: {
'home-gradient': `
radial-gradient(circle at 10% 90%, #2c2150, rgba(8, 7, 11, 0.2) 25%),
radial-gradient(circle at 95% 30%, #072d40, rgba(8, 7, 11, 0.2) 25%)
`,
},
keyframes: {
'ping-right': {
'0%, 100%': {
left: 0,
transform: 'translateX(0)',
},
'50%': {
left: '100%',
transform: 'translateX(-20%)',
},
},
'left-to-right': {
'0%, 100%': {
left: 0,
transform: 'translateX(0)',
},
'50%': {
left: '100%',
transform: 'translateX(100%)',
},
},
},
animation: {
'ping-right': 'ping-right 1s theme(transitionTimingFunction.base) infinite',
'left-to-right': 'left-to-right 3s theme(transitionTimingFunction.base)',
},
listStyleType: {
circle: 'circle',
},
transformOrigin: {
'top-center': 'transform-origin: top center',
},
},
},
plugins: [],
};