feat:增加字体

This commit is contained in:
2025-11-27 14:44:19 +08:00
parent c064dfc417
commit daab0c4495
21 changed files with 1045 additions and 125 deletions

View File

@@ -0,0 +1,19 @@
@font-face {
font-family: 'CustomFont';
src: url('./fonts/custom.woff2') format('woff2');
font-display: swap;
}
:root {
--vp-font-family-base: 'CustomFont', -apple-system, BlinkMacSystemFont,
'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
--vp-font-family-mono: 'CustomFont', 'Fira Code', 'Consolas', monospace;
}
:root {
--vp-c-brand: #10b981;
--vp-c-brand-light: #34d399;
--vp-c-brand-lighter: #6ee7b7;
--vp-c-brand-dark: #059669;
--vp-c-brand-darker: #047857;
}