-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
38 lines (37 loc) · 985 Bytes
/
tailwind.config.mjs
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
let plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
colors: {
black: "#000000",
red: "#E64A29",
green: "#5AC55A",
yellow: "#FFCE29",
blue: "#5AADFF",
magenta: "#C583CD",
cyan: "#63C5C5",
white: "#fdfdfd",
grey: "#C5C5C5"
},
extend: {
typography: ({ theme }) => ({
grey: {
css: {
"--tw-prose-body": theme("colors.white"),
"--tw-prose-headings": theme("colors.white"),
"--tw-prose-links": theme("colors.white"),
"--tw-prose-pre-code": theme("colors.white"),
"--tw-prose-pre-bg": theme("colors.black")
}
}
})
}
},
plugins: [
plugin(function ({ addVariant }) {
addVariant("!first", "&:not(:first-child)");
}),
require("@tailwindcss/typography")
]
};