-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (54 loc) · 1.44 KB
/
tailwind.config.js
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
/* eslint-disable global-require */
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.tsx'],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-sans)', 'sans-serif'],
mono: ['var(--font-mono)', 'monospace'],
},
backgroundImage: {
'app-cover': "url('/svg/cover.svg')",
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.base-text'),
'--tw-prose-invert-pre-bg': theme('colors.base-post'),
'--tw-prose-invert-headings': theme('colors.base-title'),
a: {
color: theme('colors.blue'),
},
blockquote: {
p: {
'&:before': { content: '""' },
},
'font-style': 'normal',
},
pre: false,
},
},
}),
},
fontWeight: {
normal: 400,
bold: 700,
},
colors: {
blue: '#3294F8',
'base-title': '#E7EDF4',
'base-subtitle': '#C4D4E3',
'base-text': '#AFC2D4',
'base-span': '#7B96B2',
'base-label': '#3A536B',
'base-border': '#1C2F41',
'base-post': '#112131',
'base-profile': '#0B1B2B',
'base-background': '#071422',
'base-input': '#040F1A',
transparent: 'transparent',
},
},
plugins: [require('@tailwindcss/line-clamp'), require('@tailwindcss/typography')],
};