-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtailwind.config.js
54 lines (53 loc) · 1.54 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
import { blue, gray } from "tailwindcss/colors";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{html,js,svelte,ts}"],
safelist: [
"text-2xl",
"text-3xl",
"text-4xl",
"text-5xl",
"text-6xl",
"text-red-500",
"text-blue-500",
"text-green-500",
"text-yellow-500",
"text-gray-500",
"text-gray-600",
"text-gray-700",
"text-gray-800",
],
theme: {
extend: {
padding: {
"safe-top": "calc(env(safe-area-inset-top) + 16px)",
"safe-bottom": "env(safe-area-inset-bottom)",
"safe-left": "env(safe-area-inset-left)",
"safe-right": "env(safe-area-inset-right)",
},
fontFamily: {
mono: [
"Inconsolata",
"Menlo",
"Monaco",
"Ubuntu Mono",
"Consolas",
"Courier New",
"monospace",
],
},
colors: {
"primary-blue": blue[700],
"chat-bg-me": blue[700],
"chat-bg-other": gray[800],
},
dropShadow: {
"message-bar": "0px -15px 20px rgba(3, 7, 18, 1)", // gray-950
},
animation: {
"spin-slow": "spin 3s linear infinite",
},
},
},
plugins: [require("@tailwindcss/forms")],
};