nex_design_system/config/reference-nexdocus-profile....

75 lines
2.1 KiB
YAML
Raw Normal View History

2026-11-07 07:48:51 +00:00
# NexDocus 历史参考项目配置(NEX 0.1.2)
# 仅用于理解 NEX 最初的参考实现;绝不能当作其他项目默认值。
# 所有尺寸和技术栈字段均属于 NexDocus 的项目事实/历史记录。
nex:
system: NEX Design System
version: 0.1.2
compliance: reference-only
profile_mode: reference-project
project:
name: NexDocus
type: enterprise-web-app
language: zh-CN
design_spec:
path: not-extracted-as-single-authoritative-document
authority: needs-project-confirmation
status: reference-audit-only
frontend:
framework: react
framework_version: "18"
2026-11-08 08:04:33 +00:00
language: javascript-jsx
2026-11-07 07:48:51 +00:00
build_tool: vite
ui_library: antd
ui_library_version: "5"
styling: css-variables-and-plain-css
router: react-router
state_management: zustand
theme:
modes: [light, dark]
switching: project-store-with-system-following
tokens:
source_of_truth: historical-token-and-antd-theme-implementation-needs-runtime-verification
naming_convention: existing-project-convention
derived_outputs: []
mapping_document: docs/01-project-audit.md
components:
shared_component_paths:
- frontend/src/components
inventory_document: docs/01-project-audit.md
layout:
shell: existing-project-shell
header_height: 64
navigation_model: collapsible-sidebar
navigation_width: 260
navigation_collapsed_width: 80
breakpoints_source: project-implementation
page_patterns:
- dashboard
- list
- detail
- form
- settings
- document-workspace
- conversation-workspace
requirements:
use_shared_components: true
use_design_tokens: true
maintain_existing_interactions: true
preserve_verified_patterns: true
avoid_duplicate_design_system_layers: true
rules:
project_spec_precedence: true
reference_profiles_are_non_normative: true
no_forced_nex_token_prefix: true
preserve_existing_stack: true
no_unapproved_business_flow_changes: true
require_audit_before_broad_refactor: true
require_theme_review_when_supported: true
require_responsive_review: true
require_keyboard_review: true