-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtailwind.config.js
63 lines (59 loc) · 1.3 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
const colors = require('tailwindcss/colors');
module.exports = {
purge: [
'./**/*.js',
'./**/*.11ty.js',
'./**/*.html',
'./**/*.njk',
'./**/*.md',
],
darkMode: false, // or 'media' or 'class'
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000',
white: '#fff',
amber: colors.amber,
blue: colors.blue,
cyan: colors.cyan,
emerald: colors.emerald,
fuchsia: colors.fuchsia,
gray: colors.coolGray,
green: colors.green,
indigo: colors.indigo,
'light-blue': colors.lightBlue,
lime: colors.lime,
orange: {
...colors.orange,
1000: '#4a2008',
},
pink: {
...colors.pink,
1000: '#460d25',
},
purple: colors.purple,
red: colors.red,
rose: colors.rose,
teal: colors.teal,
violet: colors.violet,
yellow: colors.yellow,
code: {
punctuation: '#A1E8FF',
tag: '#D58FFF',
'attr-name': '#4BD0FB',
'attr-value': '#A2F679',
string: '#A2F679',
highlight: 'rgba(134, 239, 172, 0.25)',
},
},
extend: {},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}