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