-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
38 lines (38 loc) · 1000 Bytes
/
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: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
primaryLight: '#FCF2F2',
primaryDark: '#262A2C',
primaryGreen: '#077467',
secondaryGreen: '#BADEC2',
bitterRed: '#FF5A5F',
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
btn: {
background: 'hsl(var(--btn-background))',
'background-hover': 'hsl(var(--btn-background-hover))',
},
},
fontFamily: {
playfair: ['Playfair Display', 'serif'],
source: ['Source Sans 3', 'sans-serif'],
},
transitionDuration: {
2000: '2000ms',
},
},
},
plugins: [
// eslint-disable-next-line func-names
function ({ addVariant }) {
addVariant('child', '& > *');
addVariant('child-hover', '& > *:hover');
},
],
};