diff --git a/astro.config.mjs b/astro.config.mjs
index ab537f7..300f1d8 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -77,7 +77,7 @@ export default defineConfig({
borderRadius: "0.75rem",
borderColor: "none",
codeFontSize: "0.875rem",
- codeFontFamily: "'JetBrains Mono Variable', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
+ codeFontFamily: "'Cascadia Mono', 'JetBrains Mono'",
codeLineHeight: "1.5rem",
frames: {
editorBackground: "var(--codeblock-bg)",
diff --git a/package.json b/package.json
index 28a54e5..bb934d0 100644
--- a/package.json
+++ b/package.json
@@ -24,8 +24,6 @@
"@expressive-code/core": "^0.41.3",
"@expressive-code/plugin-collapsible-sections": "^0.41.3",
"@expressive-code/plugin-line-numbers": "^0.41.3",
- "@fontsource-variable/jetbrains-mono": "^5.2.6",
- "@fontsource/roboto": "^5.2.6",
"@iconify-json/fa6-brands": "^1.2.6",
"@iconify-json/fa6-regular": "^1.2.4",
"@iconify-json/fa6-solid": "^1.2.4",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7f0712f..edb1635 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -32,12 +32,6 @@ importers:
'@expressive-code/plugin-line-numbers':
specifier: ^0.41.3
version: 0.41.3
- '@fontsource-variable/jetbrains-mono':
- specifier: ^5.2.6
- version: 5.2.6
- '@fontsource/roboto':
- specifier: ^5.2.6
- version: 5.2.6
'@iconify-json/fa6-brands':
specifier: ^1.2.6
version: 1.2.6
@@ -369,6 +363,11 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
+ '@babel/parser@7.28.4':
+ resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
'@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.27.1':
resolution: {integrity: sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA==}
engines: {node: '>=6.9.0'}
@@ -821,6 +820,10 @@ packages:
resolution: {integrity: sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==}
engines: {node: '>=6.9.0'}
+ '@babel/types@7.28.4':
+ resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}
+ engines: {node: '>=6.9.0'}
+
'@biomejs/biome@2.1.3':
resolution: {integrity: sha512-KE/tegvJIxTkl7gJbGWSgun7G6X/n2M6C35COT6ctYrAy7SiPyNvi6JtoQERVK/VRbttZfgGq96j2bFmhmnH4w==}
engines: {node: '>=14.21.3'}
@@ -1091,12 +1094,6 @@ packages:
'@expressive-code/plugin-text-markers@0.41.3':
resolution: {integrity: sha512-SN8tkIzDpA0HLAscEYD2IVrfLiid6qEdE9QLlGVSxO1KEw7qYvjpbNBQjUjMr5/jvTJ7ys6zysU2vLPHE0sb2g==}
- '@fontsource-variable/jetbrains-mono@5.2.6':
- resolution: {integrity: sha512-1pvtyK6H1paBOixbtZ9xfQgArVQ4SJMW3WSGZPOd5PiW3yg0t8umwKnjDMzW2ofb7qSdiXnsnIaHPT36vEOdlg==}
-
- '@fontsource/roboto@5.2.6':
- resolution: {integrity: sha512-hzarG7yAhMoP418smNgfY4fO7UmuUEm5JUtbxCoCcFHT0hOJB+d/qAEyoNjz7YkPU5OjM2LM8rJnW8hfm0JLaA==}
-
'@iconify-json/fa6-brands@1.2.6':
resolution: {integrity: sha512-twL3X4KWcxAhbc1vz/mIDsVr+CAItk1/EIfxKUVQtpv6O4eydk5KNYqTZWdvJNHGInUgd6vKg21aWfVgb5DXEg==}
@@ -2172,11 +2169,8 @@ packages:
caniuse-api@3.0.0:
resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==}
- caniuse-lite@1.0.30001707:
- resolution: {integrity: sha512-3qtRjw/HQSMlDWf+X79N206fepf4SOOU6SQLMaq/0KkZLmSjPxAkBOQQ+FxbHKfHmYLZFfdWsO3KA90ceHPSnw==}
-
- caniuse-lite@1.0.30001727:
- resolution: {integrity: sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q==}
+ caniuse-lite@1.0.30001743:
+ resolution: {integrity: sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw==}
ccount@2.0.1:
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
@@ -2472,6 +2466,10 @@ packages:
resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==}
engines: {node: '>=8'}
+ detect-libc@2.1.0:
+ resolution: {integrity: sha512-vEtk+OcP7VBRtQZ1EJ3bdgzSfBjgnEalLTp5zjJrS+2Z1w2KZly4SBdac/WDU3hhsNAZ9E8SC96ME4Ey8MZ7cg==}
+ engines: {node: '>=8'}
+
deterministic-object-hash@2.0.2:
resolution: {integrity: sha512-KxektNH63SrbfUyDiwXqRb1rLwKt33AmMv+5Nhsw1kqZ13SJBRTgZHtGbE+hH3a1mVW1cz+4pqSWVPAtLVXTzQ==}
engines: {node: '>=18'}
@@ -5631,6 +5629,11 @@ snapshots:
dependencies:
'@babel/types': 7.28.2
+ '@babel/parser@7.28.4':
+ dependencies:
+ '@babel/types': 7.28.4
+ optional: true
+
'@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.27.1(@babel/core@7.28.0)':
dependencies:
'@babel/core': 7.28.0
@@ -6204,6 +6207,12 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.27.1
+ '@babel/types@7.28.4':
+ dependencies:
+ '@babel/helper-string-parser': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+ optional: true
+
'@biomejs/biome@2.1.3':
optionalDependencies:
'@biomejs/cli-darwin-arm64': 2.1.3
@@ -6396,10 +6405,6 @@ snapshots:
dependencies:
'@expressive-code/core': 0.41.3
- '@fontsource-variable/jetbrains-mono@5.2.6': {}
-
- '@fontsource/roboto@5.2.6': {}
-
'@iconify-json/fa6-brands@1.2.6':
dependencies:
'@iconify/types': 2.0.0
@@ -7102,8 +7107,8 @@ snapshots:
'@types/babel__core@7.20.5':
dependencies:
- '@babel/parser': 7.28.0
- '@babel/types': 7.28.2
+ '@babel/parser': 7.28.4
+ '@babel/types': 7.28.4
'@types/babel__generator': 7.27.0
'@types/babel__template': 7.4.4
'@types/babel__traverse': 7.28.0
@@ -7111,18 +7116,18 @@ snapshots:
'@types/babel__generator@7.27.0':
dependencies:
- '@babel/types': 7.28.2
+ '@babel/types': 7.28.4
optional: true
'@types/babel__template@7.4.4':
dependencies:
- '@babel/parser': 7.28.0
- '@babel/types': 7.28.2
+ '@babel/parser': 7.28.4
+ '@babel/types': 7.28.4
optional: true
'@types/babel__traverse@7.28.0':
dependencies:
- '@babel/types': 7.28.2
+ '@babel/types': 7.28.4
optional: true
'@types/debug@4.1.12':
@@ -7439,7 +7444,7 @@ snapshots:
autoprefixer@10.4.21(postcss@8.5.3):
dependencies:
browserslist: 4.24.4
- caniuse-lite: 1.0.30001707
+ caniuse-lite: 1.0.30001743
fraction.js: 4.3.7
normalize-range: 0.1.2
picocolors: 1.1.1
@@ -7449,7 +7454,7 @@ snapshots:
autoprefixer@10.4.21(postcss@8.5.6):
dependencies:
browserslist: 4.24.4
- caniuse-lite: 1.0.30001707
+ caniuse-lite: 1.0.30001743
fraction.js: 4.3.7
normalize-range: 0.1.2
picocolors: 1.1.1
@@ -7561,14 +7566,14 @@ snapshots:
browserslist@4.24.4:
dependencies:
- caniuse-lite: 1.0.30001707
+ caniuse-lite: 1.0.30001743
electron-to-chromium: 1.5.126
node-releases: 2.0.19
update-browserslist-db: 1.1.3(browserslist@4.24.4)
browserslist@4.25.1:
dependencies:
- caniuse-lite: 1.0.30001727
+ caniuse-lite: 1.0.30001743
electron-to-chromium: 1.5.190
node-releases: 2.0.19
update-browserslist-db: 1.1.3(browserslist@4.25.1)
@@ -7607,13 +7612,11 @@ snapshots:
caniuse-api@3.0.0:
dependencies:
browserslist: 4.25.1
- caniuse-lite: 1.0.30001727
+ caniuse-lite: 1.0.30001743
lodash.memoize: 4.1.2
lodash.uniq: 4.5.0
- caniuse-lite@1.0.30001707: {}
-
- caniuse-lite@1.0.30001727: {}
+ caniuse-lite@1.0.30001743: {}
ccount@2.0.1: {}
@@ -7938,6 +7941,9 @@ snapshots:
detect-libc@2.0.4: {}
+ detect-libc@2.1.0:
+ optional: true
+
deterministic-object-hash@2.0.2:
dependencies:
base-64: 1.0.0
@@ -8916,7 +8922,7 @@ snapshots:
lightningcss@1.29.3:
dependencies:
- detect-libc: 2.0.4
+ detect-libc: 2.1.0
optionalDependencies:
lightningcss-darwin-arm64: 1.29.3
lightningcss-darwin-x64: 1.29.3
diff --git a/src/components/misc/Markdown.astro b/src/components/misc/Markdown.astro
index 33415d0..f58d81d 100644
--- a/src/components/misc/Markdown.astro
+++ b/src/components/misc/Markdown.astro
@@ -1,6 +1,5 @@
---
-import "@fontsource-variable/jetbrains-mono";
-import "@fontsource-variable/jetbrains-mono/wght-italic.css";
+
interface Props {
class: string;
diff --git a/src/content/posts/newtab_link.md b/src/content/posts/newtab_link.md
index 7018891..b2de76c 100644
--- a/src/content/posts/newtab_link.md
+++ b/src/content/posts/newtab_link.md
@@ -139,7 +139,7 @@ export default defineConfig({
borderRadius: "0.75rem",
borderColor: "none",
codeFontSize: "0.875rem",
- codeFontFamily: "'JetBrains Mono Variable', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
+ codeFontFamily: "'Cascadia Mono', 'JetBrains Mono'",
codeLineHeight: "1.5rem",
frames: {
editorBackground: "var(--codeblock-bg)",
diff --git a/src/content/spec/about.md b/src/content/spec/about.md
index f719ac6..bfff891 100644
--- a/src/content/spec/about.md
+++ b/src/content/spec/about.md
@@ -65,6 +65,15 @@ Discord:https://discord.com/users/1068060784300658688
---
+# 2025/9/19
+1. 发现微软做的 [Cascadia Mono](https://github.com/microsoft/cascadia-code) 字体不错,就让他替换 [JetBrains Mono](https://www.jetbrains.com/zh-cn/lp/mono/) 成为第一默认 Code 字体。同时还把用不到的 Roboto 删掉。
+```
+ABCDEFGHIJKLMNOPQRSTUVWXYZ
+abcdefghijklmnopqrstuvwxyz
+0123456789
+!?&@#$%^*()-_+=[]{}<>/\|:;"',.`~
+```
+
# 2025/9/7
1. 合并两个文件 `new-domain.md` + `new-free-dev-domain.md` -> [/posts/new-domain/](/posts/new-domain/)。
2. 删除了网易云音乐外链挂件,因为它加载很慢(最慢10s)。
diff --git a/src/content/spec/info.md b/src/content/spec/info.md
index 713d761..a177c18 100644
--- a/src/content/spec/info.md
+++ b/src/content/spec/info.md
@@ -1,5 +1,10 @@
# 信息/提交记录
## 概览
+
**当前提交:**
@@ -25,6 +30,7 @@
加载中...
+