-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
89 lines (76 loc) · 1.61 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import type { Config } from "tailwindcss";
import { blue, green, rose, slate, yellow } from "tailwindcss/colors";
import { PluginAPI } from "tailwindcss/types/config";
export const colors = {
black: "#000",
white: "#fff",
primary: "#ff0ef0",
danger: rose,
succes: green,
alert: yellow,
info: blue,
gray: slate,
};
const config: Config = {
content: ["./src/**/*.tsx"],
theme: {
screens: {
lg_desktop: { max: "1920px" },
md_desktop: { max: "1440px" },
sm_desktop: { max: "1366px" },
es_desktop: { max: "1280px" },
lg_tablet: { max: "1050px" },
md_tablet: { max: "990px" },
sm_tablet: { max: "730px" },
es_tablet: { max: "600px" },
lg_phone: { max: "490px" },
md_phone: { max: "414px" },
sm_phone: { max: "360px" },
es_phone: { max: "320px" },
},
zIndex: {
content: "0",
elements: "1",
header: "2",
modal: "3",
ovni: "999",
},
colors,
fontFamily: {
sans: [
"var(--font-inter)",
"system-ui",
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"sans-serif",
],
},
extend: {
keyframes: {},
fontSize: {},
lineHeight: {},
animation: {},
},
},
plugins: [
({ addUtilities }: PluginAPI) => {
addUtilities({
".wrapper": {
maxWidth: "calc(1216px + 48px)",
"@apply mx-auto px-6": {},
},
".frame": {
"@apply h-full w-full object-cover": {},
},
".center": {
"@apply grid place-items-center": {},
},
});
},
],
};
export default config;