-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
56 lines (56 loc) · 1.27 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
/** @type {import('tailwindcss').Config} */
module.exports = {
prefix: 'tw-',
content: {
files: ['./index.html', './src/**/*.rs'],
},
darkMode: 'selector',
theme: {
extend: {
fontFamily: {
sans: ['"Fira Sans"'],
mono: ['"Fira Code"'],
},
typography: {
DEFAULT: {
css: {
pre: false,
code: false,
'pre code': false,
'code::before': false,
'code::after': false,
},
},
},
colors: {
graphite: '#222',
accent: {
DEFAULT: '#348314',
light: '#56B045',
},
},
backgroundImage: {
'forest-stairs': "url('/img/background-1.jpg')",
'road-trees': "url('/img/background-2.jpg')",
},
animation: {
rotateIn: 'rotateIn 1s both',
},
keyframes: {
rotateIn: {
'0%': {
transform: 'rotate3d(0,0,1,-200deg)',
transformOrigin: 'center',
opacity: '0',
},
'100%': {
transform: 'none',
transformOrigin: 'center',
opacity: '1',
},
},
},
},
},
plugins: [require('@tailwindcss/typography'), require('./tailwind.utils')],
};