-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
64 lines (62 loc) · 1.43 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
mode: 'jit',
plugins: [
require('tailwind-scrollbar')({ nocompatible: true, preferredStrategy: 'pseudoelements' }),
],
darkMode: 'selector',
theme: {
extend: {
rotate: {
135: '135deg',
},
zIndex: {
1000: '1000',
},
keyframes: {
move: {
'0%, 25%': {
transform: 'translateX(0%)',
left: '0%',
},
'75%, 100%': {
transform: 'translateX(-100%)',
left: '100%',
},
},
scroll: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-100%)' },
},
},
animation: {
'animated-text': '3s linear 0s infinite alternate move',
'scroll-text': 'scroll 10s linear infinite',
'custom-ping': 'ping 2s cubic-bezier(0, 0, 0.2, 1) infinite',
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {
scrollbar: ['rounded'],
extend: {},
},
corePlugins: {
preflight: false,
},
prefix: 'pi-',
safelist: [
'pi-border-4',
'pi-rounded-2xl',
'pi-p-4',
'pi-flex',
'pi-gap-5',
'pi-items-center',
'pi-border-red-600',
'pi-border-orange-600',
'pi-border-green-600',
],
}