forked from getoslash/oslash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
33 lines (32 loc) · 766 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
33 lines (32 loc) · 766 Bytes
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
animation: {
shake: 'shake 1s cubic-bezier(.36,.07,.19,.97) both'
},
keyframes: {
shake: {
'10%, 90%': {
transform: 'rotate(18deg)'
},
'20%, 80%': {
transform: 'rotate(-18deg)'
},
'30%, 50%, 70%': {
transform: 'rotate(18deg)'
},
'40%, 60%': {
transform: 'rotate(-18deg)'
}
}
},
},
},
plugins: [],
}