generated from hasparus/zaduma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
80 lines (77 loc) · 1.82 KB
/
tailwind.config.cjs
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
// @ts-check
const tailwindColors = require("tailwindcss/colors");
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
experimental: {
optimizeUniversalDefaults: true,
},
content: ["./src/**/*.{astro,ts,tsx,css}"],
theme: {
fontFamily: {
sans: [
"Inter",
"ui-sans-serif",
"system-ui",
"-apple-system",
"BlinkMacSystemFont",
'"Segoe UI"',
"Roboto",
'"Helvetica Neue"',
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
serif: [
'"Brygada 1918"',
"ui-serif",
"Georgia",
"Cambria",
'"Times New Roman"',
"serif",
],
mono: [
"Fira Code",
"ui-monospace",
"SFMono-Regular",
"Menlo",
"Monaco",
"Consolas",
'"Liberation Mono"',
"monospace",
],
},
colors: {
inherit: tailwindColors.inherit,
current: tailwindColors.current,
transparent: tailwindColors.transparent,
black: tailwindColors.black,
white: tailwindColors.white,
gray: tailwindColors.neutral,
},
extend: {
maxWidth: {
container: "43rem",
},
animation: {
"scale-up": "scale-up 150ms ease-in",
},
keyframes: {
"scale-up": {
"0%": { transform: "scale(0.9)", opacity: 0 },
"70%": { transform: "scale(1.02)", opacity: 0.7 },
"100%": { transform: "scale(1)", opacity: 1 },
},
},
},
},
plugins: [
plugin(({ addVariant }) => {
addVariant("selected", '&[aria-selected="true"]');
addVariant("current", '&[aria-current="true"]');
}),
],
};