1 Star 0 Fork 0

浏览器 / hoppscotch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tailwind.config.js 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
Liyas Thomas 提交于 2020-09-24 08:22 . Color modes (#1181)
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
experimental: "all",
dark: "class",
corePlugins: {
clear: false,
float: false,
skew: false,
},
theme: {
extend: {
colors: {
bgColor: "var(--bg-color)",
bgLightColor: "var(--bg-light-color)",
bgDarkColor: "var(--bg-dark-color)",
fgColor: "var(--fg-color)",
fgLightColor: "var(--fg-light-color)",
brdColor: "var(--brd-color)",
errColor: "var(--err-color)",
acColor: "var(--ac-color)",
actColor: "var(--act-color)",
ttColor: "var(--tt-color)",
},
inset: {},
},
fontFamily: {
body: "var(--font-body)",
mono: "var(--font-mono)",
icon: "var(--font-icon)",
},
},
variants: {},
plugins: [],
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === "production",
content: [
"components/**/*.vue",
"layouts/**/*.vue",
"pages/**/*.vue",
"plugins/**/*.js",
"nuxt.config.js",
"content/**/*.md",
],
// These options are passed through directly to PurgeCSS
options: {
whitelistPatterns: [/^bg-/, /^text-/, /^border-/, /^h-/, /^w-/, /^hover:/],
},
},
}
1
https://gitee.com/browsers/hoppscotch.git
git@gitee.com:browsers/hoppscotch.git
browsers
hoppscotch
hoppscotch
master

搜索帮助