generated from acdh-oeaw/template-app-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
89 lines (84 loc) · 2.44 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import { createPreset } from "@acdh-oeaw/tailwindcss-preset";
import headlessUiPlugin from "@headlessui/tailwindcss";
import typographyPlugin from "@tailwindcss/typography";
import scrollBarPlugin from "tailwind-scrollbar";
import type { Config } from "tailwindcss";
import colors from "tailwindcss/colors";
const preset = createPreset();
const config = {
content: ["./app/**/*.@(css|ts|vue)", "./content/**/*.md"],
plugins: [headlessUiPlugin, scrollBarPlugin, typographyPlugin],
presets: [preset],
theme: {
extend: {
boxShadow: {
header: "48px 0 0 0 white, -48px 0 0 0 white, 0 8px 40px -6px rgba(70, 70, 70, 0.4)",
"header-dark": "48px 0 0 0 black, -48px 0 0 0 black, 0 8px 40px -6px rgba(0, 0, 0, 0.4)",
"header-sm": "22px 0 0 0 white, -22px 0 0 0 white, 0 4px 18px -6px rgba(70, 70, 70, 0.4)",
"header-dark-sm": "22px 0 0 0 black, -22px 0 0 0 black, 0 4px 18px -6px rgba(0, 0, 0, 0.4)",
book: "0 0 5px -1px black, inset -1px 1px 2px rgba(255, 255, 255, 0.5)",
},
backgroundImage: {
"book-cover":
"linear-gradient(to right, rgba(0, 0, 0, 0.3) 3px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.25) 7px, rgba(255, 255, 255, 0.25) 10px, transparent 12px, transparent 16px, rgba(255, 255, 255, 0.25) 17px, transparent 22px);",
},
colors: {
primary: {
50: "#f4f7fb",
100: "#e8eff6",
200: "#cbdeec",
300: "#9dc2dc",
400: "#69a1c7",
500: "#4686b1",
600: "#346b95",
700: "#2e5b80",
800: "#274965",
900: "#253e55",
950: "#192938",
},
secondary: {
50: "#fef9ec",
100: "#fcecc9",
200: "#f9d78e",
300: "#f5bc54",
400: "#f3a733",
500: "#ec8314",
600: "#d15f0e",
700: "#ad4210",
800: "#8d3313",
900: "#742b13",
950: "#421406",
},
neutral: colors.neutral,
zinc: colors.zinc,
function: colors.sky,
person: colors.emerald,
event: colors.rose,
institution: colors.indigo,
place: colors.purple,
salary: colors.amber,
book: {
"50": "#fbf6ea",
"100": "#f7eed8",
"200": "#f0dddb",
"300": "#e4bfbd",
"400": "#d49a98",
"500": "#be6a6a",
"600": "#aa5458",
"700": "#8e4248",
"800": "#783940",
"900": "#67343b",
"950": "#38191d",
},
},
fontFamily: {
mono: "var(--font-mono, ui-monospace), monospace",
},
maxWidth: {
container: "80rem",
content: "64rem",
},
},
},
} satisfies Config;
export default config;