-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
38 lines (38 loc) · 943 Bytes
/
tailwind.config.mjs
File metadata and controls
38 lines (38 loc) · 943 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
33
34
35
36
37
38
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
light: '#4ade80',
dark: '#22c55e',
},
secondary: {
light: '#60a5fa',
dark: '#3b82f6',
},
accent: {
light: '#f0fdf4',
dark: '#064e3b',
}
},
animation: {
'float': 'float 3s ease-in-out infinite',
'fade-in': 'fade-in 0.5s ease-out forwards',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
'fade-in': {
'from': { opacity: '0', transform: 'translateY(10px)' },
'to': { opacity: '1', transform: 'translateY(0)' },
},
},
},
},
plugins: [],
}