-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
49 lines (48 loc) · 1.18 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
const { spacing, fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
// sans: ['Roboto', 'sans-serif'],
sans: ['Raleway Sans', ...fontFamily.sans],
// heading: ['Poppins', 'sans-serif'],
heading: ['Raleway Sans', ...fontFamily.sans],
},
colors: {
gray: {
0: '#fff',
100: '#fafafa',
200: '#eaeaea',
300: '#999999',
400: '#888888',
500: '#666666',
600: '#444444',
700: '#333333',
800: '#222222',
900: '#111111',
},
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
color: theme('colors.blue.500'),
'&:hover': {
color: theme('colors.blue.700'),
},
},
'h2,h3,h4': {
'scroll-margin-top': spacing[12],
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};