docs: 开发规范和设计文档明确 MUI 为强制 UI 组件库
- standard/开发规范.md: 新增 §3.1 UI组件铁律: 所有UI组件必须使用MUI,列表枚举12类禁止自写 移除 §4 中「简单UI组件」自写例外 更新 §附录: MUI明确为强制组件库,Tailwind仅辅助 - docs/UI UX设计集成方案: 组件树前增加MUI强制使用说明 - docs/架构与交互设计: Renderer进程说明补充MUI,Hero技术栈加入MUI
This commit is contained in:
@@ -493,6 +493,10 @@ MeToast.<span class="hl-fn">warning</span>(<span class="hl-str">'操作已取消
|
||||
<section class="api-section" id="component-tree">
|
||||
<h2>🌲 组件树</h2>
|
||||
|
||||
<div class="note-box">
|
||||
<strong>🎨 UI 组件库:</strong>所有 UI 交互组件强制使用 <strong>Material UI (MUI)</strong>(<code>@mui/material</code>)。按钮、输入框、弹窗、选择器、表单控件、标签页、提示、布局、进度条、卡片等均使用 MUI 组件。除非 MUI 确认不存在对应组件,否则<strong>禁止自写 UI 组件</strong>。Tailwind CSS 仅作为 MUI 的辅助样式补充(间距、颜色变量),不可替代 MUI 组件。
|
||||
</div>
|
||||
|
||||
<div class="arch-diagram">
|
||||
<pre>
|
||||
<span class="hl-cm">AppLayout</span>
|
||||
|
||||
Reference in New Issue
Block a user