forked from rupali-codes/LinksHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
83 lines (82 loc) · 1.96 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
82
83
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./layouts/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
'theme-primary': '#a78bfa',
'theme-secondary': '#8b5cf6',
'light-primary': '#f5f3ff',
'dark': '#0f172a',
'dark-primary': '#101623',
'gray-text': '#9ca3af',
'text-primary': '#d1d5db',
'text-secondary': '#4b5563',
},
screens: {
xs: '200px',
},
keyframes: {
'button-press': {
'0%, 100%': {
transform: 'scale(1)',
},
'50%': {
transform: 'scale(0.9)',
},
},
'slide-in': {
from: {
opacity: 0,
transform: 'translateX(-100%)',
},
to: {
opacity: 1,
transform: 'translateX(0)',
},
},
'slide-out': {
from: {
opacity: 1,
transform: 'translateX(0)',
},
to: {
opacity: 0,
transform: 'translateX(-100%)',
},
},
'scale-appearance': {
from: {
scale: 0,
translate: '-50% -50%',
},
to: {
scale: 1,
},
},
'scale-hide': {
from: {
scale: 1,
},
to: {
scale: 0,
translate: '-50% -50%',
},
},
},
animation: {
'button-press': 'button-press 0.4s ease-in-out',
'slide-in': 'slide-in 0.3s ease-in forwards',
'slide-out': 'slide-out 0.3s ease-out forwards',
'scale-appearance': 'scale-appearance 0.3s ease-in forwards',
'scale-hide': 'scale-hide 0.3s ease-out forwards',
},
},
},
plugins: [require('daisyui')],
darkMode: ['class', '[data-theme="dark"]'],
}