Skip to content

Commit

Permalink
modify: default container width from 46rem to 860px
Browse files Browse the repository at this point in the history
Change-Id: I7c008a02e0b404642d6ee96f4cab6918e19674f6
  • Loading branch information
elonz committed Oct 23, 2021
1 parent 6ece2b2 commit abe9509
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ toothpaste
#### Bear 同款主题
灵感来自 [Bear](https://bear.app/cn/faq/Themes/About%20free%20and%20Pro%20themes%20in%20Bear/) 的主题,**共 22 款**

> 默认配置:字号 16px、页宽 46rem。如果希望和 Bear 完全一致(字号 14px、页宽 40em),请自行更改 [bear-default.scss](src/themes/variables/bear-default.scss) 中的相关变量并重新编译。
> 默认配置:字号 16px、页宽 860px。如果希望和 Bear 完全一致(字号 14px、页宽 40em),请自行更改 [bear-default.scss](src/themes/variables/bear-default.scss) 中的相关变量并重新编译。
![](media/bear-preview.png)

Expand Down
2 changes: 1 addition & 1 deletion src/themes/variables/bear-default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $line-height: 1.6em;
$prism-line-height: 1.5rem;

/* container */
$md-body-max-width: 46rem;
$md-body-max-width: 860px;
$md-body-mg-h: auto;
$md-body-mg-v: 0px;
$md-body-pd-h: 3.2em;
Expand Down
2 changes: 1 addition & 1 deletion src/themes/variables/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $code-font-family: monospace, Menlo-Regular, Menlo, Monaco, Consolas, 'Courier N
$line-height: 1.6em;

/* boxing */
$md-body-max-width: 46rem;
$md-body-max-width: 860px;

$md-body-mg-h: auto;
$md-body-mg-v: 0px;
Expand Down

0 comments on commit abe9509

Please sign in to comment.