-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
36 lines (35 loc) · 971 Bytes
/
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
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
fontFamily: {
sans: ["Inter Variable", ...defaultTheme.fontFamily.sans],
fira: ["Fira Mono", ...defaultTheme.fontFamily.sans],
},
extend: {
spacing: {
"0.25pt": "0.25%",
"0.5pt": "0.5%",
"0.75pt": "0.75%",
"1pt": "1%",
"2pt": "2%",
"3pt": "3%",
"4pt": "4%",
"5pt": "5%",
"6pt": "6%",
"7pt": "7%",
},
animation: {
slideUpAndFade: "slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
},
keyframes: {
slideUpAndFade: {
from: { opacity: 0, transform: "translateY(2px)" },
to: { opacity: 1, transform: "translateY(0)" },
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};