style(tailwind.config.js): 添加自定义颜色配置以增强主题一致性
``` 这个提交消息简洁地描述了在 `tailwind.config.js` 文件中添加了自定义颜色配置,目的是为了增强主题的一致性。使用了 `style` 类型,因为这是一个不影响功能但提升代码可读性和维护性的更改。
Showing
1 changed file
with
10 additions
and
1 deletions
| ... | @@ -5,7 +5,16 @@ export default { | ... | @@ -5,7 +5,16 @@ export default { |
| 5 | "./src/**/*.{vue,js,ts,jsx,tsx}", | 5 | "./src/**/*.{vue,js,ts,jsx,tsx}", |
| 6 | ], | 6 | ], |
| 7 | theme: { | 7 | theme: { |
| 8 | - extend: {}, | 8 | + extend: { |
| 9 | + colors: { | ||
| 10 | + primary: '#4caf50', | ||
| 11 | + secondary: '#2196f3', | ||
| 12 | + 'background-start': '#f0f9ef', | ||
| 13 | + 'background-end': '#e6f4ff', | ||
| 14 | + 'text-base': '#333333', | ||
| 15 | + 'text-light': '#6e6e6e' | ||
| 16 | + } | ||
| 17 | + }, | ||
| 9 | }, | 18 | }, |
| 10 | plugins: [], | 19 | plugins: [], |
| 11 | } | 20 | } | ... | ... |
-
Please register or login to post a comment