forked from ohcnetwork/care_fe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
128 lines (126 loc) · 3.21 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* 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],
},
},
sidebar: {
DEFAULT: "hsl(var(--sidebar-background))",
foreground: "hsl(var(--sidebar-foreground))",
primary: "hsl(var(--sidebar-primary))",
"primary-foreground": "hsl(var(--sidebar-primary-foreground))",
accent: "hsl(var(--sidebar-accent))",
"accent-foreground": "hsl(var(--sidebar-accent-foreground))",
border: "hsl(var(--sidebar-border))",
ring: "hsl(var(--sidebar-ring))",
},
"accent-foreground": "hsl(var(--sidebar-accent-foreground))",
border: "hsl(var(--sidebar-border))",
ring: "hsl(var(--sidebar-ring))",
},
scale: {
25: "0.25",
175: "1.75",
200: "2",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
fontSize: {
"7xl": "5rem",
},
width: {
"80mm": "80mm",
},
height: {
"170mm": "170mm",
},
keyframes: {
"caret-blink": {
"0%,70%,100%": { opacity: "1" },
"20%,50%": { opacity: "0" },
},
},
animation: {
"caret-blink": "caret-blink 1.25s ease-out infinite",
},
},
},
content: [
"./src/**/*.{html,md,js,jsx,ts,tsx}",
"./apps/**/*.{html,md,js,jsx,ts,tsx}",
"./index.html",
],
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/container-queries"),
require("tailwindcss-animate"),
],
};