-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
46 lines (45 loc) · 1.32 KB
/
tailwind.config.mjs
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
import defaultTheme from 'tailwindcss/defaultTheme'
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ['class'],
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
prefix: '',
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
animation: {
float: 'float 3s ease-in-out infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(10px) ' },
'50%': { transform: 'translateY(0px)' },
},
},
colors: {
myTheme: {
text: '#120803',
background: '#fffaeb',
primary: '#803054',
secondary: '#ffcbab',
accent: '#ff8400',
},
},
fontFamily: {
body: ['Space Grotesk', ...defaultTheme.fontFamily.sans],
heading: ['Young Serif', ...defaultTheme.fontFamily.serif],
},
},
fontWeight: {
normal: '400',
bold: '700',
},
},
plugins: [require('tailwindcss-animate')],
}