-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
106 lines (106 loc) · 2.8 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class', 'class'],
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
wink: {
50: '#e3ecff',
100: '#c8d9ff',
200: '#a6c1ff',
300: '#83a9ff',
400: '#5f8fff',
500: '#3a70ff',
600: '#2f5ce6',
700: '#2649b3',
800: '#1d3680',
900: '#14234d',
},
sidebar: {
DEFAULT: 'hsl(0, 0%, 98%)',
foreground: 'hsl(240, 5.3%, 26.1%)',
primary: 'hsl(240, 5.9%, 10%)',
'primary-foreground': 'hsl(0, 0%, 98%)',
accent: 'hsl(240, 4.8%, 95.9%)',
'accent-foreground': 'hsl(240, 5.9%, 10%)',
border: 'hsl(220, 13%, 91%)',
ring: 'hsl(217.2, 91.2%, 59.8%)',
},
},
borderRadius: {
lg: '0.5rem',
md: 'calc(0.5rem - 2px)',
sm: 'calc(0.5rem - 4px)',
},
keyframes: {
rotate: {
'0%': {
transform: 'translate(-50%, 0) rotateZ(0deg)',
},
'50%': {
transform: 'translate(-50%, -2%) rotateZ(180deg)',
},
'100%': {
transform: 'translate(-50%, 0%) rotateZ(360deg)',
},
},
moveDiagonally: {
'0%, 100%': {
transform: 'translateX(0) translateY(0)',
},
'50%': {
transform: 'translateX(20px) translateY(-20px)',
},
},
updown: {
from: {
transform: 'translatey(0px)',
},
to: {
transform: 'translatey(-20px)',
},
},
'updown-shadow': {
from: {
width: '184px',
'-webkit-filter': 'blur(6px)',
},
to: {
width: '240px',
'-webkit-filter': 'blur(10px)',
},
},
'accordion-down': {
from: {
height: '0',
},
to: {
height: 'var(--radix-accordion-content-height)',
},
},
'accordion-up': {
from: {
height: 'var(--radix-accordion-content-height)',
},
to: {
height: '0',
},
},
},
animation: {
rotate: 'rotate 15s linear infinite',
rocket: 'moveDiagonally 3s ease-in-out infinite',
updown: 'updown 1.4s infinite ease-in-out alternate',
'updown-shadow': 'updown-shadow 1.4s infinite ease-in-out alternate',
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
fontFamily: {
sans: ['pretendard', 'sans-serif'],
roboto: ['Roboto'],
},
},
},
plugins: [require('tailwindcss-animate')],
};