1 Star 0 Fork 1

优质收藏/histoire

forked from mirrors_logaretm/histoire 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tailwind.config.cjs 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
// @ts-nocheck
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
theme: {
extend: {
colors: {
primary: colors.emerald,
gray: {
...colors.zinc,
750: '#323238',
850: '#1f1f21',
950: '#101012',
},
},
maxWidth: theme => ({
...theme('width'),
}),
maxHeight: theme => ({
...theme('height'),
}),
minWidth: theme => ({
...theme('width'),
}),
minHeight: theme => ({
...theme('height'),
}),
screens: Object.keys(defaultTheme.screens).reduce((obj, key) => {
const [rawMin] = defaultTheme.screens[key].split('px')
const max = parseInt(rawMin) - 1
obj[`!${key}`] = { max: `${max}px` }
return obj
}, {}),
borderRadius: {
sm: '0.25rem',
DEFAULT: '0.375rem',
md: '0.5rem',
lg: '0.75rem',
xl: '1rem',
'2xl': '1.5rem',
'3xl': '2rem',
},
cursor: {
'ew-resize': 'ew-resize',
'ns-resize': 'ns-resize',
'cursor-not-allowed': 'cursor-not-allowed',
},
transitionProperty: {
border: 'border',
},
},
},
content: [
'./docs/**/*.{vue,js,ts,jsx,tsx,md}',
'./docs/.vitepress/**/*.{vue,js,ts,jsx,tsx,md}',
],
darkMode: 'class', // or 'media' or 'class'
corePlugins: {
preflight: false,
},
plugins: [],
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/high-quality-collection/histoire.git
git@gitee.com:high-quality-collection/histoire.git
high-quality-collection
histoire
histoire
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385