-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
53 lines (52 loc) · 1.54 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
onlineblue: '#0d5474',
onlinebluedark: '#072f41',
onlineyellow: '#f9b759',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
fontFamily: {
playfair: ['Playfair Display SC', 'serif'],
roboto: ['Roboto', 'sans-serif'],
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
spashSlideUp: {
'0%': { transform: 'translateY(150px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
bounceArrow: {
'0%, 20%, 50%, 80%, 100%': {
transform: 'translateY(0) rotate(45deg)',
},
'40%': { transform: 'translateY(-10px) rotate(45deg)' },
'60%': { transform: 'translateY(-5px) rotate(45deg)' },
},
},
animation: {
fadeIn: 'fadeIn 2s ease-out forwards',
spashSlideUp: 'spashSlideUp 1.5s ease-out forwards',
bounceArrow: 'bounceArrow 1s infinite',
},
},
},
plugins: [],
};
export default config;