-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
132 lines (131 loc) · 3.31 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// @ts-check
const { fontFamily } = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
/** @type {import("tailwindcss/types").Config } */
module.exports = {
content: [
'./node_modules/pliny/**/*.js',
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,tsx}',
'./components/**/*.{js,ts,tsx}',
'./layouts/**/*.{js,ts,tsx}',
'./data/**/*.mdx',
],
darkMode: 'class',
theme: {
extend: {
lineHeight: {
11: '2.75rem',
12: '3rem',
13: '3.25rem',
14: '3.5rem',
},
fontFamily: {
sans: ['var(--font-barlow)', ...fontFamily.sans],
serif: ['var(--font-merriweather)', ...fontFamily.serif],
},
colors: {
// primary: {
// DEFAULT: '#E65B54',
// 50: '#FDF5F4',
// 100: '#FBE4E2',
// 200: '#F6C1BF',
// 300: '#F09F9B',
// 400: '#EB7D78',
// 500: '#E65B54',
// 600: '#DF2C23',
// 700: '#B0211A',
// 800: '#7F1813',
// 900: '#4E0F0B',
// 950: '#360A08',
// },
primary: {
DEFAULT: '#1470de',
50: '#EBF3FE',
100: '#D7E7FD',
200: '#AFCEFB',
300: '#87B6F9',
400: '#5F9DF7',
500: '#1470de',
600: '#1059B2',
700: '#0C4285',
800: '#082C59',
900: '#04162C',
950: '#020B16',
},
secondary: {
DEFAULT: '#FFD200',
50: '#FFF2B8',
100: '#FFEFA3',
200: '#FFE87A',
300: '#FFE052',
400: '#FFD929',
500: '#FFD200',
600: '#C7A400',
700: '#8F7600',
800: '#574700',
900: '#1F1900',
950: '#030200',
},
butter: {
DEFAULT: '#F3E4BD',
50: '#FFFFFF',
100: '#FFFFFF',
200: '#FFFFFF',
300: '#FFFFFF',
400: '#F9F2E0',
500: '#F3E4BD',
600: '#EAD18E',
700: '#E2BD5E',
800: '#D9AA2F',
900: '#B08820',
950: '#98751C',
},
gray: colors.gray,
},
zIndex: {
60: '60',
70: '70',
80: '80',
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
a: {
color: theme('colors.primary.500'),
'&:hover': {
color: `${theme('colors.primary.600')}`,
},
code: { color: theme('colors.primary.400') },
},
'h1,h2': {
fontWeight: '700',
letterSpacing: theme('letterSpacing.tight'),
},
h3: {
fontWeight: '600',
},
code: {
color: theme('colors.indigo.500'),
},
},
},
invert: {
css: {
a: {
color: theme('colors.primary.500'),
'&:hover': {
color: `${theme('colors.primary.400')}`,
},
code: { color: theme('colors.primary.400') },
},
'h1,h2,h3,h4,h5,h6': {
color: theme('colors.gray.100'),
},
},
},
}),
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
}