mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
36 lines
944 B
JavaScript
36 lines
944 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
||
module.exports = {
|
||
content: [
|
||
// 渐进式采用策略:只扫描新创建的Tailwind组件
|
||
"./src/webview/components/ui/**/*.{js,jsx,ts,tsx}",
|
||
"./src/webview/components/TailwindDemo.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: [],
|
||
} |