-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
54 lines (53 loc) · 1.49 KB
/
Copy pathtailwind.config.mjs
File metadata and controls
54 lines (53 loc) · 1.49 KB
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
54
import defaultTheme from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
// Your signature purple
purple: {
50: '#faf5ff',
100: '#f3e8ff',
200: '#e9d5ff',
300: '#d8b4fe',
400: '#c084fc',
500: '#a855f7',
600: '#9333ea',
700: '#7e22ce', // Your primary purple
800: '#6b21a8',
900: '#581c87',
},
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
serif: ['Merriweather', ...defaultTheme.fontFamily.serif],
mono: ['Menlo', ...defaultTheme.fontFamily.mono],
},
typography: (theme) => ({
DEFAULT: {
css: {
'--tw-prose-links': theme('colors.purple.700'),
'--tw-prose-headings': theme('colors.zinc.900'),
'--tw-prose-body': theme('colors.zinc.700'),
'max-width': '65ch',
a: {
color: theme('colors.purple.700'),
textDecoration: 'none',
'&:hover': {
color: theme('colors.purple.900'),
},
},
blockquote: {
borderLeftColor: theme('colors.purple.300'),
fontStyle: 'italic',
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
};