Skip to content

Commit

Permalink
chores: comment
Browse files Browse the repository at this point in the history
Change-Id: I8bf78eae3a61f8f27b602784d80b97f4d7fc7a6e
  • Loading branch information
elonz committed Jun 30, 2021
1 parent ebea6a4 commit 62dad86
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ npm run compile # 打包所有文件
- `--file`:编译特定的主题文件,默认为空,即打包所有文件
- `--themeDir`:主题文件所在目录,默认为 `src/themes`
- `--distDir`:生成的 CSS 文件所在目录,默认为 `dist/themes`
- `--platform`:在哪里使用主题,默认为 `mweb`,支持 `typora`、`juejin` (TODO)
- `--platform`:在哪里使用主题,默认为 `mweb`,支持 `typora`、`juejin` (TODO: 需要适配 highlight-js)

注意:传递参数时,必须添加 `--` 分隔符。例如:

Expand Down
2 changes: 1 addition & 1 deletion example.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,4 +462,4 @@ Markdown 语法:

效果如下:

[TOC] // TODO:这里需要适配 remark-toc, mdast-util-toc
[TOC] // 这里需要适配 remark-toc, mdast-util-toc
2 changes: 1 addition & 1 deletion src/themes/bear-palettes/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ $prism-color-selector: #b43d15;
$prism-color-property: #905;
$prism-color-operator: #920448;
$prism-color-function: #0E73A2;
$prism-color-variable: #0E73A2; // TODO: 这里的命名可能要换一下,比如 prism => code-block
$prism-color-variable: #0E73A2; // TODO: 这里的命名可以换成更通用的,比如 prism => code-block
4 changes: 2 additions & 2 deletions src/themes/bear-palettes/override.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* 某些变量的取值引用了其他变量,统一写在这里
* 这个文件应该在变量文件的最后被引入。
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/

// color
Expand Down

0 comments on commit 62dad86

Please sign in to comment.