-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
73 lines (70 loc) · 1.67 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
62
63
64
65
66
67
68
69
70
71
72
73
/* eslint import/no-extraneous-dependencies: ["warn", { "devDependencies": true }] -- Ok */
/* eslint-disable no-magic-numbers -- Ok */
import type { Config } from "tailwindcss";
import daisyui from "daisyui";
import flowbite from "flowbite/plugin";
import plugin from "tailwindcss/plugin";
const config: Config = {
content: ["./node_modules/flowbite-react/lib/**/*.js", "./src/**/*.tsx"],
plugins: [
daisyui,
flowbite,
plugin(({ addUtilities }) => {
addUtilities({
".scrollbar-hide": {
// Edge, IE
"-ms-overflow-style": "none",
"scrollbar-width": "none"
},
".scrollbar-hide::-webkit-scrollbar": {
// Chrome, Opera, Safari
display: "none"
}
});
})
],
safelist: [
"max-w-screen-sm",
"max-w-screen-md",
"max-w-screen-lg",
"max-w-screen-xl",
"max-w-screen-2xl"
],
theme: {
extend: {
borderWidth: {
1.5: "1.5px"
},
colors: {
"charcoal": "#2A2C2F",
"green-primary": "#379237",
"green-secondary": "#357C3C",
"light-gray-cold": "#f8f9fa",
"light-gray-warm": "#FAF6F0"
},
fontFamily: {
sans: ["Inter", "sans-serif"]
},
fontSize: {
teaser: "1.55rem"
},
gridTemplateColumns: {
"header-grid-container": "1fr auto 1fr"
},
height: {
"aspect-ratio-16/9": `${0.01 * 900}rem`
},
minWidth: {
"1/3": "33.333333%"
},
transitionProperty: {
left: "left",
width: "width"
},
width: {
"aspect-ratio-16/9": `${0.01 * 1600}rem`
}
}
}
};
export default config;