This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.js
67 lines (66 loc) · 1.52 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
64
65
66
67
const colors = require('tailwindcss/colors');
module.exports = {
mode: 'jit',
content: [
'./components/**/*.js',
'./pages/**/*.mdx',
'./theme.config.js',
'./styles.css',
],
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
animation: {
'gradient-x': 'gradient-x 10s ease infinite',
},
keyframes: {
'gradient-x': {
'0%, 100%': {
'background-size': '100% 100%',
'background-position': 'bottom',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'top',
},
},
},
fontFamily: {
sans: [`"Inter"`, 'sans-serif'],
mono: [
'Menlo',
'Monaco',
'Lucida Console',
'Liberation Mono',
'DejaVu Sans Mono',
'Bitstream Vera Sans Mono',
'Courier New',
'monospace',
],
},
colors: {
dark: '#000',
gray: colors.neutral,
blue: colors.blue,
orange: colors.orange,
green: colors.green,
red: colors.red,
yellow: colors.yellow,
color0: '#ffcfc3',
color1: '#ED9CA2',
color2: '#A96FDC',
night1: '#1f1738',
night2: '#6128a4',
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
betterhover: { raw: '(hover: hover)' },
},
},
},
darkMode: 'class',
};