wd-data-web/tailwind.config.js

28 lines
621 B
JavaScript
Raw Permalink Normal View History

2023-10-31 14:52:02 +08:00
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
2023-11-07 15:46:14 +08:00
important: true,
2023-10-31 14:52:02 +08:00
corePlugins: {
preflight: false
},
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
extend: {
2023-11-07 15:46:14 +08:00
width: {
'150': '150px'
},
2023-10-31 14:52:02 +08:00
colors: {
bg_color: "var(--el-bg-color)",
primary: "var(--el-color-primary)",
text_color_primary: "var(--el-text-color-primary)",
text_color_regular: "var(--el-text-color-regular)"
}
}
2023-11-07 15:46:14 +08:00
},
css: {
postcss: {
plugins: [require("tailwindcss"), require("autoprefixer")]
}
2023-10-31 14:52:02 +08:00
}
};