-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
46 lines (45 loc) · 963 Bytes
/
tailwind.config.ts
File metadata and controls
46 lines (45 loc) · 963 Bytes
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
import type { Config } from "tailwindcss";
const config: Config = {
// darkMode: 'class', Disable the darkmode
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}"
],
theme: {
extend: {
aspectRatio: {
"4/5": "4 / 5",
"8/5": "8 / 5",
"4/3": "4 / 3"
},
maxWidth: {
"1/2": "50%",
"1/3": "33.333333%",
"1/4": "25%",
}
},
},
plugins: [
require("flowbite-typography")
],
safelist: [
"bg-blue-100",
"text-blue-800",
"bg-yellow-100",
"text-yellow-800",
"bg-gray-100",
"text-gray-800",
"bg-red-100",
"text-red-800",
"dark:bg-blue-900",
"dark:text-blue-300",
"dark:bg-yellow-900",
"dark:text-yellow-300",
"dark:bg-gray-900",
"dark:text-gray-300",
"dark:bg-red-900",
"dark:text-red-300"
]
};
export default config;