-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.cjs
69 lines (67 loc) · 2.04 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,ts,jsx,tsx}'],
plugins: [
require('tailwind-scrollbar')({ nocompatible: true }),
require('@tailwindcss/typography'),
require('daisyui')
],
theme: {
extend: {
future: {
hoverOnlyWhenSupported: true
},
screens: {
xs: '480px'
},
fontFamily: {
sans: ['"Poppins"', 'sans-serif']
},
keyframes: {
wave: {
'0%': { transform: 'rotate(0.0deg)' },
'10%': { transform: 'rotate(14deg)' },
'20%': { transform: 'rotate(-8deg)' },
'30%': { transform: 'rotate(14deg)' },
'40%': { transform: 'rotate(-4deg)' },
'50%': { transform: 'rotate(10.0deg)' },
'60%': { transform: 'rotate(0.0deg)' },
'100%': { transform: 'rotate(0.0deg)' }
},
fade: {
'0%': { opacity: 0, transform: 'translateY(8px)' },
'100%': { opacity: 1, transform: 'translateY(0px)' }
},
scale: {
'0%': { scale: 0 },
'70%': { scale: 0 },
'100%': { scale: 1 }
},
boxshadow: {
'0%, 100%': { 'box-shadow': '#463aa1 0px -1rem 0px inset' },
'50%': { 'box-shadow': '#463aa1 0px -2.25rem 0px inset' }
},
winterboxshadow: {
'0%, 100%': { 'box-shadow': '#c7d2fe 0px -1rem 0px inset' },
'50%': { 'box-shadow': '#c7d2fe 0px -2.25rem 0px inset' }
}
},
transitionTimingFunction: {
ease: 'cubic-bezier(0.61, 1, 0.88, 1)'
},
animation: {
'waving-hand': 'scale 2.75s ease-in-out, wave 2.5s linear infinite 2s',
'content-fade': 'fade 0.4s ease',
'box-shadow': 'boxshadow 2s ease-in-out 2s',
'winter-box-shadow': 'winterboxshadow 2s ease-in-out 2s'
},
backgroundImage: {
laptop: "url('/assets/laptop-animate.svg')"
}
}
},
daisyui: {
themes: ['night', 'winter']
},
darkMode: ['class', '[data-theme="winter"]']
};