Skip to content

Commit ffd57f1

Browse files
committed
Tweak doc style
1 parent 7ab34eb commit ffd57f1

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

src/css/style.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,21 @@
132132
--blue7: #5081c8;
133133
--blue8: #426ba6;
134134
--blue9: #2f4d77;
135+
135136
/* theme */
136137
--primary-color: var(--indigo5);
137138
--secondary-color: var(--indigo9);
138139
--text-color: hsl(53, 81%, 4%);
139140
--text-bold-color: var(--indigo5);
140-
--sidebar-color: var(--indigo5);
141-
--sidebar-active-color: var(--secondary-color);
141+
--sidebar-color: #887992;
142+
--sidebar-active-color: var(--indigo5);
142143
--bg-color: var(--gray0);
143144
--serif-font: 'Bitter', serif;
144145
--sans-serif-font: 'Source Sans Pro', Helvetica Neue, Arial, sans-serif;
145146
--code-font: Nitti, 'Microsoft YaHei', 微软雅黑, monospace;
146147
--codebox-border-color: var(--indigo4);
147-
--codebox-color: var(--gray8);
148-
--codebox-token-var-color: #d73a49;
148+
--codebox-color: #887992;
149+
--codebox-token-var-color: #736ef6;
149150
--codebox-token-string-color: #6f42c1;
150151
}
151152

src/js/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
window.$docsify = {
22
name: 'metascraper',
33
repo: 'microlinkhq/metascraper',
4-
subMaxLevel: 2,
4+
maxLevel: 3,
55
executeScript: true,
66
auto2top: true,
7-
coverpage: true,
87
ga: 'UA-108549225-3'
98
}

static/main.min.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
window.$docsify = {
22
name: 'metascraper',
33
repo: 'microlinkhq/metascraper',
4-
subMaxLevel: 2,
4+
maxLevel: 3,
55
executeScript: !0,
66
auto2top: !0,
7-
coverpage: !0,
87
ga: 'UA-108549225-3'
98
}

static/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)