forked from farhackxyz/farhack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
129 lines (126 loc) · 2.92 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
import type { Config } from 'tailwindcss';
import { colors } from './styles/colors';
const tailwindConfig = {
darkMode: 'class',
content: [
'./components/**/*.{js,jsx,ts,tsx}',
'./pages/**/*.{md,mdx}',
'./theme.config.tsx'
],
theme: {
extend: {
fontFamily: {
sans: 'var(--font-sans)',
'space-grotesk': ['Space Grotesk', 'monospace'],
mono: [
'Menlo',
'Monaco',
'Lucida Console',
'Liberation Mono',
'DejaVu Sans Mono',
'Bitstream Vera Sans Mono',
'Courier New',
'monospace'
]
},
borderRadius: {
none: '0',
xs: '7px',
sm: '9px',
md: '12px',
DEFAULT: '14px',
lg: '14px',
xl: '18px',
'2xl': '24px',
'3xl': '32px',
squared: '33%',
rounded: '50%',
full: '9999px'
},
colors: {
transparent: 'transparent',
white: '#ffffff',
black: '#000000',
background: {
light: '#ffffff',
DEFAULT: '#ffffff',
dark: '#000000'
},
foreground: {
light: '#11181C',
DEFAULT: '#11181C',
dark: '#ECEDEE'
},
border: {
light: '#00000026',
DEFAULT: '#00000026',
dark: '#ffffff26'
},
neutral: {
...colors.neutral,
DEFAULT: colors.neutral[500]
},
primary: {
light: colors.blue[200],
DEFAULT: colors.blue[500],
dark: colors.blue[500]
},
secondary: {
light: colors.purple[200],
DEFAULT: colors.purple[500],
dark: colors.purple[400]
},
success: {
light: colors.green[200],
DEFAULT: colors.green[500],
dark: colors.green[500]
},
warning: {
light: colors.yellow[400],
DEFAULT: colors.yellow[500],
dark: colors.yellow[700]
},
error: {
light: colors.red[200],
DEFAULT: colors.red[500],
dark: colors.red[500]
},
red: {
...colors.red,
DEFAULT: colors.red[500]
},
yellow: {
...colors.yellow,
DEFAULT: colors.yellow[500]
},
green: {
...colors.green,
DEFAULT: colors.green[500]
},
blue: {
...colors.blue,
DEFAULT: colors.blue[500]
},
purple: {
...colors.purple,
DEFAULT: colors.purple[500]
},
pink: {
...colors.pink,
DEFAULT: colors.pink[500]
}
},
animation: {
appear: 'appear 0.5s ease forwards'
},
keyframes: {
appear: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
}
}
}
},
plugins: []
} satisfies Config;
export default tailwindConfig;