-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
39 lines (38 loc) · 1.03 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
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
import { iconsPlugin, getIconCollections } from "@egoist/tailwindcss-icons";
import typography from "@tailwindcss/typography";
export default <Config>{
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
colors: ({ colors }) => ({
black: colors.black,
gray: colors.neutral,
transparent: "transparent",
primary: colors.amber,
white: colors.white,
blue: colors.sky,
current: "currentColor",
}),
extend: {
fontFamily: {
sans: ["Poppins, Poppins fallback", ...defaultTheme.fontFamily.sans],
},
keyframes: {
wave: {
"0%, 100%": { transform: "rotate(0deg)" },
"50%": { transform: "rotate(15deg)" },
},
},
animation: {
wave: "wave 0.5s ease-in-out 3",
},
},
},
plugins: [
iconsPlugin({
collections: getIconCollections(["lucide", "logos"]),
}),
typography,
],
};