-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtailwind.config.js
More file actions
99 lines (99 loc) · 2.39 KB
/
tailwind.config.js
File metadata and controls
99 lines (99 loc) · 2.39 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./_includes/**/*.html',
'./_layouts/**/*.html',
'./_posts/*.md',
'./_pages/*.md',
'./docs/**/*.md',
'./index.md',
'./*.html'
],
theme: {
extend: {
fontFamily: {
'sans': ['Inter', 'ui-sans-serif', 'system-ui'],
'mono': ['JetBrains Mono', 'ui-monospace', 'SFMono-Regular']
},
colors: {
'avalonia': {
50: '#f0f7ff',
100: '#e0efff',
200: '#b9dfff',
300: '#7cc5ff',
400: '#36a9ff',
500: '#0c8ce8',
600: '#006bd6',
700: '#0055ad',
800: '#00478f',
900: '#063b75',
950: '#04254d',
},
'primary': {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
950: '#172554',
}
},
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
color: '#374151',
'[class~="lead"]': {
color: '#4b5563',
},
a: {
color: '#2563eb',
textDecoration: 'none',
fontWeight: '500',
'&:hover': {
color: '#1d4ed8',
textDecoration: 'underline',
},
},
'h1, h2, h3, h4': {
color: '#111827',
fontWeight: '600',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
code: {
color: '#dc2626',
backgroundColor: '#f3f4f6',
borderRadius: '0.25rem',
padding: '0.125rem 0.25rem',
fontWeight: '400',
},
pre: {
backgroundColor: '#1f2937',
color: '#f9fafb',
},
'pre code': {
backgroundColor: 'transparent',
color: 'inherit',
padding: '0',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
}