-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.js
94 lines (93 loc) · 2.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
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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
},
purge: {
enabled: false,
},
theme: {
extend: {
fontFamily: {
sans: ['Roboto', ...defaultTheme.fontFamily.sans],
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono],
},
colors: {
'white-10': 'rgba(255, 255, 255, 0.1)',
'black-15': 'rgba(0, 0, 0, 0.15)',
'black-90': 'rgba(0, 0, 0, 0.9)',
green: {
default: '#47725F',
},
blue: {
default: '#172E51',
dark: '#182841',
...defaultTheme.colors.blue,
},
yellow: {
default: '#fffd86',
...defaultTheme.colors.yellow,
},
turquoise: '#91f3a2',
},
boxShadow: {
inner: 'inset 0 1px 3px 0 rgba(0, 0, 0, 0.3)',
},
},
typography: (theme) => ({
default: {
css: {
color: theme('colors.white'),
a: {
color: theme('colors.turquoise'),
'&:hover': {
color: theme('colors.white'),
},
'text-decoration': 'underline',
},
strong: {
color: theme('colors.white'),
},
h1: {
color: theme('colors.white'),
},
h2: {
color: theme('colors.white'),
},
h3: {
color: theme('colors.white'),
},
h4: {
color: theme('colors.white'),
},
blockquote: {
color: theme('colors.white'),
},
thead: {
color: theme('colors.white'),
},
pre: {
backgroundColor: theme('colors.black-90'),
},
code: {
color: theme('colors.white'),
backgroundColor: theme('colors.white-10'),
borderRadius: '3px',
},
},
},
}),
linearGradientColors: (theme) => ({
'green-blue': [
theme('colors.green.default'),
theme('colors.blue.default'),
],
}),
},
variants: {},
plugins: [
require('@tailwindcss/ui'),
require('@tailwindcss/typography'),
require('tailwindcss-gradients'),
],
}