update font
This commit is contained in:
parent
9af74d10dc
commit
e5b54cbd11
|
@ -6,7 +6,7 @@ bulma-stylus-root = '../../../../node_modules/bulma-stylus/stylus'
|
|||
$body-size ?= 14px
|
||||
$body-background-color ?= #f7f7f7
|
||||
|
||||
$family-sans-serif ?= Ubuntu, Roboto, 'Open Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", STHeiti, "Microsoft YaHei", SimSun, sans-serif
|
||||
$family-sans-serif ?= Ubuntu, Roboto, 'Open Sans', 'Microsoft YaHei', "Segoe UI", Roboto, Oxygen, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", STHeiti, "Microsoft YaHei", SimSun, sans-serif
|
||||
$family-code ?= 'JetBrains Mono', Consolas, Monaco, "Andale Mono", "Ubuntu Mono", 'Microsoft YaHei', 'Source Code Pro', monospace
|
||||
|
||||
$size-7 ?= .85rem
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hexo-theme-amane",
|
||||
"version": "0.0.36",
|
||||
"version": "0.0.37",
|
||||
"author": "Nofated095 <nofated095@users.noreply.github.com>",
|
||||
"license": "MIT",
|
||||
"description": "A simple, delicate, and modern theme for Hexo",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
const fs = require('hexo-fs');
|
||||
function lazyProcess(htmlContent) {
|
||||
let loadingImage = this.config.lazyload.loadingImg || 'https://blog.amane.icu/lazy.gif';
|
||||
let loadingImage = this.config.lazyload.loadingImg || 'https://blog.amane.icu/lazyload.gif';
|
||||
return htmlContent.replace(/<img(.*?)src="(.*?)"(.*?)>/gi, (str, p1, p2) => {
|
||||
if (/data-src/gi.test(str)) {
|
||||
return str;
|
||||
|
|
Loading…
Reference in New Issue