-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.js
63 lines (61 loc) · 1.41 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
const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./templates/**/*.{html,twig,js}',
'./src/**/*.{vue,js,jsx}',
],
darkMode:'class',
theme: {
container: {
center: true,
padding:'1rem',
},
colors: {
grayBrand: {
light: '#DADADA',
DEFAULT: '#373F41',
},
'white': {
DEFAULT: '#FFFFFF',
},
'black': {
DEFAULT: '#000000',
},
transparent: 'transparent',
current: 'currentColor',
green: colors.green,
pink: colors.pink,
red: colors.red,
gray: colors.gray,
},
extend: {
fontFamily: {
'default':['HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', 'sans-serif'],
},
fontSize: {
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.gray.900'),
a: {
color: theme('colors.red.500'),
'&:hover': {
color: theme('colors.red.700'),
textDecoration: 'none',
},
},
},
},
}),
//https://github.com/tailwindlabs/tailwindcss-container-queries
// containers: {
// '2xs': '16rem',
// },
},
},
plugins: [
require('@tailwindcss/container-queries'),
require('@tailwindcss/typography'),
],
}