mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
- 移除旧的消息排序改进总结文档 - 重新组织消息渲染逻辑,合并所有类型的消息按时间戳排序 - 优化工具调用处理流程,添加时间戳支持 - 改进会话保存机制,直接使用SessionManager保存检查点 - 重构部分组件以提高可维护性
49 lines
1.2 KiB
JavaScript
49 lines
1.2 KiB
JavaScript
/**
|
|
* @license
|
|
* Copyright 2025 Qwen Team
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/* eslint-env node */
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
// Progressive adoption strategy: Only scan newly created Tailwind components
|
|
'./src/webview/App.tsx',
|
|
'./src/webview/components/ui/**/*.{js,jsx,ts,tsx}',
|
|
'./src/webview/components/messages/**/*.{js,jsx,ts,tsx}',
|
|
'./src/webview/components/toolcalls/**/*.{js,jsx,ts,tsx}',
|
|
'./src/webview/components/InProgressToolCall.tsx',
|
|
'./src/webview/components/MessageContent.tsx',
|
|
'./src/webview/components/InfoBanner.tsx',
|
|
'./src/webview/components/InputForm.tsx',
|
|
'./src/webview/components/PermissionDrawer.tsx',
|
|
'./src/webview/components/PlanDisplay.tsx',
|
|
],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
qwen: {
|
|
orange: '#615fff',
|
|
'clay-orange': '#4f46e5',
|
|
ivory: '#f5f5ff',
|
|
slate: '#141420',
|
|
green: '#6bcf7f',
|
|
},
|
|
},
|
|
borderRadius: {
|
|
small: '4px',
|
|
medium: '6px',
|
|
large: '8px',
|
|
},
|
|
spacing: {
|
|
small: '4px',
|
|
medium: '8px',
|
|
large: '12px',
|
|
xlarge: '16px',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|