Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitef4918530c3d332abbfd4e3076ffc8f9405d4da7 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-06-28 16:06:58 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-06-28 16:06:58 +0800
Filesa5c9058d69a8334861672f0e2c68208e8b3efb47 /src
Spectre-Dark-Gruvbox-ef4918530c3d332abbfd4e3076ffc8f9405d4da7.tar
Spectre-Dark-Gruvbox-ef4918530c3d332abbfd4e3076ffc8f9405d4da7.tar.gz
Spectre-Dark-Gruvbox-ef4918530c3d332abbfd4e3076ffc8f9405d4da7.zip
Parenta827f7ec305999e010d329802e4611065f3f5544 (diff)
Update East Asian language support and docs
2 files changed, 9 insertions, 6 deletions
-rw-r--r--src/asian.less12
-rw-r--r--src/variables.less3
diff --git a/src/asian.less b/src/asian.less
index e3031f3..38230e4 100644
--- a/src/asian.less
+++ b/src/asian.less
@@ -1,14 +1,16 @@
// Optimized for East Asian CJK
-:lang(zh),
-:lang(ko),
-.cjk {
- font-family: @cjk-font-family;
+:lang(zh) {
+ font-family: @cjk-zh-font-family;
}
:lang(ja) {
font-family: @cjk-jp-font-family;
}
+:lang(ko) {
+ font-family: @cjk-ko-font-family;
+}
+
:lang(zh),
:lang(ja),
.cjk {
@@ -17,7 +19,7 @@
border-bottom: .1rem solid;
text-decoration: none;
}
- // Credit: https://github.com/ethantw/Han
+
del + del,
del + s,
ins + ins,
diff --git a/src/variables.less b/src/variables.less
index df0ec3f..0b7ba53 100644
--- a/src/variables.less
+++ b/src/variables.less
@@ -14,7 +14,8 @@
@base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
@fallback-font-family: "Helvetica Neue", sans-serif;
@cjk-jp-font-family: @base-font-family, "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, Meiryo, @fallback-font-family;
-@cjk-font-family: @base-font-family, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic", @fallback-font-family;
+@cjk-zh-font-family: @base-font-family, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", @fallback-font-family;
+@cjk-ko-font-family: @base-font-family, "Malgun Gothic", @fallback-font-family;
@body-font-family: @base-font-family, @fallback-font-family;
// Sizes