-
Notifications
You must be signed in to change notification settings - Fork 28
/
tailwind.config.js
60 lines (59 loc) · 1.56 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
/* eslint-disable */
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
darkMode: 'class',
content: [
'./src/pages/**/*.{js,jsx}',
'./src/components/**/*.{js,jsx}',
'./src/theme/**/*.{js,jsx}',
'./src/assets/**/*.{js,jsx}',
'./docs/**/**/*.{md,mdx}',
],
corePlugins: {
preflight: false,
},
plugins: [require('@tailwindcss/line-clamp')],
theme: {
extend: {
fontFamily: {
sans: ['"Inter"', defaultTheme.fontFamily.sans],
mono: ['"Inconsolata"', defaultTheme.fontFamily.mono],
},
screens: {
lg: '1193px',
max: '1440px',
},
/* // colors: {
// primary: {
// DEFAULT: 'var(--docs-color-primary)',
// 100: 'var(--docs-color-primary-100)',
// },
// text: {
// DEFAULT: 'var(--docs-color-text)',
// 100: 'var(--docs-color-text-100)',
// },
// border: 'var(--docs-color-border)',
// background: {
// DEFAULT: 'var(--docs-color-background)',
// 100: 'var(--docs-color-background-100)',
// 200: 'var(--docs-color-background-200)',
// 300: 'var(--docs-color-background-300)',
// },
// }, */
},
},
mode: 'jit',
theme: {
extend: {
animation: {
'infinite-scroll': 'infinite-scroll 40s linear infinite',
},
keyframes: {
'infinite-scroll': {
from: { transform: 'translate3d(0, 0, 0)' },
to: { transform: 'translate3d(-100%, 0, 0)' },
}
}
},
},
}