-
Notifications
You must be signed in to change notification settings - Fork 19
/
tailwind.config.js
59 lines (58 loc) · 1.16 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
const colors = require("tailwindcss/colors");
module.exports = {
content: [
'./components/**/*.tsx',
'./nextra-theme-docs/**/*.tsx',
'./nextra-theme-docs/**/*.css',
'./pages/**/*.md',
'./pages/**/*.mdx',
'./pages/**/*.tsx',
'./pages/**/*.js',
'./theme.config.js',
'./styles.css',
],
theme: {
extend: {
fontFamily: {
sans: [`"Inter"`, 'sans-serif'],
mono: [
'Menlo',
'Monaco',
'Lucida Console',
'Liberation Mono',
'DejaVu Sans Mono',
'Bitstream Vera Sans Mono',
'Courier New',
'monospace',
],
},
colors: {
...colors,
dark: '#000',
gray: colors.neutral,
blue: colors.blue,
orange: colors.orange,
green: colors.green,
red: colors.red,
yellow: colors.yellow,
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
betterhover: { raw: '(hover: hover)' },
},
keyframes: {
slide: {
'0%': { transform: 'translateX(0)' },
'33.333%': { transform: 'translateX(-33.3333%)' },
'66.666%': { transform: 'translateX(-66.6666%)' },
},
},
animation: {
slide: 'slide 100s ease-in-out infinite',
},
},
},
darkMode: 'class',
};