5 Star 1 Fork 0

hello林先生 / Yunpan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tailwind.config.js 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
Moonxi 提交于 2024-03-26 10:36 . mobile change to 1024
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{vue,js}'],
darkMode: 'class',
theme: {
debugScreens: {
position: ['bottom', 'right']
},
extend: {
scale: {
97: '.97'
},
borderWidth: {
3: '3px'
},
borderColor: theme => ({
light: '#F3F3F3',
red: '#fd397a',
'dark-background': '#151515',
'dark-secondary': '#1e2024'
}),
fontSize: {
tiny: ['11px', '16px']
},
colors: {
'dark-foreground': '#1e2024',
'theme-color': '#00e1ff'
},
backgroundColor: theme => ({
'dark-background': '#151515',
'dark-foreground': '#171819',
'2x-dark-foreground': '#191b1e',
'4x-dark-foreground': '#1e2124',
'light-background': '#f4f5f6',
'light-300': '#e1e1ef'
}),
boxShadow: {
card: '0 2px 6px 0 rgba(0, 0, 0, 0.04)',
card_red: '0 2px 6px 0 rgba(253, 57, 122, 0.04)'
},
screens: {
print: { raw: 'print' },
mobile: { max: '1024px' },
pc: '1024px'
},
keyframes: {
'boom-in': {
'0%': { transform: 'scale(0)' },
'50%': { transform: 'scale(1.2)' },
'100%': { transform: 'scale(1)' }
},
'slide-up': {
'0%': { transform: 'translateY(-200px)' },
'100%': { transform: 'translaiteY(0px)' }
},
expand: {
'0%': { transform: 'scale(0)' },
'100%': { transform: 'scale(1)' }
}
},
animation: {
'boom-in': 'boom-in 0.5s ease',
'slide-up': 'slide-up 0.3s ease',
expand: 'expand 0.3s ease'
}
}
},
plugins: []
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hsl152248/yunpan.git
git@gitee.com:hsl152248/yunpan.git
hsl152248
yunpan
Yunpan
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891