-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
46 lines (43 loc) · 1.02 KB
/
tailwind.config.ts
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
import { createPreset } from "@acdh-oeaw/tailwindcss-preset";
import type { Config } from "tailwindcss";
import colors from "tailwindcss/colors";
const preset = createPreset();
const config: Config = {
content: [
"./keystatic.config.tsx",
"./content/**/*.@(md|mdx)",
"./src/@(components|layouts|pages)/**/*.@(astro|css|ts|tsx)",
"./src/styles/**/*.css",
],
presets: [preset],
theme: {
extend: {
colors: {
brand: {
red: "var(--color-brand-red)",
orange: "var(--color-brand-orange)",
blue: "var(--color-brand-blue)",
},
negative: colors.red,
positive: colors.green,
},
screens: {
lg: "74rem",
},
typography: {
DEFAULT: {
css: {
maxWidth: "none",
/** Don't add quotes around `blockquote`. */
"blockquote p:first-of-type::before": null,
"blockquote p:last-of-type::after": null,
/** Don't add backticks around inline `code`. */
"code::before": null,
"code::after": null,
},
},
},
},
},
};
export default config;