-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
113 lines (113 loc) · 2.67 KB
/
tailwind.config.js
File metadata and controls
113 lines (113 loc) · 2.67 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
module.exports = {
content: [
'./app/helpers/**/*.rb',
'./app/javascript/**/*.js',
'./app/views/**/*.{erb,haml,html,slim}',
'./app/components/**/*.{rb,erb}'
],
darkMode: 'class',
theme: {
extend: {
colors: {
purple: {
50: '#faf5ff',
100: '#f3e8ff',
200: '#e9d5ff',
300: '#d8b4fe',
400: '#c084fc',
500: '#a855f7',
600: '#9333ea',
700: '#7c3aed',
800: '#6b21a8',
900: '#581c87',
950: '#3b0764',
},
paper: {
light: '#fefdfb',
DEFAULT: '#faf8f3',
dark: '#f5f3ed',
},
pastel: {
orange: '#ffcc99',
yellow: '#fff3b2',
cyan: '#b3e5fc',
}
},
fontFamily: {
'serif': ['Crimson Text', 'Georgia', 'serif'],
'sans': ['Source Sans 3', 'system-ui', 'sans-serif'],
'display': ['Playfair Display', 'Georgia', 'serif'],
},
typography: {
DEFAULT: {
css: {
color: '#1a1a1a',
maxWidth: '65ch',
a: {
color: '#7c3aed',
'&:hover': {
color: '#6b21a8',
},
},
'[class~="lead"]': {
color: '#4a4a4a',
},
blockquote: {
borderLeftColor: '#d8b4fe',
color: '#4a4a4a',
},
h1: {
fontFamily: 'Playfair Display, Georgia, serif',
fontWeight: '700',
},
h2: {
fontFamily: 'Playfair Display, Georgia, serif',
fontWeight: '600',
},
h3: {
fontFamily: 'Playfair Display, Georgia, serif',
fontWeight: '600',
},
},
},
dark: {
css: {
color: '#e5e7eb',
a: {
color: '#c084fc',
'&:hover': {
color: '#d8b4fe',
},
},
'[class~="lead"]': {
color: '#d1d5db',
},
blockquote: {
borderLeftColor: '#7c3aed',
color: '#d1d5db',
},
h1: {
color: '#f3f4f6',
},
h2: {
color: '#f3f4f6',
},
h3: {
color: '#f3f4f6',
},
strong: {
color: '#f3f4f6',
},
code: {
color: '#f3f4f6',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
}