-
Notifications
You must be signed in to change notification settings - Fork 39
/
tailwind.config.js
52 lines (52 loc) · 1.34 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {
keyframes: {
'fade-in': {
'0%': { opacity: '0%' },
'100%': { opacity: '100%' },
},
'scale-up': {
'0%': { transform: 'scale(0.5)' },
'95%': { transform: 'scale(1.05)' },
'100%': { transform: 'scale(1)' },
},
'fade-out': {
'0%': { opacity: '100%' },
'100%': { opacity: '0%' },
},
'scale-down': {
'0%': { transform: 'scale(1)' },
'100%': { transform: 'scale(0.5)' },
},
},
animation: {
'fade-in': 'fade-in 0.15s ease-in-out',
'scale-up': 'scale-up 0.15s ease-in-out',
'fade-in-and-scale-up':
'fade-in 0.15s ease-in-out, scale-up 0.15s ease-in-out',
'fade-out': 'fade-out 0.15s ease-in-out',
'scale-down': 'scale-down 0.15s ease-in-out',
'fade-out-and-scale-down':
'fade-out 0.15s ease-in-out, scale-down 0.15s ease-in-out',
},
backdropBlur: {
xs: '2px',
},
colors: {
'surface-dark': 'var(--v-toolbar-base)',
surface: 'var(--v-background-base)',
primary: 'var(--v-primary-base)',
error: 'var(--v-error-base)',
warning: 'var(--v-warning-base)',
info: 'var(--v-info-base)',
text: 'var(--v-text-base)',
accent: 'var(--v-accent-base)',
},
},
},
plugins: [],
}