-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
103 lines (102 loc) · 2.39 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
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./components/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./pages/*.{ts,tsx}',
'./pages/**/*.{ts,tsx}',
'./posts/*.mdx',
],
mode: 'jit',
darkMode: 'class',
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
colors: {
grey: {
DEFAULT: '#161616',
50: '#383838',
100: '#353535',
200: '#2D2D2D',
300: '#252525',
400: '#1E1E1E',
500: '#161616',
600: '#111111',
700: '#0C0C0C',
800: '#070707',
900: '#020202',
},
mercury: {
DEFAULT: '#E8E8E8',
50: '#FFFFFF',
100: '#FCFCFC',
200: '#F7F7F7',
300: '#F2F2F2',
400: '#EDEDED',
500: '#E8E8E8',
600: '#DEDEDE',
700: '#D4D4D4',
800: '#C9C9C9',
900: '#BFBFBF',
},
white: '#fff',
black: '#000',
},
maxWidth: {
md: '1200px',
lg: '1400px',
...defaultTheme.maxWidth,
},
fontSize: {
xs: '.75rem',
sm: '.875rem',
tiny: '.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
},
fontFamily: {
mono: ['"Fira Code"', ...defaultTheme.fontFamily.mono],
sans: ['"Roboto"', ...defaultTheme.fontFamily.sans],
serif: ['"Playfair Display"', ...defaultTheme.fontFamily.serif],
},
typography: {
DEFAULT: {
css: {
'code::before': {
content: `normal`,
},
'code::after': {
content: `normal`,
},
blockquote: {
fontWeight: `400`,
},
'blockquote p::before': {
content: `normal`,
},
'blockquote p::after': {
content: `normal`,
},
li: {
margin: `2px 0`,
},
},
},
},
},
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/typography')],
}