-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
43 lines (42 loc) · 1.27 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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
colors: {
primary: '#FDDCBD',
secondary: '#D1BAA2',
lowContrast: '#FDDCBD88',
background: '#261911',
transparent: '#00000000',
},
extend: {
fontFamily: {
sans: ['var(--font-geist-sans)'],
serif: ['var(--font-playfair-display)'],
},
keyframes: {
grain: {
'0%, 100%': { transform: 'translate(0, 0)' },
'10%': { transform: 'translate(-5%, -10%)' },
'20%': { transform: 'translate(-15%, 5%)' },
'30%': { transform: 'translate(7%, -25%)' },
'40%': { transform: 'translate(-5%, 25%)' },
'50%': { transform: 'translate(-15%, 10%)' },
'60%': { transform: 'translate(15%, 0%)' },
'70%': { transform: 'translate(0%, 15%)' },
'80%': { transform: 'translate(3%, 35%)' },
'90%': { transform: 'translate(-10%, 10%)' },
},
},
animation: {
grain: 'grain 8s steps(10) infinite',
},
},
},
plugins: [require('@tailwindcss/typography')],
};
export default config;