-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.js
55 lines (54 loc) · 1.25 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
const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx}'
],
darkMode: 'media', // or 'media' or 'class'
theme: {
fontFamily: {
'heading': ['Montserrat'],
'sans': ['Lato']
},
colors: {
...colors,
gray: {
'50': '#fafafa',
'100': '#f0f0f0',
'200': '#e4e4e4',
'300': '#d5d5d5',
'400': '#bdbdbd',
'500': '#9e9e9e',
'600': '#757575',
'700': '#424242',
'800': '#212121',
'900': '#181818'
}
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(ellipse at 50% 0%, var(--tw-gradient-stops))',
},
colors: {
action: '#f63'
},
typography: {
DEFAULT: {
css: {
'h1,h2,h3,h4': { fontFamily: 'Montserrat' },
'pre[class*="language-"] code': { fontSize: '1rem !important' },
'.language-diff .token.deleted': { color: '#f87171 !important' },
'.language-diff .token.inserted': { color: '#22c55e !important' }
}
}
}
},
},
variants: {
extend: {
height: ['hover']
},
},
plugins: [
require('@tailwindcss/typography')
],
}