fix(theme): incorrect font-synthesis and readingTime format (#394)
This commit is contained in:
parent
d261dc312a
commit
2557af8e01
2
theme/src/client/styles/normalize.css
vendored
2
theme/src/client/styles/normalize.css
vendored
@ -39,7 +39,7 @@ html {
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-synthesis: none;
|
||||
font-synthesis: style weight;
|
||||
text-rendering: optimizelegibility;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
@ -51,9 +51,9 @@ export function getPlugins(
|
||||
plugins.push(readingTimePlugin({
|
||||
locales: {
|
||||
'/zh/': {
|
||||
word: '$word字',
|
||||
less1Minute: '小于1分钟',
|
||||
time: '约$time分钟',
|
||||
word: '$word 字',
|
||||
less1Minute: '小于 1 分钟',
|
||||
time: '约 $time 分钟',
|
||||
},
|
||||
},
|
||||
...pluginOptions.readingTime,
|
||||
@ -90,7 +90,6 @@ export function getPlugins(
|
||||
if (pluginOptions.photoSwipe !== false) {
|
||||
plugins.push(photoSwipePlugin({
|
||||
selector: '.plume-content > img, .plume-content :not(a) > img',
|
||||
delay: 300,
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user