mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
chore(vscode-ide-companion): tailwind base
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
// eslint-disable-next-line no-undef
|
||||
module.exports = {
|
||||
content: [
|
||||
// 渐进式采用策略:只扫描新创建的Tailwind组件
|
||||
"./src/webview/components/ui/**/*.{js,jsx,ts,tsx}",
|
||||
"./src/webview/components/TailwindDemo.tsx",
|
||||
'./src/webview/components/ui/**/*.{js,jsx,ts,tsx}',
|
||||
// 当需要在更多组件中使用Tailwind时,可以逐步添加路径
|
||||
// "./src/webview/components/NewComponent/**/*.{js,jsx,ts,tsx}",
|
||||
// "./src/webview/pages/**/*.{js,jsx,ts,tsx}",
|
||||
@@ -11,26 +11,26 @@ module.exports = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
'qwen': {
|
||||
'orange': '#615fff',
|
||||
qwen: {
|
||||
orange: '#615fff',
|
||||
'clay-orange': '#4f46e5',
|
||||
'ivory': '#f5f5ff',
|
||||
'slate': '#141420',
|
||||
'green': '#6bcf7f',
|
||||
}
|
||||
ivory: '#f5f5ff',
|
||||
slate: '#141420',
|
||||
green: '#6bcf7f',
|
||||
},
|
||||
},
|
||||
borderRadius: {
|
||||
'small': '4px',
|
||||
'medium': '6px',
|
||||
'large': '8px',
|
||||
small: '4px',
|
||||
medium: '6px',
|
||||
large: '8px',
|
||||
},
|
||||
spacing: {
|
||||
'small': '4px',
|
||||
'medium': '8px',
|
||||
'large': '12px',
|
||||
'xlarge': '16px',
|
||||
}
|
||||
small: '4px',
|
||||
medium: '8px',
|
||||
large: '12px',
|
||||
xlarge: '16px',
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user