mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
- 添加时间戳支持,确保消息按时间顺序排列 - 更新工具调用处理逻辑,自动添加和保留时间戳 - 修改消息渲染逻辑,将所有类型的消息合并排序后统一渲染 - 优化完成的工具调用显示,修复显示顺序问题 - 调整进行中的工具调用显示,统一到消息流中展示 - 移除重复的计划展示逻辑,避免最新块重复出现 - 重构消息处理和渲染代码,提高可维护性
46 lines
1.3 KiB
JavaScript
46 lines
1.3 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
||
// eslint-disable-next-line no-undef
|
||
module.exports = {
|
||
content: [
|
||
// 渐进式采用策略:只扫描新创建的Tailwind组件
|
||
'./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',
|
||
// 当需要在更多组件中使用Tailwind时,可以逐步添加路径
|
||
// "./src/webview/components/NewComponent/**/*.{js,jsx,ts,tsx}",
|
||
// "./src/webview/pages/**/*.{js,jsx,ts,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: [],
|
||
};
|