generated from acdh-oeaw/template-app-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
47 lines (44 loc) · 969 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
45
46
47
import typographyPlugin from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
import colors from "tailwindcss/colors.js";
import animatePlugin from "tailwindcss-animate";
const neutral = colors.slate;
const negative = colors.red;
const primary = colors.slate;
const config: Config = {
content: [
"./src/components/**/*.@(css|ts|vue)",
"./src/content/**/*.md",
"./src/layouts/**/*.@(css|ts|vue)",
"./src/pages/**/*.@(css|ts|vue)",
],
darkMode: ["class", '[data-color-scheme="dark"]'],
plugins: [animatePlugin, typographyPlugin],
theme: {
extend: {
colors: {
neutral,
negative,
primary,
},
container: {
center: true,
padding: "1rem",
screens: {
"2xl": "1536px",
},
},
fontFamily: {
body: ["Inter Variable", "ui-sans-serif", "system-ui", "sans-serif"],
},
typography: {
DEFAULT: {
css: {
maxWidth: null,
},
},
},
},
},
};
export default config;