-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
97 lines (96 loc) · 2.59 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
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
sans: ['IBM Plex Sans', ...defaultTheme.fontFamily.sans],
serif: ['Playfair Display', ...defaultTheme.fontFamily.serif],
uses: ['OperatorMono', ...defaultTheme.fontFamily.serif],
blog: ['Larsseit', ...defaultTheme.fontFamily.sans],
project: ['CerebriSans', ...defaultTheme.fontFamily.sans],
},
colors: {
fuchsia: colors.fuchsia,
amber: colors.amber,
indigo: colors.indigo,
violet: colors.violet,
blue: colors.blue,
sky: colors.lightBlue,
cyan: colors.cyan,
emerald: colors.emerald,
green: colors.green,
gray: colors.coolGray,
slate: colors.blueGray,
gray: colors.gray,
neutral: colors.trueGray,
stone: colors.warmGray,
rose: colors.rose,
bgBlack: '#121212',
bgLight: 'rgb(208, 211, 225)',
darkBlue: 'rgb(4, 13, 33)',
cfGreen: '#5AA250',
eaBg: '#F57823',
homeChow: '#B80000',
cardBg: 'rgba(12, 22, 45, 0.5)',
cardBgHover: 'rgba(25,37,59,0.6)',
booksBg: 'rgb(234, 233, 228)',
booksCardBg: 'rgba(255, 255, 255, 0.4)',
blogBg: 'rgb(227, 230, 236)',
curated: '#2D4298',
},
fontSize: {
'10xl': '10rem',
'12xl': '12rem',
'14xl': '14rem',
},
lineHeight: {
'extra-loose': '0.8',
12: '3rem',
},
height: {
98: '28.2rem',
99: '32rem',
100: '35rem',
102: '38rem',
},
spacing: {
28: '7.4rem',
102: '25rem',
},
listStyleType: {
square: 'square',
roman: 'upper-roman',
},
transitionTimingFunction: {
'in-expo': 'cubic-bezier(0.95, 0.05, 0.795, 0.035)',
'out-expo': 'cubic-bezier(0.19, 1, 0.22, 1)',
},
typography: (theme) => ({
dark: {
css: {
color: theme('colors.white'),
h4: {
color: theme('colors.gray.200'),
},
},
},
}),
},
},
// variants: {
// extend: {
// typography: ['responsive', 'dark'],
// borderWidth: ['hover', 'focus', 'group-hover'],
// position: ['hover', 'group-hover'],
// },
// },
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp'),
],
};