-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
49 lines (47 loc) · 1.08 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
37
38
39
40
41
42
43
44
45
46
47
48
49
// default styles: https://github.com/tailwindlabs/tailwindcss-typography/blob/master/src/styles.js
import typography from '@tailwindcss/typography'
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: 'white',
secondary: '#818cf8',
},
scale: {
11: '1.1',
},
typography: {
DEFAULT: {
css: {
maxWidth: '80ch',
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
h1: {
color: '#818cf8',
},
h2: {
color: '#818cf8',
},
h3: {
color: '#818cf8',
},
a: {
color: '#818cf8',
},
},
},
},
fontFamily: {
sans: ['Roboto', 'sans-serif'],
mono: ['Roboto Mono', 'monospace'],
},
},
},
plugins: [typography],
}