@twreporter/core 1.23.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/constants/font.js +4 -2
- package/package.json +2 -2
package/lib/constants/font.js
CHANGED
|
@@ -10,13 +10,15 @@ var serif = 'serif';
|
|
|
10
10
|
var robotoSlab = 'Roboto Slab';
|
|
11
11
|
var notoSansTC = 'Noto Sans TC';
|
|
12
12
|
var sansSerif = 'sans-serif';
|
|
13
|
+
var tauhuOo = 'Tauhu Oo';
|
|
13
14
|
var fonts = exports.fonts = {
|
|
14
15
|
merriweather: merriweather,
|
|
15
16
|
sourceHanSerifTC: sourceHanSerifTC,
|
|
16
17
|
serif: serif,
|
|
17
18
|
robotoSlab: robotoSlab,
|
|
18
19
|
notoSansTC: notoSansTC,
|
|
19
|
-
sansSerif: sansSerif
|
|
20
|
+
sansSerif: sansSerif,
|
|
21
|
+
tauhuOo: tauhuOo
|
|
20
22
|
};
|
|
21
23
|
var fontWeight = exports.fontWeight = {
|
|
22
24
|
extraLight: '100',
|
|
@@ -25,7 +27,7 @@ var fontWeight = exports.fontWeight = {
|
|
|
25
27
|
};
|
|
26
28
|
var fontFamily = exports.fontFamily = {
|
|
27
29
|
title: "".concat(merriweather, ", ").concat(sourceHanSerifTC, ", ").concat(serif),
|
|
28
|
-
"default": "".concat(robotoSlab, ", ").concat(notoSansTC, ", ").concat(sansSerif),
|
|
30
|
+
"default": "".concat(robotoSlab, ", ").concat(notoSansTC, ", ").concat(sansSerif, ", ").concat(tauhuOo),
|
|
29
31
|
// use defaultFallback before ${notoSansTC} is fully loaded
|
|
30
32
|
defaultFallback: "".concat(robotoSlab, ", ").concat(sansSerif)
|
|
31
33
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"repository": "https://github.com/twreporter/twreporter-npm-packages.git",
|
|
6
6
|
"author": "twreporter <developer@twreporter.org>",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"files": [
|
|
21
21
|
"lib"
|
|
22
22
|
],
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "53887ce91ff13e1e44f4d671ecbbccda0e9ef14f"
|
|
24
24
|
}
|