-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
36 lines (36 loc) · 1.02 KB
/
tailwind.config.mjs
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
import defaultTheme from 'tailwindcss/defaultTheme'
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ['class'],
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
prefix: '',
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
colors: {
myTheme: {
text: '#120803',
background: '#fffaeb',
primary: '#803054',
secondary: '#ffcbab',
accent: '#ff8400',
},
},
fontFamily: {
body: ['Space Grotesk', ...defaultTheme.fontFamily.sans],
heading: ['Young Serif', ...defaultTheme.fontFamily.serif],
},
},
fontWeight: {
normal: '400',
bold: '700',
},
},
plugins: [require('tailwindcss-motion')],
}