-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
56 lines (56 loc) · 1.57 KB
/
tailwind.config.mjs
File metadata and controls
56 lines (56 loc) · 1.57 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
55
56
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
'deep': '#1a1147',
'coral': '#e85d50',
'purple-accent': '#7c5cbf',
'teal': '#2cb67d',
'amber': '#f4a261',
'surface': '#faf7f2',
'surface-card': '#ffffff',
'text-primary': '#2d2a3e',
'text-secondary': '#6b6880',
'lavender': '#ede8f5',
'peach': '#fde8e4',
'mint': '#e0f5ec',
},
borderRadius: {
'2xl': '1rem',
'3xl': '1.5rem',
'4xl': '2rem',
},
fontFamily: {
sans: ['Inter Variable', 'Inter', 'system-ui', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
'--tw-prose-body': theme('colors.text-primary'),
'--tw-prose-headings': theme('colors.deep'),
'--tw-prose-links': theme('colors.coral'),
'--tw-prose-code': theme('colors.deep'),
'code': {
fontFamily: theme('fontFamily.mono').join(', '),
fontSize: '0.875em',
},
'a': {
textDecoration: 'underline',
textDecorationColor: theme('colors.coral'),
textUnderlineOffset: '3px',
'&:hover': {
color: theme('colors.coral'),
},
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
};