Skip to content

Commit d9ab4e5

Browse files
committed
💄 调整页面布局
1 parent 63b01ce commit d9ab4e5

11 files changed

Lines changed: 20995 additions & 27915 deletions

File tree

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,16 @@
5252
},
5353
"devDependencies": {
5454
"@docusaurus/module-type-aliases": "^3.9.2",
55+
"@docusaurus/tsconfig": "^3.9.2",
5556
"@docusaurus/types": "^3.9.2",
5657
"@tailwindcss/postcss": "^4.1.17",
5758
"@tailwindcss/typography": "^0.5.19",
59+
"@types/react": "^19.2.6",
60+
"@types/react-dom": "^19.2.3",
5861
"autocorrect-node": "^2.14.0",
5962
"markdownlint-cli2": "^0.18.1",
60-
"swc-loader": "^0.2.6"
63+
"swc-loader": "^0.2.6",
64+
"typescript": "^5.9.3"
6165
},
6266
"browserslist": {
6367
"production": [

pnpm-lock.yaml

Lines changed: 20556 additions & 27245 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/ad.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ html[data-theme="dark"] .extern-item:hover {
7878
/* 暗色模式 PC端 */
7979
@media screen and (min-width: 996px) {
8080
html[data-theme="dark"] .extern-item {
81-
background-color: rgba(54, 192, 133, 0.1);
82-
border: 1px solid var(--primary);
81+
background-color: var(--primary-alpha-bg);
82+
border: 1px solid var(--primary-alpha-border);
8383
}
8484

8585
html[data-theme="dark"] .extern-item:hover {

src/css/base/theme.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
--primary: #36c085;
33
--primary-dark: #30b77c;
44
--primary-light: #4fd197;
5-
--primary-alpha-light: rgba(54, 192, 133, 0.04);
6-
--primary-alpha-medium: rgba(54, 192, 133, 0.08);
7-
--primary-alpha-strong: rgba(54, 192, 133, 0.1);
85
--text-primary: #f7fafc;
96
--text-secondary: #e2e8f0;
107
--bg-light: #1e242c;

src/css/base/variables.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
--primary-light: #36c085;
55
--primary-alpha-light: rgba(37, 160, 110, 0.04);
66
--primary-alpha-medium: rgba(37, 160, 110, 0.08);
7-
--primary-alpha-strong: rgba(37, 160, 110, 0.1);
7+
--primary-alpha-strong: rgba(37, 160, 110, 0.14);
8+
--primary-alpha-border: rgba(37, 160, 110, 0.6);
9+
--primary-alpha-bg: rgba(37, 160, 110, 0.1);
810

911
--text-primary: #1a202c;
1012
--text-secondary: #4a5568;
@@ -27,8 +29,8 @@
2729
--transition-fast: 0.2s ease;
2830
--transition-base: 0.3s ease;
2931

30-
--font-base:
31-
-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
32+
--font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
33+
sans-serif;
3234
--font-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
3335

3436
--ifm-color-primary: var(--primary);

src/pages/index.js

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)