Skip to content

Commit

Permalink
Merge pull request #47 from Verplitic/main
Browse files Browse the repository at this point in the history
修改字体,微调
  • Loading branch information
oissevalt authored Nov 11, 2023
2 parents 094cd18 + 85c50c8 commit b4407e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@

.vp-project-home .vp-feature-wrapper {
border-bottom: 1px solid var(--border-color);
}

:root {
--font-family: -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", STHeiti, "Microsoft YaHei", SimSun, sans-serif;
--font-family-heading: -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", STHeiti, "Microsoft YaHei", SimSun, sans-serif;
}
2 changes: 1 addition & 1 deletion docs/advanced/edit_jsscript.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ console.log('Hello World!');

海豹使用 [goja](https://github.com/dop251/goja) 作为 js 脚本引擎。goja 目前支持了 ES6 基本上全部的特性,包括 `async/await``promise``generator`

需要注意引擎的整型为 32 位,请小心溢出问题。
需要注意引擎的整型为 32 位,请小心溢出问题。同时 `setTimeout``setInterval` 返回的句柄为一个空对象,而非数字类型。

:::

Expand Down

0 comments on commit b4407e4

Please sign in to comment.