-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
49 lines (46 loc) · 1.44 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
import { type Config } from "tailwindcss";
import * as colors from "tailwindcss/colors.js";
import unimportant from "npm:tailwindcss-unimportant";
import { buildTailwindComponentsConfigs } from "@fathym/common";
import BiotechAtomicTailwindComponents from "@fathym/atomic/tailwind.components.ts";
const tailwindComponents = [...BiotechAtomicTailwindComponents];
await buildTailwindComponentsConfigs(tailwindComponents);
export default {
content: [
"{routes,islands,components}/**/*.{ts,tsx}",
"build/tailwind-components.config",
],
plugins: [unimportant],
theme: {
extend: {
animation: {
progress: "progress 1s infinite linear",
},
dropShadow: {
md: ["0 20px 13px rgb(0 0 0 / 0.15)", "0 8px 5px rgb(0 0 0 / 0.4)"],
lg: ["0 20px 13px rgb(0 0 0 / 0.3)", "0 8px 5px rgb(0 0 0 / 0.8)"],
},
boxShadow: {
inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.5)",
},
color: {
primary: "#4a918e",
secondary: "#4a918e",
tertiary: "#4a918e",
info: colors.blue,
error: colors.red,
warning: colors.yellow,
},
keyframes: {
progress: {
"0%": { transform: " translateX(0) scaleX(0)" },
"40%": { transform: "translateX(0) scaleX(0.4)" },
"100%": { transform: "translateX(100%) scaleX(0.5)" },
},
},
transformOrigin: {
"left-right": "0% 50%",
},
},
},
} satisfies Config;