1 Star 0 Fork 0

OSS Compass 开源指南针/document-website

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tailwind.config.js 947 Bytes
一键复制 编辑 原始数据 按行查看 历史
neil 提交于 2023-05-30 15:55 +08:00 . fix: mobile menu dialog not work
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
important: false,
content: ['./src/**/*.{jsx,tsx}'],
theme: {
// https://tailwindcss.com/docs/screens#max-width-breakpoints
screens: {
'2xl': { max: '1535px' },
xl: { max: '1279px' },
lg: { max: '1023px' },
md: { max: '767px' },
sm: { max: '639px' },
'>2xl': { min: '1536px' },
'>xl': { min: '1280px' },
'>lg': { min: '1024px' },
'>md': { min: '768px' },
'>sm': { min: '640px' },
},
extend: {
zIndex: {
modal: 1000,
drawer: 500,
mask: 400,
fullscreen: 300,
dropdown: 200,
header: 120,
nav: 100,
menu: 80,
},
colors: {
primary: '#3A5BEF',
mask: 'rgba(0, 0, 0, 0.5)',
},
},
},
plugins: [require('@tailwindcss/line-clamp')],
corePlugins: {
preflight: false,
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/oss-compass/document-website.git
git@gitee.com:oss-compass/document-website.git
oss-compass
document-website
document-website
release

搜索帮助