forked from ohcnetwork/care_fe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
97 lines (95 loc) · 2.23 KB
/
tailwind.config.js
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* eslint-disable @typescript-eslint/no-var-requires */
const colors = require("tailwindcss/colors");
const secondary = {
50: "#F9FAFB",
100: "#FBFAFC",
200: "#F7F5FA",
300: "#F1EDF7",
400: "#DFDAE8",
500: "#BFB8CC",
600: "#9187A1",
700: "#7D728F",
800: "#6A5F7A",
900: "#453C52",
};
/** @type {import('tailwindcss').Config} */
module.exports = {
important: true,
darkMode: ["class"],
theme: {
extend: {
fontFamily: {
sans: ["Figtree", "sans-serif"],
},
colors: {
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet,
primary: {
100: "#def7ec",
200: "#bcf0da",
300: "#84e1bc",
400: "#31c48d",
500: "#0d9f6e",
600: "#057a55",
700: "#046c4e",
800: "#03543F",
900: "#014737",
DEFAULT: "#0d9f6e",
},
secondary: secondary,
danger: colors.red,
warning: colors.amber,
alert: colors.violet,
gray: colors.gray,
patient: {
comfort: {
DEFAULT: colors.slate[200],
fore: colors.slate[700],
},
stable: {
DEFAULT: "#59D4FF",
fore: colors.white,
},
abnormal: {
DEFAULT: "#F6CB23",
fore: colors.yellow[900],
},
critical: {
DEFAULT: colors.red[500],
fore: colors.red[100],
},
unknown: {
DEFAULT: secondary[400],
fore: secondary[800],
},
activelydying: {
DEFAULT: colors.red[800],
fore: colors.red[100],
},
},
},
scale: {
25: "0.25",
175: "1.75",
200: "2",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
},
content: [
"./src/**/*.{html,md,js,jsx,ts,tsx,res}",
"./apps/**/*.{html,md,js,jsx,ts,tsx,res}",
"./index.html",
],
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/container-queries"),
require("tailwindcss-animate"),
],
};