@xiuper/cli 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +180 -0
- package/dist/jsMain/typescript/agents/LLMService.d.ts +40 -0
- package/dist/jsMain/typescript/agents/LLMService.d.ts.map +1 -0
- package/dist/jsMain/typescript/agents/LLMService.js +156 -0
- package/dist/jsMain/typescript/agents/LLMService.js.map +1 -0
- package/dist/jsMain/typescript/agents/ServerAgentClient.d.ts +103 -0
- package/dist/jsMain/typescript/agents/ServerAgentClient.d.ts.map +1 -0
- package/dist/jsMain/typescript/agents/ServerAgentClient.js +142 -0
- package/dist/jsMain/typescript/agents/ServerAgentClient.js.map +1 -0
- package/dist/jsMain/typescript/agents/render/BaseRenderer.d.ts +87 -0
- package/dist/jsMain/typescript/agents/render/BaseRenderer.d.ts.map +1 -0
- package/dist/jsMain/typescript/agents/render/BaseRenderer.js +128 -0
- package/dist/jsMain/typescript/agents/render/BaseRenderer.js.map +1 -0
- package/dist/jsMain/typescript/agents/render/CliRenderer.d.ts +51 -0
- package/dist/jsMain/typescript/agents/render/CliRenderer.d.ts.map +1 -0
- package/dist/jsMain/typescript/agents/render/CliRenderer.js +564 -0
- package/dist/jsMain/typescript/agents/render/CliRenderer.js.map +1 -0
- package/dist/jsMain/typescript/agents/render/ServerRenderer.d.ts +55 -0
- package/dist/jsMain/typescript/agents/render/ServerRenderer.d.ts.map +1 -0
- package/dist/jsMain/typescript/agents/render/ServerRenderer.js +503 -0
- package/dist/jsMain/typescript/agents/render/ServerRenderer.js.map +1 -0
- package/dist/jsMain/typescript/agents/render/TuiRenderer.d.ts +104 -0
- package/dist/jsMain/typescript/agents/render/TuiRenderer.d.ts.map +1 -0
- package/dist/jsMain/typescript/agents/render/TuiRenderer.js +279 -0
- package/dist/jsMain/typescript/agents/render/TuiRenderer.js.map +1 -0
- package/dist/jsMain/typescript/config/ConfigManager.d.ts +146 -0
- package/dist/jsMain/typescript/config/ConfigManager.d.ts.map +1 -0
- package/dist/jsMain/typescript/config/ConfigManager.js +257 -0
- package/dist/jsMain/typescript/config/ConfigManager.js.map +1 -0
- package/dist/jsMain/typescript/constants/asciiArt.d.ts +9 -0
- package/dist/jsMain/typescript/constants/asciiArt.d.ts.map +1 -0
- package/dist/jsMain/typescript/constants/asciiArt.js +47 -0
- package/dist/jsMain/typescript/constants/asciiArt.js.map +1 -0
- package/dist/jsMain/typescript/design-system/colors.d.ts +492 -0
- package/dist/jsMain/typescript/design-system/colors.d.ts.map +1 -0
- package/dist/jsMain/typescript/design-system/colors.js +333 -0
- package/dist/jsMain/typescript/design-system/colors.js.map +1 -0
- package/dist/jsMain/typescript/design-system/index.d.ts +31 -0
- package/dist/jsMain/typescript/design-system/index.d.ts.map +1 -0
- package/dist/jsMain/typescript/design-system/index.js +195 -0
- package/dist/jsMain/typescript/design-system/index.js.map +1 -0
- package/dist/jsMain/typescript/design-system/theme-helpers.d.ts +161 -0
- package/dist/jsMain/typescript/design-system/theme-helpers.d.ts.map +1 -0
- package/dist/jsMain/typescript/design-system/theme-helpers.js +153 -0
- package/dist/jsMain/typescript/design-system/theme-helpers.js.map +1 -0
- package/dist/jsMain/typescript/i18n/index.d.ts +37 -0
- package/dist/jsMain/typescript/i18n/index.d.ts.map +1 -0
- package/dist/jsMain/typescript/i18n/index.js +139 -0
- package/dist/jsMain/typescript/i18n/index.js.map +1 -0
- package/dist/jsMain/typescript/i18n/locales/en.d.ts +6 -0
- package/dist/jsMain/typescript/i18n/locales/en.d.ts.map +1 -0
- package/dist/jsMain/typescript/i18n/locales/en.js +120 -0
- package/dist/jsMain/typescript/i18n/locales/en.js.map +1 -0
- package/dist/jsMain/typescript/i18n/locales/zh.d.ts +6 -0
- package/dist/jsMain/typescript/i18n/locales/zh.d.ts.map +1 -0
- package/dist/jsMain/typescript/i18n/locales/zh.js +120 -0
- package/dist/jsMain/typescript/i18n/locales/zh.js.map +1 -0
- package/dist/jsMain/typescript/i18n/types.d.ts +124 -0
- package/dist/jsMain/typescript/i18n/types.d.ts.map +1 -0
- package/dist/jsMain/typescript/i18n/types.js +7 -0
- package/dist/jsMain/typescript/i18n/types.js.map +1 -0
- package/dist/jsMain/typescript/index.d.ts +9 -0
- package/dist/jsMain/typescript/index.d.ts.map +1 -0
- package/dist/jsMain/typescript/index.js +380 -0
- package/dist/jsMain/typescript/index.js.map +1 -0
- package/dist/jsMain/typescript/modes/AgentMode.d.ts +33 -0
- package/dist/jsMain/typescript/modes/AgentMode.d.ts.map +1 -0
- package/dist/jsMain/typescript/modes/AgentMode.js +243 -0
- package/dist/jsMain/typescript/modes/AgentMode.js.map +1 -0
- package/dist/jsMain/typescript/modes/ChatMode.d.ts +30 -0
- package/dist/jsMain/typescript/modes/ChatMode.d.ts.map +1 -0
- package/dist/jsMain/typescript/modes/ChatMode.js +260 -0
- package/dist/jsMain/typescript/modes/ChatMode.js.map +1 -0
- package/dist/jsMain/typescript/modes/DocumentMode.d.ts +26 -0
- package/dist/jsMain/typescript/modes/DocumentMode.d.ts.map +1 -0
- package/dist/jsMain/typescript/modes/DocumentMode.js +217 -0
- package/dist/jsMain/typescript/modes/DocumentMode.js.map +1 -0
- package/dist/jsMain/typescript/modes/Mode.d.ts +72 -0
- package/dist/jsMain/typescript/modes/Mode.d.ts.map +1 -0
- package/dist/jsMain/typescript/modes/Mode.js +7 -0
- package/dist/jsMain/typescript/modes/Mode.js.map +1 -0
- package/dist/jsMain/typescript/modes/ModeManager.d.ts +76 -0
- package/dist/jsMain/typescript/modes/ModeManager.d.ts.map +1 -0
- package/dist/jsMain/typescript/modes/ModeManager.js +156 -0
- package/dist/jsMain/typescript/modes/ModeManager.js.map +1 -0
- package/dist/jsMain/typescript/modes/ReviewMode.d.ts +52 -0
- package/dist/jsMain/typescript/modes/ReviewMode.d.ts.map +1 -0
- package/dist/jsMain/typescript/modes/ReviewMode.js +435 -0
- package/dist/jsMain/typescript/modes/ReviewMode.js.map +1 -0
- package/dist/jsMain/typescript/modes/index.d.ts +9 -0
- package/dist/jsMain/typescript/modes/index.d.ts.map +1 -0
- package/dist/jsMain/typescript/modes/index.js +7 -0
- package/dist/jsMain/typescript/modes/index.js.map +1 -0
- package/dist/jsMain/typescript/processors/AtCommandProcessor.d.ts +34 -0
- package/dist/jsMain/typescript/processors/AtCommandProcessor.d.ts.map +1 -0
- package/dist/jsMain/typescript/processors/AtCommandProcessor.js +118 -0
- package/dist/jsMain/typescript/processors/AtCommandProcessor.js.map +1 -0
- package/dist/jsMain/typescript/processors/InputRouter.d.ts +84 -0
- package/dist/jsMain/typescript/processors/InputRouter.d.ts.map +1 -0
- package/dist/jsMain/typescript/processors/InputRouter.js +78 -0
- package/dist/jsMain/typescript/processors/InputRouter.js.map +1 -0
- package/dist/jsMain/typescript/processors/ModeCommandProcessor.d.ts +25 -0
- package/dist/jsMain/typescript/processors/ModeCommandProcessor.d.ts.map +1 -0
- package/dist/jsMain/typescript/processors/ModeCommandProcessor.js +127 -0
- package/dist/jsMain/typescript/processors/ModeCommandProcessor.js.map +1 -0
- package/dist/jsMain/typescript/processors/SlashCommandProcessor.d.ts +68 -0
- package/dist/jsMain/typescript/processors/SlashCommandProcessor.d.ts.map +1 -0
- package/dist/jsMain/typescript/processors/SlashCommandProcessor.js +391 -0
- package/dist/jsMain/typescript/processors/SlashCommandProcessor.js.map +1 -0
- package/dist/jsMain/typescript/processors/VariableProcessor.d.ts +44 -0
- package/dist/jsMain/typescript/processors/VariableProcessor.d.ts.map +1 -0
- package/dist/jsMain/typescript/processors/VariableProcessor.js +105 -0
- package/dist/jsMain/typescript/processors/VariableProcessor.js.map +1 -0
- package/dist/jsMain/typescript/ui/App.d.ts +16 -0
- package/dist/jsMain/typescript/ui/App.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/App.js +208 -0
- package/dist/jsMain/typescript/ui/App.js.map +1 -0
- package/dist/jsMain/typescript/ui/Banner.d.ts +6 -0
- package/dist/jsMain/typescript/ui/Banner.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/Banner.js +13 -0
- package/dist/jsMain/typescript/ui/Banner.js.map +1 -0
- package/dist/jsMain/typescript/ui/ChatInterface.d.ts +19 -0
- package/dist/jsMain/typescript/ui/ChatInterface.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/ChatInterface.js +223 -0
- package/dist/jsMain/typescript/ui/ChatInterface.js.map +1 -0
- package/dist/jsMain/typescript/ui/CommandSuggestions.d.ts +21 -0
- package/dist/jsMain/typescript/ui/CommandSuggestions.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/CommandSuggestions.js +43 -0
- package/dist/jsMain/typescript/ui/CommandSuggestions.js.map +1 -0
- package/dist/jsMain/typescript/ui/LanguageSwitcher.d.ts +11 -0
- package/dist/jsMain/typescript/ui/LanguageSwitcher.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/LanguageSwitcher.js +37 -0
- package/dist/jsMain/typescript/ui/LanguageSwitcher.js.map +1 -0
- package/dist/jsMain/typescript/ui/MessageRenderer.d.ts +70 -0
- package/dist/jsMain/typescript/ui/MessageRenderer.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/MessageRenderer.js +255 -0
- package/dist/jsMain/typescript/ui/MessageRenderer.js.map +1 -0
- package/dist/jsMain/typescript/ui/ModelConfigForm.d.ts +19 -0
- package/dist/jsMain/typescript/ui/ModelConfigForm.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/ModelConfigForm.js +257 -0
- package/dist/jsMain/typescript/ui/ModelConfigForm.js.map +1 -0
- package/dist/jsMain/typescript/ui/WelcomeScreen.d.ts +12 -0
- package/dist/jsMain/typescript/ui/WelcomeScreen.d.ts.map +1 -0
- package/dist/jsMain/typescript/ui/WelcomeScreen.js +93 -0
- package/dist/jsMain/typescript/ui/WelcomeScreen.js.map +1 -0
- package/dist/jsMain/typescript/utils/commandUtils.d.ts +64 -0
- package/dist/jsMain/typescript/utils/commandUtils.d.ts.map +1 -0
- package/dist/jsMain/typescript/utils/commandUtils.js +195 -0
- package/dist/jsMain/typescript/utils/commandUtils.js.map +1 -0
- package/dist/jsMain/typescript/utils/domainDictUtils.d.ts +53 -0
- package/dist/jsMain/typescript/utils/domainDictUtils.d.ts.map +1 -0
- package/dist/jsMain/typescript/utils/domainDictUtils.js +130 -0
- package/dist/jsMain/typescript/utils/domainDictUtils.js.map +1 -0
- package/dist/jsMain/typescript/utils/markdownSplitter.d.ts +23 -0
- package/dist/jsMain/typescript/utils/markdownSplitter.d.ts.map +1 -0
- package/dist/jsMain/typescript/utils/markdownSplitter.js +90 -0
- package/dist/jsMain/typescript/utils/markdownSplitter.js.map +1 -0
- package/dist/jsMain/typescript/utils/outputFormatter.d.ts +70 -0
- package/dist/jsMain/typescript/utils/outputFormatter.d.ts.map +1 -0
- package/dist/jsMain/typescript/utils/outputFormatter.js +140 -0
- package/dist/jsMain/typescript/utils/outputFormatter.js.map +1 -0
- package/dist/jsMain/typescript/utils/renderUtils.d.ts +17 -0
- package/dist/jsMain/typescript/utils/renderUtils.d.ts.map +1 -0
- package/dist/jsMain/typescript/utils/renderUtils.js +128 -0
- package/dist/jsMain/typescript/utils/renderUtils.js.map +1 -0
- package/dist/test/framework/analyzers/CodeChangeAnalyzer.d.ts +87 -0
- package/dist/test/framework/analyzers/CodeChangeAnalyzer.d.ts.map +1 -0
- package/dist/test/framework/analyzers/CodeChangeAnalyzer.js +412 -0
- package/dist/test/framework/analyzers/CodeChangeAnalyzer.js.map +1 -0
- package/dist/test/framework/analyzers/PromptAnalyzer.d.ts +46 -0
- package/dist/test/framework/analyzers/PromptAnalyzer.d.ts.map +1 -0
- package/dist/test/framework/analyzers/PromptAnalyzer.js +185 -0
- package/dist/test/framework/analyzers/PromptAnalyzer.js.map +1 -0
- package/dist/test/framework/analyzers/ToolCallAnalyzer.d.ts +45 -0
- package/dist/test/framework/analyzers/ToolCallAnalyzer.d.ts.map +1 -0
- package/dist/test/framework/analyzers/ToolCallAnalyzer.js +215 -0
- package/dist/test/framework/analyzers/ToolCallAnalyzer.js.map +1 -0
- package/dist/test/framework/cli.d.ts +8 -0
- package/dist/test/framework/cli.d.ts.map +1 -0
- package/dist/test/framework/cli.js +175 -0
- package/dist/test/framework/cli.js.map +1 -0
- package/dist/test/framework/core/TestCase.d.ts +100 -0
- package/dist/test/framework/core/TestCase.d.ts.map +1 -0
- package/dist/test/framework/core/TestCase.js +101 -0
- package/dist/test/framework/core/TestCase.js.map +1 -0
- package/dist/test/framework/core/TestEngine.d.ts +89 -0
- package/dist/test/framework/core/TestEngine.d.ts.map +1 -0
- package/dist/test/framework/core/TestEngine.js +552 -0
- package/dist/test/framework/core/TestEngine.js.map +1 -0
- package/dist/test/framework/core/TestResult.d.ts +143 -0
- package/dist/test/framework/core/TestResult.d.ts.map +1 -0
- package/dist/test/framework/core/TestResult.js +76 -0
- package/dist/test/framework/core/TestResult.js.map +1 -0
- package/dist/test/framework/examples/BasicRobustnessTest.d.ts +19 -0
- package/dist/test/framework/examples/BasicRobustnessTest.d.ts.map +1 -0
- package/dist/test/framework/examples/BasicRobustnessTest.js +116 -0
- package/dist/test/framework/examples/BasicRobustnessTest.js.map +1 -0
- package/dist/test/framework/index.d.ts +30 -0
- package/dist/test/framework/index.d.ts.map +1 -0
- package/dist/test/framework/index.js +38 -0
- package/dist/test/framework/index.js.map +1 -0
- package/dist/test/framework/loaders/JsonScenarioLoader.d.ts +99 -0
- package/dist/test/framework/loaders/JsonScenarioLoader.d.ts.map +1 -0
- package/dist/test/framework/loaders/JsonScenarioLoader.js +197 -0
- package/dist/test/framework/loaders/JsonScenarioLoader.js.map +1 -0
- package/dist/test/framework/reporters/ConsoleReporter.d.ts +25 -0
- package/dist/test/framework/reporters/ConsoleReporter.d.ts.map +1 -0
- package/dist/test/framework/reporters/ConsoleReporter.js +196 -0
- package/dist/test/framework/reporters/ConsoleReporter.js.map +1 -0
- package/dist/test/framework/scenarios/ScenarioBuilder.d.ts +62 -0
- package/dist/test/framework/scenarios/ScenarioBuilder.d.ts.map +1 -0
- package/dist/test/framework/scenarios/ScenarioBuilder.js +285 -0
- package/dist/test/framework/scenarios/ScenarioBuilder.js.map +1 -0
- package/dist/test/framework/validate-framework.d.ts +9 -0
- package/dist/test/framework/validate-framework.d.ts.map +1 -0
- package/dist/test/framework/validate-framework.js +187 -0
- package/dist/test/framework/validate-framework.js.map +1 -0
- package/package.json +84 -0
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AutoDev Design System - Color Palette
|
|
3
|
+
*
|
|
4
|
+
* 基于「霓虹暗夜」与「气韵流动」的视觉语言设计的色彩系统
|
|
5
|
+
*
|
|
6
|
+
* 设计原则:
|
|
7
|
+
* 1. 虚空色阶 (Void) - 带微量蓝色的冷色调背景,营造深邃空间感
|
|
8
|
+
* 2. 能量色阶 (Energy) - 区分用户意图(电光青)与 AI 响应(霓虹紫)
|
|
9
|
+
* 3. 信号色阶 (Signal) - 高饱和度的状态指示色,确保清晰可辨
|
|
10
|
+
*/
|
|
11
|
+
// ============================================================================
|
|
12
|
+
// Void Scale - 虚空色阶(带微量蓝色的冷色调背景)
|
|
13
|
+
// ============================================================================
|
|
14
|
+
/**
|
|
15
|
+
* 虚空色阶 - 暗色模式的基础背景色
|
|
16
|
+
* 带有微量蓝色的冷色调,营造深邃空间感
|
|
17
|
+
*/
|
|
18
|
+
export const void_ = {
|
|
19
|
+
bg: '#0B0E14', // 全局底层背景
|
|
20
|
+
surface1: '#151922', // 侧边栏、面板
|
|
21
|
+
surface2: '#1F2430', // 悬停、输入框、代码块
|
|
22
|
+
surface3: '#2A3040', // 边框、分割线
|
|
23
|
+
overlay: 'rgba(11, 14, 20, 0.8)', // 模态遮罩
|
|
24
|
+
// 亮色模式的虚空色阶
|
|
25
|
+
lightBg: '#F8FAFC', // 亮色背景 - 冷白
|
|
26
|
+
lightSurface1: '#FFFFFF', // 卡片表面
|
|
27
|
+
lightSurface2: '#F1F5F9', // 悬停状态
|
|
28
|
+
lightSurface3: '#E2E8F0', // 边框
|
|
29
|
+
};
|
|
30
|
+
// ============================================================================
|
|
31
|
+
// Energy Scale - 能量色阶(人机边界)
|
|
32
|
+
// ============================================================================
|
|
33
|
+
/**
|
|
34
|
+
* 能量色阶 - 区分用户意图与 AI 响应
|
|
35
|
+
*/
|
|
36
|
+
export const energy = {
|
|
37
|
+
// 电光青 - 用户意图、用户操作
|
|
38
|
+
xiu: '#00F3FF',
|
|
39
|
+
xiuHover: '#33F5FF',
|
|
40
|
+
xiuDim: 'rgba(0, 243, 255, 0.25)', // 25% opacity - 光晕
|
|
41
|
+
// 霓虹紫 - AI 生成内容
|
|
42
|
+
ai: '#D946EF',
|
|
43
|
+
aiHover: '#E066F5',
|
|
44
|
+
aiDim: 'rgba(217, 70, 239, 0.25)', // 25% opacity - 光晕
|
|
45
|
+
// 亮色模式下的能量色(略微降低亮度以保证对比度)
|
|
46
|
+
xiuLight: '#00BCD4', // 深青色
|
|
47
|
+
aiLight: '#AB47BC', // 深紫色
|
|
48
|
+
};
|
|
49
|
+
// ============================================================================
|
|
50
|
+
// Signal Scale - 信号色阶(状态指示)
|
|
51
|
+
// ============================================================================
|
|
52
|
+
/**
|
|
53
|
+
* 信号色阶 - 高饱和度的状态指示色
|
|
54
|
+
*/
|
|
55
|
+
export const signal = {
|
|
56
|
+
success: '#00E676', // 高亮绿
|
|
57
|
+
error: '#FF1744', // 高亮红
|
|
58
|
+
warn: '#FFEA00', // 赛博黄
|
|
59
|
+
info: '#2196F3', // 信息蓝
|
|
60
|
+
// 亮色模式下的信号色(略微加深以保证对比度)
|
|
61
|
+
successLight: '#00C853',
|
|
62
|
+
errorLight: '#D50000',
|
|
63
|
+
warnLight: '#FFD600',
|
|
64
|
+
infoLight: '#1976D2',
|
|
65
|
+
// 信号色的淡色背景(用于状态提示背景)
|
|
66
|
+
successBg: 'rgba(0, 230, 118, 0.1)',
|
|
67
|
+
errorBg: 'rgba(255, 23, 68, 0.1)',
|
|
68
|
+
warnBg: 'rgba(255, 234, 0, 0.1)',
|
|
69
|
+
infoBg: 'rgba(33, 150, 243, 0.1)',
|
|
70
|
+
};
|
|
71
|
+
// ============================================================================
|
|
72
|
+
// Text Colors - 文本颜色
|
|
73
|
+
// ============================================================================
|
|
74
|
+
export const text = {
|
|
75
|
+
// 暗色模式文本
|
|
76
|
+
primary: '#F5F5F5', // 主文本
|
|
77
|
+
secondary: '#B0BEC5', // 辅助文本
|
|
78
|
+
tertiary: '#78909C', // 第三级文本
|
|
79
|
+
inverse: '#0B0E14', // 反色文本
|
|
80
|
+
// 亮色模式文本
|
|
81
|
+
lightPrimary: '#1E293B', // 主文本
|
|
82
|
+
lightSecondary: '#475569', // 辅助文本
|
|
83
|
+
lightTertiary: '#94A3B8', // 第三级文本
|
|
84
|
+
};
|
|
85
|
+
// ============================================================================
|
|
86
|
+
// Theme Modes - 主题模式
|
|
87
|
+
// ============================================================================
|
|
88
|
+
/**
|
|
89
|
+
* 暗色模式色彩令牌
|
|
90
|
+
* 基于「霓虹暗夜」视觉语言
|
|
91
|
+
*/
|
|
92
|
+
export const darkTheme = {
|
|
93
|
+
// Primary Colors - 电光青(用户意图)
|
|
94
|
+
primary: energy.xiu,
|
|
95
|
+
primaryHover: energy.xiuHover,
|
|
96
|
+
primaryActive: energy.xiuDim,
|
|
97
|
+
// Accent Colors - 霓虹紫(AI 生成)
|
|
98
|
+
accent: energy.ai,
|
|
99
|
+
accentHover: energy.aiHover,
|
|
100
|
+
// Text Colors
|
|
101
|
+
textPrimary: text.primary,
|
|
102
|
+
textSecondary: text.secondary,
|
|
103
|
+
textTertiary: text.tertiary,
|
|
104
|
+
textInverse: text.inverse,
|
|
105
|
+
// Surface Colors - 虚空色阶
|
|
106
|
+
surfaceBg: void_.bg,
|
|
107
|
+
surfaceCard: void_.surface1,
|
|
108
|
+
surfaceHover: void_.surface2,
|
|
109
|
+
surfaceActive: void_.surface3,
|
|
110
|
+
// Border Colors
|
|
111
|
+
border: void_.surface3,
|
|
112
|
+
borderHover: void_.surface2,
|
|
113
|
+
borderFocus: energy.xiu,
|
|
114
|
+
// Semantic Colors - 信号色
|
|
115
|
+
success: signal.success,
|
|
116
|
+
successLight: signal.successBg,
|
|
117
|
+
warning: signal.warn,
|
|
118
|
+
warningLight: signal.warnBg,
|
|
119
|
+
error: signal.error,
|
|
120
|
+
errorLight: signal.errorBg,
|
|
121
|
+
info: signal.info,
|
|
122
|
+
infoLight: signal.infoBg,
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* 亮色模式色彩令牌
|
|
126
|
+
* 保持能量色阶的核心特征,适配亮色背景
|
|
127
|
+
*/
|
|
128
|
+
export const lightTheme = {
|
|
129
|
+
// Primary Colors - 电光青(亮色版本)
|
|
130
|
+
primary: energy.xiuLight,
|
|
131
|
+
primaryHover: '#0097A7',
|
|
132
|
+
primaryActive: '#00838F',
|
|
133
|
+
// Accent Colors - 霓虹紫(亮色版本)
|
|
134
|
+
accent: energy.aiLight,
|
|
135
|
+
accentHover: '#9C27B0',
|
|
136
|
+
// Text Colors
|
|
137
|
+
textPrimary: text.lightPrimary,
|
|
138
|
+
textSecondary: text.lightSecondary,
|
|
139
|
+
textTertiary: text.lightTertiary,
|
|
140
|
+
textInverse: text.primary,
|
|
141
|
+
// Surface Colors - 亮色虚空
|
|
142
|
+
surfaceBg: void_.lightBg,
|
|
143
|
+
surfaceCard: void_.lightSurface1,
|
|
144
|
+
surfaceHover: void_.lightSurface2,
|
|
145
|
+
surfaceActive: void_.lightSurface3,
|
|
146
|
+
// Border Colors
|
|
147
|
+
border: void_.lightSurface3,
|
|
148
|
+
borderHover: '#CBD5E1',
|
|
149
|
+
borderFocus: energy.xiuLight,
|
|
150
|
+
// Semantic Colors - 信号色(亮色版本)
|
|
151
|
+
success: signal.successLight,
|
|
152
|
+
successLight: '#E8F5E9',
|
|
153
|
+
warning: signal.warnLight,
|
|
154
|
+
warningLight: '#FFFDE7',
|
|
155
|
+
error: signal.errorLight,
|
|
156
|
+
errorLight: '#FFEBEE',
|
|
157
|
+
info: signal.infoLight,
|
|
158
|
+
infoLight: '#E3F2FD',
|
|
159
|
+
};
|
|
160
|
+
// ============================================================================
|
|
161
|
+
// Legacy Compatibility - 向后兼容的旧色阶
|
|
162
|
+
// 所有旧色阶已映射到新的设计系统
|
|
163
|
+
// ============================================================================
|
|
164
|
+
/**
|
|
165
|
+
* Indigo -> 电光青色阶 (主色)
|
|
166
|
+
* 原本的靛蓝色已替换为电光青
|
|
167
|
+
*/
|
|
168
|
+
export const indigo = {
|
|
169
|
+
50: '#E0FCFF', // 最浅
|
|
170
|
+
100: '#B3F5FF',
|
|
171
|
+
200: '#80EEFF',
|
|
172
|
+
300: energy.xiu, // 暗黑模式主色 -> 电光青 #00F3FF
|
|
173
|
+
400: energy.xiuHover, // 暗黑模式悬停 -> #33F5FF
|
|
174
|
+
500: '#00D4E0',
|
|
175
|
+
600: energy.xiuLight, // 亮色模式主色 -> #00BCD4
|
|
176
|
+
700: '#0097A7', // 亮色模式悬停
|
|
177
|
+
800: '#00838F',
|
|
178
|
+
900: '#006064', // 最深
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* Cyan -> 霓虹紫色阶 (AI 辅色)
|
|
182
|
+
* 原本的青色已替换为霓虹紫,用于区分 AI 生成内容
|
|
183
|
+
*/
|
|
184
|
+
export const cyan = {
|
|
185
|
+
50: '#FCE4F6', // 最浅
|
|
186
|
+
100: '#F8BBE8',
|
|
187
|
+
200: '#F48FDB',
|
|
188
|
+
300: '#EE63CE',
|
|
189
|
+
400: energy.ai, // 暗黑模式辅色 -> 霓虹紫 #D946EF
|
|
190
|
+
500: energy.aiLight, // 亮色模式辅色 -> #AB47BC
|
|
191
|
+
600: '#9C27B0',
|
|
192
|
+
700: '#7B1FA2',
|
|
193
|
+
800: '#6A1B9A',
|
|
194
|
+
900: '#4A148C', // 最深
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Neutral -> 虚空灰色阶
|
|
198
|
+
* 映射到带冷色调的虚空色阶
|
|
199
|
+
*/
|
|
200
|
+
export const neutral = {
|
|
201
|
+
50: void_.lightBg, // #F8FAFC 亮色模式背景
|
|
202
|
+
100: void_.lightSurface2, // #F1F5F9
|
|
203
|
+
200: void_.lightSurface3, // #E2E8F0 亮色模式边框
|
|
204
|
+
300: text.secondary, // #B0BEC5 暗黑模式辅文本
|
|
205
|
+
400: text.tertiary, // #78909C
|
|
206
|
+
500: '#607D8B',
|
|
207
|
+
600: '#546E7A',
|
|
208
|
+
700: void_.surface3, // #2A3040 暗黑模式边框
|
|
209
|
+
800: void_.surface1, // #151922 暗黑模式卡片
|
|
210
|
+
900: void_.bg, // #0B0E14 暗黑模式背景
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Green -> 高亮绿色阶 (成功状态)
|
|
214
|
+
*/
|
|
215
|
+
export const green = {
|
|
216
|
+
50: '#E8F5E9', // 淡背景
|
|
217
|
+
100: '#C8E6C9',
|
|
218
|
+
200: '#A5D6A7',
|
|
219
|
+
300: '#81C784',
|
|
220
|
+
400: signal.success, // 暗黑模式成功色 -> #00E676
|
|
221
|
+
500: signal.success, // #00E676
|
|
222
|
+
600: signal.successLight, // 亮色模式成功色 -> #00C853
|
|
223
|
+
700: '#388E3C',
|
|
224
|
+
800: '#2E7D32',
|
|
225
|
+
900: '#1B5E20',
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* Amber -> 赛博黄色阶 (警告状态)
|
|
229
|
+
*/
|
|
230
|
+
export const amber = {
|
|
231
|
+
50: '#FFFDE7', // 淡背景
|
|
232
|
+
100: '#FFF9C4',
|
|
233
|
+
200: '#FFF59D',
|
|
234
|
+
300: signal.warn, // 暗黑模式警告色 -> #FFEA00
|
|
235
|
+
400: signal.warn, // #FFEA00
|
|
236
|
+
500: signal.warnLight, // 亮色模式警告色 -> #FFD600
|
|
237
|
+
600: '#FFC400',
|
|
238
|
+
700: '#FFAB00',
|
|
239
|
+
800: '#FF8F00',
|
|
240
|
+
900: '#FF6F00',
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* Red -> 高亮红色阶 (错误状态)
|
|
244
|
+
*/
|
|
245
|
+
export const red = {
|
|
246
|
+
50: '#FFEBEE', // 淡背景
|
|
247
|
+
100: '#FFCDD2',
|
|
248
|
+
200: '#EF9A9A',
|
|
249
|
+
300: '#E57373',
|
|
250
|
+
400: signal.error, // 暗黑模式错误色 -> #FF1744
|
|
251
|
+
500: signal.error, // #FF1744
|
|
252
|
+
600: signal.errorLight, // 亮色模式错误色 -> #D50000
|
|
253
|
+
700: '#C62828',
|
|
254
|
+
800: '#B71C1C',
|
|
255
|
+
900: '#8E0000',
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Blue -> 信息蓝色阶 (信息状态)
|
|
259
|
+
*/
|
|
260
|
+
export const blue = {
|
|
261
|
+
50: '#E3F2FD', // 淡背景
|
|
262
|
+
100: '#BBDEFB',
|
|
263
|
+
200: '#90CAF9',
|
|
264
|
+
300: signal.info, // 暗黑模式信息色 -> #2196F3
|
|
265
|
+
400: signal.info, // #2196F3
|
|
266
|
+
500: signal.info, // #2196F3
|
|
267
|
+
600: signal.infoLight, // 亮色模式信息色 -> #1976D2
|
|
268
|
+
700: '#1565C0',
|
|
269
|
+
800: '#0D47A1',
|
|
270
|
+
900: '#0A3D91',
|
|
271
|
+
};
|
|
272
|
+
// ============================================================================
|
|
273
|
+
// Theme Context and Utilities
|
|
274
|
+
// ============================================================================
|
|
275
|
+
/**
|
|
276
|
+
* 获取当前主题
|
|
277
|
+
* 默认为暗黑模式(开发者首选)
|
|
278
|
+
*/
|
|
279
|
+
export function getTheme(mode = 'dark') {
|
|
280
|
+
return mode === 'light' ? lightTheme : darkTheme;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* CLI 颜色映射(用于 Ink Text 组件)
|
|
284
|
+
* 将设计令牌映射到 Ink 的颜色名称
|
|
285
|
+
*/
|
|
286
|
+
export const inkColorMap = {
|
|
287
|
+
primary: 'cyan', // 电光青 -> cyan
|
|
288
|
+
accent: 'magenta', // 霓虹紫 -> magenta
|
|
289
|
+
success: 'green',
|
|
290
|
+
warning: 'yellow',
|
|
291
|
+
error: 'red',
|
|
292
|
+
info: 'blue',
|
|
293
|
+
muted: 'gray',
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Chalk 颜色映射(用于终端输出)
|
|
297
|
+
*/
|
|
298
|
+
export const chalkColorMap = {
|
|
299
|
+
primary: 'cyan', // 电光青
|
|
300
|
+
accent: 'magenta', // 霓虹紫
|
|
301
|
+
success: 'green',
|
|
302
|
+
warning: 'yellow',
|
|
303
|
+
error: 'red',
|
|
304
|
+
info: 'blue',
|
|
305
|
+
muted: 'gray',
|
|
306
|
+
};
|
|
307
|
+
// ============================================================================
|
|
308
|
+
// Exports
|
|
309
|
+
// ============================================================================
|
|
310
|
+
export const colors = {
|
|
311
|
+
// New color scales
|
|
312
|
+
void: void_,
|
|
313
|
+
energy,
|
|
314
|
+
signal,
|
|
315
|
+
text,
|
|
316
|
+
// Legacy color scales (mapped to new system)
|
|
317
|
+
indigo,
|
|
318
|
+
cyan,
|
|
319
|
+
neutral,
|
|
320
|
+
green,
|
|
321
|
+
amber,
|
|
322
|
+
red,
|
|
323
|
+
blue,
|
|
324
|
+
// Themes
|
|
325
|
+
light: lightTheme,
|
|
326
|
+
dark: darkTheme,
|
|
327
|
+
// Utilities
|
|
328
|
+
getTheme,
|
|
329
|
+
inkColorMap,
|
|
330
|
+
chalkColorMap,
|
|
331
|
+
};
|
|
332
|
+
export default colors;
|
|
333
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../../src/jsMain/typescript/design-system/colors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAC/E,iCAAiC;AACjC,+EAA+E;AAE/E;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,EAAE,EAA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AAK;IACX,MAAM;IACN,MAAM;IACN,IAAI;IAEJ,6CAA6C;IAC7C,MAAM;IACN,IAAI;IACJ,OAAO;IACP,KAAK;IACL,KAAK;IACL,GAAG;IACH,IAAI;IAEJ,SAAS;IACT,KAAK,EAAE,UAAU;IACjB,IAAI,EAAE,SAAS;IAEf,YAAY;IACZ,QAAQ;IACR,WAAW;IACX,aAAa;CACL,CAAC;AAEX,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AutoDev Design System
|
|
3
|
+
*
|
|
4
|
+
* 基于「霓虹暗夜」与「气韵流动」的视觉语言设计的统一设计系统
|
|
5
|
+
* 支持亮色/暗色模式
|
|
6
|
+
*/
|
|
7
|
+
export * from './colors.js';
|
|
8
|
+
export { default as colors } from './colors.js';
|
|
9
|
+
export * from './theme-helpers.js';
|
|
10
|
+
export { default as themeHelpers } from './theme-helpers.js';
|
|
11
|
+
/**
|
|
12
|
+
* 生成 CSS 变量定义字符串(暗色模式)
|
|
13
|
+
*/
|
|
14
|
+
export declare const cssVariablesDark = "\n:root, [data-theme=\"dark\"] {\n /* \u865A\u7A7A\u8272\u9636 */\n --void-bg: #0B0E14;\n --void-surface-1: #151922;\n --void-surface-2: #1F2430;\n --void-surface-3: #2A3040;\n --void-overlay: rgba(11, 14, 20, 0.8);\n \n /* \u80FD\u91CF\u8272\u9636 - \u7535\u5149\u9752\uFF08\u7528\u6237\u610F\u56FE\uFF09 */\n --energy-xiu: #00F3FF;\n --energy-xiu-hover: #33F5FF;\n --energy-xiu-dim: rgba(0, 243, 255, 0.25);\n \n /* \u80FD\u91CF\u8272\u9636 - \u9713\u8679\u7D2B\uFF08AI \u751F\u6210\uFF09 */\n --energy-ai: #D946EF;\n --energy-ai-hover: #E066F5;\n --energy-ai-dim: rgba(217, 70, 239, 0.25);\n \n /* \u4FE1\u53F7\u8272\u9636 */\n --signal-success: #00E676;\n --signal-error: #FF1744;\n --signal-warn: #FFEA00;\n --signal-info: #2196F3;\n --signal-success-bg: rgba(0, 230, 118, 0.1);\n --signal-error-bg: rgba(255, 23, 68, 0.1);\n --signal-warn-bg: rgba(255, 234, 0, 0.1);\n --signal-info-bg: rgba(33, 150, 243, 0.1);\n \n /* \u6587\u672C\u989C\u8272 */\n --text-primary: #F5F5F5;\n --text-secondary: #B0BEC5;\n --text-tertiary: #78909C;\n --text-inverse: #0B0E14;\n \n /* \u52A8\u6548\u66F2\u7EBF */\n --ease-xiu: cubic-bezier(0.16, 1, 0.3, 1);\n --ease-stream: linear;\n --spring-tactile: linear(\n 0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%,\n 1.017 18.4%, 1.077 20.4%, 1.121 22.8%, 1.149 25.7%, 1.159 29.6%,\n 1.14 34.9%, 1.079 43%, 1.04 48.3%, 1.016 53.4%, 0.999 61.6%,\n 0.995 71.2%, 1\n );\n \n /* \u65F6\u957F */\n --duration-instant: 100ms;\n --duration-fast: 150ms;\n --duration-normal: 250ms;\n --duration-slow: 400ms;\n \n /* \u95F4\u8DDD (4px grid) */\n --space-1: 4px;\n --space-2: 8px;\n --space-3: 12px;\n --space-4: 16px;\n --space-6: 24px;\n --space-8: 32px;\n \n /* \u8BED\u4E49\u5316\u522B\u540D */\n --color-primary: var(--energy-xiu);\n --color-primary-hover: var(--energy-xiu-hover);\n --color-accent: var(--energy-ai);\n --color-accent-hover: var(--energy-ai-hover);\n --color-background: var(--void-bg);\n --color-surface: var(--void-surface-1);\n --color-border: var(--void-surface-3);\n}\n";
|
|
15
|
+
/**
|
|
16
|
+
* 生成 CSS 变量定义字符串(亮色模式)
|
|
17
|
+
*/
|
|
18
|
+
export declare const cssVariablesLight = "\n[data-theme=\"light\"] {\n /* \u865A\u7A7A\u8272\u9636 - \u4EAE\u8272\u7248\u672C */\n --void-bg: #F8FAFC;\n --void-surface-1: #FFFFFF;\n --void-surface-2: #F1F5F9;\n --void-surface-3: #E2E8F0;\n --void-overlay: rgba(0, 0, 0, 0.5);\n \n /* \u80FD\u91CF\u8272\u9636 - \u4EAE\u8272\u7248\u672C */\n --energy-xiu: #00BCD4;\n --energy-xiu-hover: #0097A7;\n --energy-xiu-dim: rgba(0, 188, 212, 0.25);\n \n --energy-ai: #AB47BC;\n --energy-ai-hover: #9C27B0;\n --energy-ai-dim: rgba(171, 71, 188, 0.25);\n \n /* \u4FE1\u53F7\u8272\u9636 - \u4EAE\u8272\u7248\u672C */\n --signal-success: #00C853;\n --signal-error: #D50000;\n --signal-warn: #FFD600;\n --signal-info: #1976D2;\n --signal-success-bg: #E8F5E9;\n --signal-error-bg: #FFEBEE;\n --signal-warn-bg: #FFFDE7;\n --signal-info-bg: #E3F2FD;\n \n /* \u6587\u672C\u989C\u8272 - \u4EAE\u8272\u7248\u672C */\n --text-primary: #1E293B;\n --text-secondary: #475569;\n --text-tertiary: #94A3B8;\n --text-inverse: #F5F5F5;\n \n /* \u8BED\u4E49\u5316\u522B\u540D */\n --color-primary: var(--energy-xiu);\n --color-primary-hover: var(--energy-xiu-hover);\n --color-accent: var(--energy-ai);\n --color-accent-hover: var(--energy-ai-hover);\n --color-background: var(--void-bg);\n --color-surface: var(--void-surface-1);\n --color-border: var(--void-surface-3);\n}\n";
|
|
19
|
+
/**
|
|
20
|
+
* 霓虹发光效果 CSS
|
|
21
|
+
*/
|
|
22
|
+
export declare const cssGlowEffects = "\n/* \u7126\u70B9\u5149\u73AF - \u7535\u5149\u9752 */\n.focus-ring-xiu {\n box-shadow: \n 0 0 0 2px var(--void-bg),\n 0 0 0 4px var(--energy-xiu),\n 0 0 15px 2px var(--energy-xiu-dim);\n transition: box-shadow 0.15s var(--ease-xiu);\n}\n\n/* AI \u601D\u8003\u5149\u6655 - \u9713\u8679\u7D2B */\n.ai-pulse {\n animation: ai-breathe 2s ease-in-out infinite;\n}\n\n@keyframes ai-breathe {\n 0%, 100% { box-shadow: 0 0 0 0 var(--energy-ai-dim); }\n 50% { box-shadow: 0 0 20px 4px var(--energy-ai-dim); }\n}\n\n/* \u7528\u6237\u8F93\u5165\u5149\u6655 - \u7535\u5149\u9752 */\n.user-glow {\n box-shadow: 0 0 10px 2px var(--energy-xiu-dim);\n}\n\n/* AI \u8F93\u51FA\u5149\u6655 - \u9713\u8679\u7D2B */\n.ai-glow {\n box-shadow: 0 0 10px 2px var(--energy-ai-dim);\n}\n\n/* \u5FEB\u901F\u8FC7\u6E21 */\n.transition-xiu {\n transition: all var(--duration-fast) var(--ease-xiu);\n}\n\n/* \u6D41\u5F0F\u8F93\u51FA\u8FC7\u6E21 */\n.transition-stream {\n transition: all var(--duration-normal) var(--ease-stream);\n}\n";
|
|
23
|
+
/**
|
|
24
|
+
* 完整的 CSS 变量定义
|
|
25
|
+
*/
|
|
26
|
+
export declare const cssVariables: string;
|
|
27
|
+
/**
|
|
28
|
+
* 将 CSS 变量注入到文档中(仅在浏览器环境)
|
|
29
|
+
*/
|
|
30
|
+
export declare function injectCSSVariables(): void;
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/jsMain/typescript/design-system/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAM7D;;GAEG;AACH,eAAO,MAAM,gBAAgB,8jEAoE5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,q0CA2C7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,mgCAuC1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,QAAsE,CAAC;AAEhG;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAazC"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AutoDev Design System
|
|
3
|
+
*
|
|
4
|
+
* 基于「霓虹暗夜」与「气韵流动」的视觉语言设计的统一设计系统
|
|
5
|
+
* 支持亮色/暗色模式
|
|
6
|
+
*/
|
|
7
|
+
export * from './colors.js';
|
|
8
|
+
export { default as colors } from './colors.js';
|
|
9
|
+
export * from './theme-helpers.js';
|
|
10
|
+
export { default as themeHelpers } from './theme-helpers.js';
|
|
11
|
+
// ============================================================================
|
|
12
|
+
// CSS Variables - 用于 Web/CSS 环境
|
|
13
|
+
// ============================================================================
|
|
14
|
+
/**
|
|
15
|
+
* 生成 CSS 变量定义字符串(暗色模式)
|
|
16
|
+
*/
|
|
17
|
+
export const cssVariablesDark = `
|
|
18
|
+
:root, [data-theme="dark"] {
|
|
19
|
+
/* 虚空色阶 */
|
|
20
|
+
--void-bg: #0B0E14;
|
|
21
|
+
--void-surface-1: #151922;
|
|
22
|
+
--void-surface-2: #1F2430;
|
|
23
|
+
--void-surface-3: #2A3040;
|
|
24
|
+
--void-overlay: rgba(11, 14, 20, 0.8);
|
|
25
|
+
|
|
26
|
+
/* 能量色阶 - 电光青(用户意图) */
|
|
27
|
+
--energy-xiu: #00F3FF;
|
|
28
|
+
--energy-xiu-hover: #33F5FF;
|
|
29
|
+
--energy-xiu-dim: rgba(0, 243, 255, 0.25);
|
|
30
|
+
|
|
31
|
+
/* 能量色阶 - 霓虹紫(AI 生成) */
|
|
32
|
+
--energy-ai: #D946EF;
|
|
33
|
+
--energy-ai-hover: #E066F5;
|
|
34
|
+
--energy-ai-dim: rgba(217, 70, 239, 0.25);
|
|
35
|
+
|
|
36
|
+
/* 信号色阶 */
|
|
37
|
+
--signal-success: #00E676;
|
|
38
|
+
--signal-error: #FF1744;
|
|
39
|
+
--signal-warn: #FFEA00;
|
|
40
|
+
--signal-info: #2196F3;
|
|
41
|
+
--signal-success-bg: rgba(0, 230, 118, 0.1);
|
|
42
|
+
--signal-error-bg: rgba(255, 23, 68, 0.1);
|
|
43
|
+
--signal-warn-bg: rgba(255, 234, 0, 0.1);
|
|
44
|
+
--signal-info-bg: rgba(33, 150, 243, 0.1);
|
|
45
|
+
|
|
46
|
+
/* 文本颜色 */
|
|
47
|
+
--text-primary: #F5F5F5;
|
|
48
|
+
--text-secondary: #B0BEC5;
|
|
49
|
+
--text-tertiary: #78909C;
|
|
50
|
+
--text-inverse: #0B0E14;
|
|
51
|
+
|
|
52
|
+
/* 动效曲线 */
|
|
53
|
+
--ease-xiu: cubic-bezier(0.16, 1, 0.3, 1);
|
|
54
|
+
--ease-stream: linear;
|
|
55
|
+
--spring-tactile: linear(
|
|
56
|
+
0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%,
|
|
57
|
+
1.017 18.4%, 1.077 20.4%, 1.121 22.8%, 1.149 25.7%, 1.159 29.6%,
|
|
58
|
+
1.14 34.9%, 1.079 43%, 1.04 48.3%, 1.016 53.4%, 0.999 61.6%,
|
|
59
|
+
0.995 71.2%, 1
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
/* 时长 */
|
|
63
|
+
--duration-instant: 100ms;
|
|
64
|
+
--duration-fast: 150ms;
|
|
65
|
+
--duration-normal: 250ms;
|
|
66
|
+
--duration-slow: 400ms;
|
|
67
|
+
|
|
68
|
+
/* 间距 (4px grid) */
|
|
69
|
+
--space-1: 4px;
|
|
70
|
+
--space-2: 8px;
|
|
71
|
+
--space-3: 12px;
|
|
72
|
+
--space-4: 16px;
|
|
73
|
+
--space-6: 24px;
|
|
74
|
+
--space-8: 32px;
|
|
75
|
+
|
|
76
|
+
/* 语义化别名 */
|
|
77
|
+
--color-primary: var(--energy-xiu);
|
|
78
|
+
--color-primary-hover: var(--energy-xiu-hover);
|
|
79
|
+
--color-accent: var(--energy-ai);
|
|
80
|
+
--color-accent-hover: var(--energy-ai-hover);
|
|
81
|
+
--color-background: var(--void-bg);
|
|
82
|
+
--color-surface: var(--void-surface-1);
|
|
83
|
+
--color-border: var(--void-surface-3);
|
|
84
|
+
}
|
|
85
|
+
`;
|
|
86
|
+
/**
|
|
87
|
+
* 生成 CSS 变量定义字符串(亮色模式)
|
|
88
|
+
*/
|
|
89
|
+
export const cssVariablesLight = `
|
|
90
|
+
[data-theme="light"] {
|
|
91
|
+
/* 虚空色阶 - 亮色版本 */
|
|
92
|
+
--void-bg: #F8FAFC;
|
|
93
|
+
--void-surface-1: #FFFFFF;
|
|
94
|
+
--void-surface-2: #F1F5F9;
|
|
95
|
+
--void-surface-3: #E2E8F0;
|
|
96
|
+
--void-overlay: rgba(0, 0, 0, 0.5);
|
|
97
|
+
|
|
98
|
+
/* 能量色阶 - 亮色版本 */
|
|
99
|
+
--energy-xiu: #00BCD4;
|
|
100
|
+
--energy-xiu-hover: #0097A7;
|
|
101
|
+
--energy-xiu-dim: rgba(0, 188, 212, 0.25);
|
|
102
|
+
|
|
103
|
+
--energy-ai: #AB47BC;
|
|
104
|
+
--energy-ai-hover: #9C27B0;
|
|
105
|
+
--energy-ai-dim: rgba(171, 71, 188, 0.25);
|
|
106
|
+
|
|
107
|
+
/* 信号色阶 - 亮色版本 */
|
|
108
|
+
--signal-success: #00C853;
|
|
109
|
+
--signal-error: #D50000;
|
|
110
|
+
--signal-warn: #FFD600;
|
|
111
|
+
--signal-info: #1976D2;
|
|
112
|
+
--signal-success-bg: #E8F5E9;
|
|
113
|
+
--signal-error-bg: #FFEBEE;
|
|
114
|
+
--signal-warn-bg: #FFFDE7;
|
|
115
|
+
--signal-info-bg: #E3F2FD;
|
|
116
|
+
|
|
117
|
+
/* 文本颜色 - 亮色版本 */
|
|
118
|
+
--text-primary: #1E293B;
|
|
119
|
+
--text-secondary: #475569;
|
|
120
|
+
--text-tertiary: #94A3B8;
|
|
121
|
+
--text-inverse: #F5F5F5;
|
|
122
|
+
|
|
123
|
+
/* 语义化别名 */
|
|
124
|
+
--color-primary: var(--energy-xiu);
|
|
125
|
+
--color-primary-hover: var(--energy-xiu-hover);
|
|
126
|
+
--color-accent: var(--energy-ai);
|
|
127
|
+
--color-accent-hover: var(--energy-ai-hover);
|
|
128
|
+
--color-background: var(--void-bg);
|
|
129
|
+
--color-surface: var(--void-surface-1);
|
|
130
|
+
--color-border: var(--void-surface-3);
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
/**
|
|
134
|
+
* 霓虹发光效果 CSS
|
|
135
|
+
*/
|
|
136
|
+
export const cssGlowEffects = `
|
|
137
|
+
/* 焦点光环 - 电光青 */
|
|
138
|
+
.focus-ring-xiu {
|
|
139
|
+
box-shadow:
|
|
140
|
+
0 0 0 2px var(--void-bg),
|
|
141
|
+
0 0 0 4px var(--energy-xiu),
|
|
142
|
+
0 0 15px 2px var(--energy-xiu-dim);
|
|
143
|
+
transition: box-shadow 0.15s var(--ease-xiu);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* AI 思考光晕 - 霓虹紫 */
|
|
147
|
+
.ai-pulse {
|
|
148
|
+
animation: ai-breathe 2s ease-in-out infinite;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@keyframes ai-breathe {
|
|
152
|
+
0%, 100% { box-shadow: 0 0 0 0 var(--energy-ai-dim); }
|
|
153
|
+
50% { box-shadow: 0 0 20px 4px var(--energy-ai-dim); }
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* 用户输入光晕 - 电光青 */
|
|
157
|
+
.user-glow {
|
|
158
|
+
box-shadow: 0 0 10px 2px var(--energy-xiu-dim);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* AI 输出光晕 - 霓虹紫 */
|
|
162
|
+
.ai-glow {
|
|
163
|
+
box-shadow: 0 0 10px 2px var(--energy-ai-dim);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* 快速过渡 */
|
|
167
|
+
.transition-xiu {
|
|
168
|
+
transition: all var(--duration-fast) var(--ease-xiu);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* 流式输出过渡 */
|
|
172
|
+
.transition-stream {
|
|
173
|
+
transition: all var(--duration-normal) var(--ease-stream);
|
|
174
|
+
}
|
|
175
|
+
`;
|
|
176
|
+
/**
|
|
177
|
+
* 完整的 CSS 变量定义
|
|
178
|
+
*/
|
|
179
|
+
export const cssVariables = cssVariablesDark + '\n' + cssVariablesLight + '\n' + cssGlowEffects;
|
|
180
|
+
/**
|
|
181
|
+
* 将 CSS 变量注入到文档中(仅在浏览器环境)
|
|
182
|
+
*/
|
|
183
|
+
export function injectCSSVariables() {
|
|
184
|
+
if (typeof document === 'undefined')
|
|
185
|
+
return;
|
|
186
|
+
const styleId = 'autodev-design-system';
|
|
187
|
+
let styleEl = document.getElementById(styleId);
|
|
188
|
+
if (!styleEl) {
|
|
189
|
+
styleEl = document.createElement('style');
|
|
190
|
+
styleEl.id = styleId;
|
|
191
|
+
document.head.appendChild(styleEl);
|
|
192
|
+
}
|
|
193
|
+
styleEl.textContent = cssVariables;
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/jsMain/typescript/design-system/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAE7D,+EAA+E;AAC/E,gCAAgC;AAChC,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoE/B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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