refactor(glass): 批次2 - 迁移 Company 页面使用统一毛玻璃配置

迁移以下 5 个 Company 模块文件:
- fui.ts: FUI_GLASS 改用全局 GLASS_BLUR/BG/BORDER 常量
- index.ts: GLASS 常量改用全局配置
- AnalysisModal.tsx: GLASS_BLUR.sm 替换 blur(8px)
- DynamicTrackingNavSkeleton.tsx: GLASS_BLUR.lg 替换 blur(20px)
- CompanyOverviewNavSkeleton.tsx: GLASS_BLUR.lg 替换 blur(20px)

保持 FUI_GLASS 导出不变,确保向后兼容

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-25 16:22:19 +08:00
parent 8643a38a81
commit 5c4bcce125
5 changed files with 35 additions and 25 deletions

View File

@@ -93,15 +93,17 @@ export const GLOW = {
} as const;
/**
* 玻璃效果
* 玻璃效果 - 使用全局统一配置
*/
import { GLASS_BLUR, GLASS_BG } from '@/constants/glassConfig';
export const GLASS = {
blur: 'blur(16px)',
blurSm: 'blur(8px)',
blurLg: 'blur(24px)',
bgLight: 'rgba(255, 255, 255, 0.03)',
bgDark: 'rgba(0, 0, 0, 0.2)',
bgGold: 'rgba(212, 175, 55, 0.05)',
blur: GLASS_BLUR.md,
blurSm: GLASS_BLUR.sm,
blurLg: GLASS_BLUR.lg,
bgLight: GLASS_BG.light,
bgDark: GLASS_BG.dark,
bgGold: GLASS_BG.gold,
} as const;
/**