forked from brianlovin/briOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
68 lines (67 loc) · 1.55 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
const colors = require('tailwindcss/colors')
module.exports = {
purge: ['./src/**/*.tsx'],
darkMode: 'media', // 'media' or 'class'
theme: {
colors: {
yellow: colors.yellow,
purple: colors.purple,
blue: colors.blue,
gray: colors.gray,
red: colors.red,
green: colors.green,
pink: colors.pink,
indigo: colors.indigo,
white: '#fff',
},
lineClamp: {
1: 1,
2: 2,
3: 3,
},
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
blockQuote: {
fontWeight: '400',
},
img: {
borderRadius: '8px',
},
h4: {
fontSize: '1.5rem',
fontWeight: '800',
},
h5: {
fontSize: '1.3rem',
marginTop: '2.5rem',
marginBottom: '-0.75rem',
},
a: {
color: theme('colors.blue.500'),
textDecoration: 'none',
},
},
},
}),
boxShadow: {
cardHover:
'0 4px 4.1px rgba(0, 0, 0, 0.012),0 4.9px 5.8px rgba(0, 0, 0, 0.018),0 6.3px 8.4px rgba(0, 0, 0, 0.029),0 8.8px 12.9px rgba(0, 0, 0, 0.05),0 15px 23px rgba(0, 0, 0, 0.11)',
},
colors: {
'gray-1000': '#050505',
},
},
},
variants: {
extend: {
textColor: ['visited'],
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('tailwindcss-line-clamp'),
],
}