-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
101 lines (101 loc) · 2.81 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
container: {
center: true,
padding: "16px",
},
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
colors: {
primary: "#31B5D5",
secondary: "#64748b",
dark: "#010613",
white: "#ffffff",
accent: "#1a2332",
"accents-100": "#111",
"accents-200": "#333",
"accents-300": "#444",
"accents-400": "#666",
"accents-500": "#888",
"accents-600": "#999",
"accents-700": "#eaeaea",
"accents-800": "#fafafa",
"emphasis-200": "#ebedf0",
"emphasis-gray-600": "#8d949e",
"emphasis-gray-700": "#606770",
"emphasis-gray-800": "#444950",
},
screens: {
"2xl": "1320px",
},
typography: ({}) => ({
DEFAULT: {
css: {
pre: {
// "background-color": "#0f1419",
"font-family": "Fira Code, monospace",
},
p: {
"&::before": {
content: '"" !important',
},
"&::after": {
content: '"" !important',
},
},
code: {
"&::before": {
content: '"" !important',
},
"&::after": {
content: '"" !important',
},
},
li: {
"&::marker": {
color: "#31B5D5",
},
// color: "rgb(148 163 184)",
},
a: {
"text-decoration": "none !important",
"&:hover": {
"text-decoration": "underline !important",
color: "#1d4ed8",
},
},
// "blockquote strong": {
// color: "#010613",
// opacity: 0.7,
// },
// table: {
// "border-color": ""
// },
"--tw-prose-body": "#888",
"--tw-prose-headings": "#fff",
"--tw-prose-lead": "#ffffff",
"--tw-prose-links": "#3b82f6",
"--tw-prose-bold": "#ffffff",
"--tw-prose-counters": "#ffffff",
"--tw-prose-bullets": "#ffffff",
"--tw-prose-hr": "#ffffff",
"--tw-prose-captions": "#ffffff",
"--tw-prose-code": "rgb(226 232 240)",
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};