This repository has been archived by the owner on May 6, 2024. It is now read-only.
generated from timlrx/tailwind-nextjs-starter-blog
/
tailwind.config.js
72 lines (71 loc) · 1.6 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
// @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: {
serif: ['B612', ...fontFamily.serif],
sans: ['B612', ...fontFamily.sans],
},
colors: {
primary: colors.cyan,
gray: colors.gray,
},
typography: () => ({
DEFAULT: {
css: {
a: {
color: '#a6e3a1',
'&:hover': {
color: '#94e2d5',
},
},
'h1,h3,h4,h5,h6': {
color: '#89dceb',
},
h2: {
color: '#f9e2af',
},
code: {
color: '#fab387',
},
body: {
color: '#cdd6f4',
},
blockquote: {
color: '#f5e0dc',
},
th: {
color: '#cdd6f4',
},
strong: {
color: '##74c7ec',
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@catppuccin/tailwindcss'),
],
}