generated from chrissy-dev/eleventy-web-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
61 lines (60 loc) · 1.42 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
const { red } = require('tailwindcss/colors');
module.exports = {
// https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually
darkMode: 'class',
theme: {
fontFamily: {
'sans': ['Montserrat', 'Segoe UI', 'SegoeUI', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif'],
},
colors: {
// Tint generator: https://tailwind-color-palette.netlify.app/
'primary': {
0 : '#EDD6FD',
100 : '#DBADFB',
200 : '#C884F8',
300 : '#B65BF6',
400 : '#A432F4',
500 : '#8328C3',
600 : '#621E92',
700 : '#421462',
800 : '#210A31'
},
'secondary': '#FAAC2C',
'yellow' : '#FFFF93',
'white' : '#FFFFFF',
'black' : '#2F3021'
},
extend: {
backgroundImage: {
'hero-head': "url('/static/images/JC-HERO-PurpleFace-v02.jpeg')",
'hero-feet': "url('/static/images/JC-HERO-PurpleFeet-v02.jpeg')",
},
minHeight: {
'hero-head': '720px',
},
fontSize: {
'hero': '14em',
},
// Customize the @tailwindcss/typography plugin
typography: {
DEFAULT: {
css: {
lineHeight: '1.65',
maxWidth: 'unset',
a: {
color: '#A432F4',
'&:hover': {
color: '#210A31',
},
},
},
},
},
},
},
plugins: [
// https://tailwindcss.com/docs/typography-plugin
require('@tailwindcss/typography'),
],
content: ['src/**/*.njk', 'src/**/*.js']
}