Files
qwen-code/packages/vscode-ide-companion/tailwind.config.js
yiliang114 eff01819a8 build(vscode-ide-companion): add Tailwind CSS configuration
添加 Tailwind CSS、PostCSS 和 Autoprefixer 配置,为渐进式采用 Tailwind CSS 做准备
2025-11-23 16:40:30 +08:00

36 lines
944 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** @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: [],
}