-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
58 lines (54 loc) · 1.38 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
import utopia from "tailwind-utopia";
import type { Config } from "tailwindcss";
import animatePlugin from "tailwindcss-animate";
import { shadcnPlugin } from "./lib/shadcn-plugin";
const config = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
fontFamily: {
sans: ['"PT Sans"', "sans-serif"],
marker: ['"Marker Felt"', '"Comic Sans MS"', "sans-serif"],
},
extend: {
utopia: () => ({
// utopia: (theme) => ({
// minScreen: theme("screens.xs"),
minSize: 16,
minScale: 1.25,
// maxScreen: theme("screens.3xl"),
maxScreen: "1280px",
maxSize: 19,
maxScale: 1.37,
// textSizes: ["xs", "sm", "base", "lg", "xl", "2xl", "3xl"],
}),
colors: {
accent: {
red: {
DEFAULT: "hsl(var(--accent-red))",
foreground: "hsl(var(--accent-blue-foreground))",
},
blue: {
DEFAULT: "hsl(var(--accent-blue))",
foreground: "hsl(var(--accent-blue-foreground))",
},
},
},
screens: {
sm: "475px",
},
},
},
plugins: [
shadcnPlugin,
animatePlugin,
utopia({
useClamp: false,
// prefix: "",
// baseTextSize: "base",
}),
],
// corePlugins: {
// preflight: false,
// },
} satisfies Config;
export default config;