Skip to content

Commit

Permalink
fix: fixed font support issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MarMomento committed Jan 1, 2021
1 parent 54e12b2 commit f81c301
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions mo-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ html {

html,
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
text-align: justify;
overflow-x: hidden;
color: #abc0d0;
Expand Down Expand Up @@ -413,7 +413,7 @@ u {
code {
background-color: rgba(34, 37, 38, 0.05);
color: #e96900;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1rem;
font-weight: 500;
margin: 0 2px;
Expand Down Expand Up @@ -453,7 +453,7 @@ a img {

/* code fences */
.md-fences {
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #222526;
padding-top: 6px;
padding-bottom: 6px;
Expand Down Expand Up @@ -657,7 +657,7 @@ a img {

/* preferences */
.ty-preferences {
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #282c34;
}

Expand Down Expand Up @@ -878,7 +878,7 @@ a img {

/** source code mode */
#typora-source {
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #6a6a6a;
}

Expand All @@ -901,5 +901,5 @@ a img {
.typora-node .file-list-item-parent-loc,
.typora-node .file-list-item-time,
.typora-node .file-list-item-summary {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
}
12 changes: 6 additions & 6 deletions mo.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ html {

html,
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
text-align: justify;
overflow-x: hidden;
color: #282c34;
Expand Down Expand Up @@ -405,7 +405,7 @@ u {
code {
background-color: rgba(34, 37, 38, 0.05);
color: #e96900;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1rem;
font-weight: 500;
margin: 0 2px;
Expand Down Expand Up @@ -445,7 +445,7 @@ a img {

/* code fences */
.md-fences {
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #282c34;
padding-top: 6px;
padding-bottom: 6px;
Expand Down Expand Up @@ -648,7 +648,7 @@ a img {

/* preferences */
.ty-preferences {
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #282c34;
}

Expand Down Expand Up @@ -869,7 +869,7 @@ a img {

/** source code mode */
#typora-source {
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial sans-serif;
font-family: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #6a6a6a;
}

Expand All @@ -891,5 +891,5 @@ a img {
.typora-node .file-list-item-parent-loc,
.typora-node .file-list-item-time,
.typora-node .file-list-item-summary {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
}
6 changes: 3 additions & 3 deletions src/utils/dark/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// global config
$serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC",
"Microsoft JhengHei", "Microsoft YaHei", sans-serif;
$serif: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC",
"Microsoft YaHei", sans-serif;
$sans-serif: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue",
Helvetica, Arial sans-serif;
Helvetica, Arial, sans-serif;
$box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
$global: (
root-size: 16px,
Expand Down
6 changes: 3 additions & 3 deletions src/utils/light/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// global config
$serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC",
"Microsoft JhengHei", "Microsoft YaHei", sans-serif;
$serif: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC",
"Microsoft YaHei", sans-serif;
$sans-serif: "Fira Code", Consolas, "Lucida Console", "Courier", monospace, "Helvetica Neue",
Helvetica, Arial sans-serif;
Helvetica, Arial, sans-serif;
$box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
$global: (
root-size: 16px,
Expand Down

0 comments on commit f81c301

Please sign in to comment.