-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.cjs
49 lines (48 loc) · 1.09 KB
/
tailwind.config.cjs
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
/* eslint-disable no-unused-vars */
import defaultTheme from "tailwindcss/defaultTheme";
export const darkMode = "class";
export const safelist = ["", "px-4", "any-class-you-want-to-keep"];
export const content = [
"./src/**/*.{js,jsx,ts,tsx}",
"./src/renderer/index.html",
"./safelist.txt",
"./node_modules/tw-elements/dist/js/**/*.js",
];
export const important = "#root";
export const theme = {
container: {
center: true,
padding: {
DEFAULT: "1rem",
sm: "2rem",
lg: "4rem",
xl: "5rem",
"2xl": "6rem",
},
},
extend: {
lineClamp: {
7: "7",
8: "8",
9: "9",
10: "10",
},
},
};
export const variants = {
extend: {},
lineClamp: ["responsive", "hover"],
};
export const corePlugins = {
aspectRatio: false,
};
export const plugins = [
require("tw-elements/dist/plugin"),
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/container-queries"),
require("@tailwindcss/aspect-ratio"),
require("tailwind-safelist-generator")({
patterns: ["from-{colors}", "to-{colors}"],
}),
];