Files
xiaoxia-saas/apps/web/src/index.css
T
灵应 1c83122711
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (push) Failing after 62h9m37s
CI/CD Pipeline / Frontend Lint (push) Failing after 62h10m12s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 62h10m58s
feat: 添加华康俪金黑字体支持
- index.css 添加 @font-face 声明加载 DFLiJinHei-W8.ttf
- ClipPropertiesPanel FONT_OPTIONS 增加「华康俪金黑」选项
- 标题预设「黑金质感」默认字体改为华康俪金黑

注:字体文件需手动放置到 apps/web/public/fonts/DFLiJinHei-W8.ttf
2026-07-06 22:43:07 +08:00

58 lines
1.0 KiB
CSS

/**
* V21 全局重置样式
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body,
#root {
width: 100%;
min-height: 100vh;
}
body {
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--text-primary);
background-color: var(--bg-secondary);
}
/* ── 自定义字体 ── */
@font-face {
font-family: "华康俪金黑";
src: url("/fonts/DFLiJinHei-W8.ttf") format("truetype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* 滚动条 - V21 样式 */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.25);
}
/* 毛玻璃导航栏效果 */
.navbar-glass {
background: rgba(255, 255, 255, 0.86);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
}