-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtailwind.config.js
More file actions
58 lines (58 loc) · 1.85 KB
/
Copy pathtailwind.config.js
File metadata and controls
58 lines (58 loc) · 1.85 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./app.vue",
"./error.vue",
],
theme: {
extend: {
fontFamily: {
sans: ['Lato', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif'],
serif: ['Lato', 'ui-serif', 'Georgia', 'Cambria', 'Times New Roman', 'Times', 'serif'],
editor: ['Lato', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif'],
mono: ['JetBrains Mono', 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
},
typography: (theme) => ({
DEFAULT: {
css: {
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
'blockquote p:first-of-type::before': {
content: '""',
},
'blockquote p:last-of-type::after': {
content: '""',
},
fontFamily: theme('fontFamily.sans').join(', '),
h1: {
fontFamily: theme('fontFamily.sans').join(', '),
},
h2: {
fontFamily: theme('fontFamily.sans').join(', '),
},
h3: {
fontFamily: theme('fontFamily.sans').join(', '),
},
h4: {
fontFamily: theme('fontFamily.sans').join(', '),
},
p: {
fontFamily: theme('fontFamily.sans').join(', '),
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
}