-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
38 lines (38 loc) · 1.01 KB
/
tailwind.config.js
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} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
extend: {
backgroundImage: {
hero_pattern: "url('../assets/wave.svg')",
poly: "url('../assets/poly.svg')",
},
fontFamily: {
roboto: ['var(--font-roboto)'],
title: ['var(--font-spartan)'],
},
animation: {
['infinite-slider-100']: 'infiniteSlider 200s linear infinite',
['bounce']: 'bounceAnimation 10s infinite',
},
keyframes: {
infiniteSlider: {
'0%': { transform: 'translateX(0)' },
'100%': {
transform: 'translateX(-100%)',
},
},
bounceAnimation: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(15%)' },
},
},
},
},
plugins: [require('@tailwindcss/typography')],
};