- 更新 Header 组件,增加项目标题和历史记录切换按钮 - 新增 DataNavigation 组件用于数据导航 - 添加 Playground 相关新组件,包括数据、场景、团队等信息展示 - 重构 Layout 组件,使用 Context 管理历史记录状态 - 更新 zh/option.json 文件,添加新的项目标题和对话相关翻译
22 lines
597 B
JavaScript
22 lines
597 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
mode: "jit",
|
|
darkMode: "class",
|
|
content: ["./src/**/*.tsx"],
|
|
theme: {
|
|
extend: {
|
|
width: {
|
|
'1/10': '10%',
|
|
},
|
|
backgroundImage: {
|
|
'bottom-mask-light': 'linear-gradient(0deg, transparent 0, #ffffff 160px)',
|
|
'bottom-mask-dark': 'linear-gradient(0deg, transparent 0, #171717 160px)',
|
|
},
|
|
maskImage: {
|
|
'bottom-fade': 'linear-gradient(0deg, transparent 0, #000 160px)',
|
|
}
|
|
}
|
|
},
|
|
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")]
|
|
}
|