-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
56 lines (56 loc) · 1.6 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
rubik: 'Rubik, sans-serif',
},
colors: {
black: '#191624',
sidebar: '#F2F1F5',
body: '#F9F9F9',
paragraph: '#64748b',
dark: '#1e293b',
primary: '#0284c7',
},
animation: {
slideup: 'slideup 1s ease-in-out',
slidedown: 'slidedown 1s ease-in-out',
slideleft: 'slideleft 1s ease-in-out',
slideright: 'slideright 1s ease-in-out',
wave: 'wave 1.2s linear infinite',
slowfade: 'slowfade 2.2s ease-in-out',
'spin-slow': 'spin 3s linear infinite',
},
keyframes: {
slowfade: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideup: {
from: { opacity: 0, transform: 'translateY(25%)' },
to: { opacity: 1, transform: 'none' },
},
slidedown: {
from: { opacity: 0, transform: 'translateY(-25%)' },
to: { opacity: 1, transform: 'none' },
},
slideleft: {
from: { opacity: 0, transform: 'translateX(-20px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
slideright: {
from: { opacity: 0, transform: 'translateX(20px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
wave: {
'0%': { transform: 'scale(0)' },
'50%': { transform: 'scale(1)' },
'100%': { transform: 'scale(0)' },
},
},
},
},
plugins: [],
};