[+] LXGWWenKai

This commit is contained in:
Azalea Gui
2023-03-01 01:30:18 -05:00
parent c7ef4e13a0
commit 170a121d5b
5 changed files with 11 additions and 4 deletions
Binary file not shown.
Binary file not shown.
-2
View File
@@ -121,8 +121,6 @@ export default class App extends Vue
z-index: 2
pointer-events: none
font-family: "Microsoft YaHei UI", $font
#menu
padding: 5px 10px
margin: 15px 10px
+7
View File
@@ -0,0 +1,7 @@
@font-face
font-family: 'WenKai'
src: url("/fonts/LXGWWenKai-Regular.woff2") format('woff2'), url("/fonts/LXGWWenKai-Regular.woff") format('woff')
.font-custom
font-family: "WenKai", var(--font-fallback)
//line-height: 1.3em
+4 -2
View File
@@ -1,4 +1,5 @@
@import colors
@import font
// Google Fonts
// TODO: Localize
@@ -7,7 +8,9 @@
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap')
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap')
$font: "Noto Sans SC", Avenir, Helvetica, Arial, sans-serif
html
--font-fallback: "Noto Sans SC", Avenir, Helvetica, Arial, sans-serif
@extend .font-custom
.font-code
font-family: Inconsolata, Monaco, Monospaced, serif
@@ -113,7 +116,6 @@ body
text-overflow: ellipsis
#app
font-family: $font
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
text-align: center