-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
56 lines (52 loc) · 1.87 KB
/
tailwind.config.cjs
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
const defaultColors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./apps/website/src/**/*.{ts,tsx}',
'./packages/ui/src/**/*.{ts,tsx}',
],
theme: {
extend: {
colors: {
primary: {
...defaultColors.zinc,
DEFAULT: defaultColors.zinc['900'],
main: defaultColors.zinc['900'],
light: defaultColors.zinc['600'],
dark: defaultColors.black,
},
secondary: {
...defaultColors.zinc,
DEFAULT: defaultColors.zinc['50'],
main: defaultColors.zinc['50'],
light: defaultColors.white,
dark: defaultColors.zinc['300'],
},
accent: {
...defaultColors.purple,
DEFAULT: defaultColors.purple['700'],
main: defaultColors.purple['700'],
light: defaultColors.purple['300'],
dark: defaultColors.purple['900'],
},
background: {
DEFAULT: defaultColors.zinc['50'],
light: defaultColors.zinc['50'],
dark: defaultColors.zinc['950'],
},
},
container: {
center: true,
},
fontFamily: {
sans: ['"Source Sans 3 Variable"', 'sans-serif'],
serif: ['"Alegreya Variable"', 'serif'],
},
gridTemplateColumns: {
'timeline': '5rem 1.5rem 1fr',
'timeline-mobile': '2rem 1.5rem 1fr',
},
},
},
plugins: [require('@tailwindcss/typography'), require('tailwindcss-debug-screens')],
};