-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
81 lines (79 loc) · 1.91 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'selector',
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./app.vue',
'./error.vue',
],
theme: {
fontFamily: {
sans: [
'ui-sans-serif',
'system-ui',
'sans-serif',
'Apple Color Emoji',
'Twemoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
serif: [
'ui-serif',
'Georgia',
'Cambria',
'Times New Roman',
'Twemoji',
'Times',
'serif',
],
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'Liberation Mono',
'Courier New',
'monospace',
],
},
extend: {
keyframes: {
circle: {
'0%': { transform: 'scale(1)' },
'100%': { transform: 'scale(3.5)', opacity: '0' },
},
rotate: {
'50%': { transform: 'rotate(180deg)' },
'100%': { transform: 'rotate(360deg)' },
},
},
animation: {
circle: 'circle 3s infinite ease-in-out',
rotate: 'rotate 6s linear -2s infinite',
rotate1: 'rotate 5s linear infinite',
},
transitionDuration: {
2000: '2000ms',
6000: '6000ms',
},
},
dropShadow: {
custom: 'rgba(0, 0, 0, 0.1) 0px 0px 2.55px',
'custom-1': 'rgba(0, 0, 0, 0.3) 0px 0px 2.55px',
},
},
plugins: [
plugin(function ({ addVariant }) {
addVariant('scrollbar', '&::-webkit-scrollbar');
addVariant('scrollbar-track', '&::-webkit-scrollbar-track');
addVariant('scrollbar-thumb', '&::-webkit-scrollbar-thumb');
addVariant('scrollbar-corner', '&::-webkit-scrollbar-corner');
}),
],
};