-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
59 lines (58 loc) · 1.82 KB
/
Copy pathtailwind.config.mjs
File metadata and controls
59 lines (58 loc) · 1.82 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
57
58
59
import typography from '@tailwindcss/typography';
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: {
accent: '#4611a7',
'accent-dark': '#320c7d',
'accent-light': '#6a38cf',
ink: 'rgb(var(--black))',
muted: 'rgb(var(--gray))',
'muted-light': 'rgb(var(--gray-light))',
},
fontFamily: {
sans: ['"Atkinson"', ...defaultTheme.fontFamily.sans],
},
boxShadow: {
glow: '0 2px 6px rgba(96, 115, 159, 0.25), 0 8px 24px rgba(96, 115, 159, 0.33), 0 16px 32px rgba(96, 115, 159, 0.33)',
},
typography: {
DEFAULT: {
css: {
'--tw-prose-body': 'rgb(var(--gray-dark))',
'--tw-prose-headings': 'rgb(var(--black))',
'--tw-prose-links': 'var(--accent)',
'--tw-prose-bold': 'rgb(var(--black))',
'--tw-prose-quotes': 'rgb(var(--black))',
'--tw-prose-code': 'rgb(var(--black))',
'--tw-prose-bullets': 'rgba(var(--gray), 0.4)',
a: {
textDecoration: 'none',
fontWeight: '600',
'&:hover': {
color: 'var(--accent-dark)',
},
},
code: {
borderRadius: '0.4rem',
padding: '0.25rem 0.5rem',
backgroundColor: 'rgba(var(--gray-light), 0.35)',
},
'pre code': {
backgroundColor: 'transparent',
padding: '0',
},
blockquote: {
borderLeftColor: 'var(--accent)',
fontStyle: 'normal',
},
},
},
},
},
},
plugins: [typography],
};