-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
63 lines (60 loc) · 1.48 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
import fluid, { extract, screens, fontSize } from 'fluid-tailwind';
export default {
content: { files: ['./src/**/*.{html,js,svelte,ts}'], extract },
theme: {
extend: {
animation: {
'slide-up': 'slide-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards',
'slide-left': 'slide-left 0.6s ease-in-out forwards',
'slide-right': 'slide-right 0.6s ease-in-out forwards',
border: 'border 4s linear infinite'
},
keyframes: {
border: {
to: { '--border-angle': '360deg' }
},
'slide-up': {
'0%': {
transform: 'translateY(70px)',
opacity: '0'
},
'100%': {
transform: 'translateY(0)',
opacity: '1'
}
},
'slide-left': {
'0%': { transform: 'translateX(100%)' },
'100%': { transform: 'translateX(0)' }
},
'slide-right': {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(0)' }
}
},
fontFamily: {
poppin: ['"Poppins"', 'sans-serif'],
heebo: ['"Heebo"', 'sans-serif'],
quicksand: ['"Quicksand"', 'sans-serif'],
archivo: ['"Archivo"', 'sans-serif']
},
colors: {
'licorice-xl': '#3D3029',
'licorice-l': '#40322a',
floral: '#fdfaf5',
dogwood: '#CCB6A9',
champagne: '#f1eae1',
mortuum: '#632B29',
jasmine: '#F6DB65',
licorice: '#211A16',
accent: '#f6c615',
'accent-dark': '#d0a508',
'bg-normal': '#ebebeb'
}
},
screens,
fontSize
},
plugins: [fluid]
} as Config;