-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.ts
62 lines (58 loc) · 1.81 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
59
60
61
import typography from "@tailwindcss/typography";
import colors from 'tailwindcss/colors';
import { PerCollection } from "./lib/types/perCollection";
import { siteCodename } from "./lib/utils/env";
const color = (colors: PerCollection<string>): string => colors[siteCodename];
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{ts,tsx}",
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./lib/**/*.{ts,tsx}",
],
theme: {
extend: {
colors: {
mainBackgroundColor: color({
ficto_healthtech: colors.emerald[950],
ficto_imaging: colors.indigo[950],
ficto_surgical: colors.rose[950],
}),
mainHoverColor: color({
ficto_healthtech: colors.emerald[500],
ficto_imaging: colors.indigo[500],
ficto_surgical: colors.rose[500],
}),
mainButtonColor: color({
ficto_healthtech: colors.emerald[800],
ficto_imaging: colors.indigo[800],
ficto_surgical: colors.rose[800],
}),
mainBorderColor: color({
ficto_healthtech: colors.emerald[800],
ficto_imaging: colors.indigo[800],
ficto_surgical: colors.rose[800],
}),
mainTextColor: color({
ficto_healthtech: colors.emerald[700],
ficto_imaging: colors.indigo[700],
ficto_surgical: colors.rose[700],
}),
mainAfterColor: color({
ficto_healthtech: colors.emerald[900],
ficto_imaging: colors.indigo[900],
ficto_surgical: colors.rose[900],
}),
mainAnchorColor: color({
ficto_healthtech: colors.emerald[800],
ficto_imaging: colors.indigo[800],
ficto_surgical: colors.rose[800],
})
}
},
},
plugins: [
typography,
],
}