Browse Source
* fix: fix Tailwind CSS not being applied due to Less import issue Tailwind CSS v4 was not generating styles because it was imported via Less's @import in global.less. Less could not process the modern CSS syntax (@import "tailwindcss"), causing the PostCSS plugin to never process it. Fixed by importing tailwind.css directly in app.tsx, which allows Vite to process it through PostCSS correctly. Closes #11661 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: remove font smoothing CSS properties Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: 重新设计 Welcome 页面,使用 Tailwind CSS 实现现代简洁风格 - 采用左侧介绍 + 右侧卡片布局 - 使用 Tailwind 类名替代内联样式 - 卡片增加 hover 效果和圆角 - 支持亮色/暗色主题 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: configure Tailwind CSS v3 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: 修复 Welcome 页面主题兼容性问题 - 移除 Tailwind dark: 类,改用 Ant Design token 驱动颜色 - 修复 flex 布局使用 flex-none 替代 flex-1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: 重新设计 Welcome 页面 - 渐变标题 + 毛玻璃卡片 - 标题使用渐变色 - 卡片使用毛玻璃效果 (backdrop-blur) - 添加悬停光效动画 - 三列网格布局 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>pull/11672/head
committed by
GitHub
6 changed files with 100 additions and 106 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
content: ['./src/**/*.tsx'], |
|||
}; |
|||
@ -1,2 +1,14 @@ |
|||
@import "tailwindcss"; |
|||
@source "./src/**/*.tsx"; |
|||
@tailwind base; |
|||
@tailwind components; |
|||
@tailwind utilities; |
|||
|
|||
@layer utilities { |
|||
@keyframes shine { |
|||
100% { |
|||
left: 125%; |
|||
} |
|||
} |
|||
.animate-shine { |
|||
animation: shine 0.75s; |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue