-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.cjs
37 lines (36 loc) · 1.01 KB
/
tailwind.config.cjs
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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
colors: {
highlight: "#3F48CC",
},
maxWidth: {
"8xl": "88rem",
},
typography: () => ({
DEFAULT: {
css: {
"code::before": {
content: "",
},
"code::after": {
content: "",
},
},
},
}),
},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
],
};