From 91c8479518ce0a0e837941e68bfa6d4eabd8bc7d Mon Sep 17 00:00:00 2001 From: Yishuai Li Date: Wed, 2 Mar 2022 16:42:57 -0500 Subject: [PATCH] fix: lint scss --- lib/fonts/_hei.scss | 2 +- lib/fonts/_song.scss | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/fonts/_hei.scss b/lib/fonts/_hei.scss index 3e9130d..f3877e2 100644 --- a/lib/fonts/_hei.scss +++ b/lib/fonts/_hei.scss @@ -223,7 +223,7 @@ local("Noto Sans CJK KR Heavy"); } -font-face { +@font-face { font-family: "Heti Hei SC Black Fallback"; font-weight: 800; src: diff --git a/lib/fonts/_song.scss b/lib/fonts/_song.scss index 3d850c8..2fbaa75 100644 --- a/lib/fonts/_song.scss +++ b/lib/fonts/_song.scss @@ -23,8 +23,7 @@ @font-face { font-family: "Heti Song Light Fallback"; font-weight: 200; - src: - local("SimSun"); + src: local("SimSun"); } // 粗体 Bold @@ -40,8 +39,7 @@ @font-face { font-family: "Heti Song Bold Fallback"; font-weight: 600; - src: - local("SimSun"); + src: local("SimSun"); } // 黑体 Black