generated from acdh-oeaw/template-website-astro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
44 lines (40 loc) · 956 Bytes
/
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
import { createPreset } from "@acdh-oeaw/tailwindcss-preset";
import type { Config } from "tailwindcss";
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: {
DEFAULT: "hsl(87.6 100% 78.2% / <alpha-value>)",
intent: "hsl(88.3 71.4% 58.8% / <alpha-value>)",
},
},
screens: {
xs: "30rem",
lg: "70rem",
},
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;