-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
58 lines (57 loc) · 1.23 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
import type { Config } from "tailwindcss";
import { withTV } from "tailwind-variants/transformer";
const config: Config = withTV({
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: ["class"],
theme: {
extend: {
width: {
inherit: "inherit",
mobile: "100%",
tablet: "606px",
laptop: "852px",
laptopHD: "1130px",
desktop: "1372px",
desktopHS: "1564px",
wide: "1996px",
ultraWide: "2092px",
},
fontSize: {
xxs: [
"10px",
{
lineHeight: "12px",
},
],
},
colors: {
//background color
bg: "#fff",
//foreground color
fg: "#000",
//dark background color
dbg: "#000",
//dark foreground color
dfg: "#fff",
},
transitionDuration: {
config: "200ms",
},
},
screens: {
tablet: "767px",
laptop: "1024px",
laptopHD: "1280px",
desktop: "1600px",
desktopHD: "1920px",
wide: "2160px",
ultraWide: "2560px",
},
},
plugins: [],
});
export default config;