/
tailwind.config.js
39 lines (39 loc) · 950 Bytes
/
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
const defaultTheme = require("tailwindcss/defaultTheme")
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./templates/*.html"],
theme: {
fontFamily: {
sans: ['"Fira Code"', "Roboto"],
},
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
"--tw-prose-headings": "--ctp-text",
color: theme("colors.text"),
a: {
color: theme("colors.sky"),
textDecoration: "none",
"&:hover": {
color: theme("colors.blue"),
},
},
"*": {
color: theme("colors.text"),
},
code: {
color: theme("colors.rosewater"),
},
},
},
}),
},
},
plugins: [
require("@tailwindcss/typography"),
require("@catppuccin/tailwindcss")({
defaultFlavour: "frappe",
}),
],
}