-
Notifications
You must be signed in to change notification settings - Fork 19
/
tailwind.config.cjs
55 lines (55 loc) · 1.46 KB
/
tailwind.config.cjs
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
module.exports = {
mode: 'jit',
content: [
'./public/**/*.html',
'./src/**/*.{astro,js,jsx,svelte,ts,tsx,vue}',
],
darkMode: 'class',
theme: {
extend: {
colors: {
darkPrimary: '#0d0f12',
darkSecondary: '#1E3A8A',
darkThird: '#1F2937',
},
fontFamily: {
mono: ['IBM Plex Mono', 'monospace'],
body: ['Syne', 'sans-serif'],
},
maxWidth: {
para: '40ch',
half: '50%',
},
screens: {
burger: '800px',
},
backgroundImage: {
'texture-gradient-dark': 'url(/assets/texture/texture-iohaoQrlPrY.jpg)',
'texture-gradient-light':
'url(/assets/texture/texture-EoAUMbv_KAw.jpg)',
maxie: 'url(/assets/art/art--maxie--baby.png)',
},
animation: {
'floating-one': 'fl1 2s linear infinite alternate',
'floating-two': 'fl2 2s linear infinite alternate',
},
keyframes: {
fl1: {
'0%': { borderRadius: '50% 50% 50% 70%/50% 50% 70% 60%' },
'33%': { borderRadius: '80% 30% 50% 50%/50%' },
'100%': { borderRadius: '40% 40% 50% 40%/30% 50% 40% 80%' },
},
fl2: {
'0%': { borderRadius: '40% 40% 50% 40%/30% 50% 40% 80%' },
'33%': { borderRadius: '80% 30% 50% 50%/50%' },
'100%': { borderRadius: '50% 50% 50% 70%/50% 50% 70% 60%' },
},
},
},
},
variants: {
extend: {
boxShadow: ['dark'],
},
},
}