mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add LXGWWenKai font
This commit is contained in:
parent
0e73a62914
commit
2d528a6cce
3 changed files with 18 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ public enum WebFont: String, CaseIterable {
|
|||
case montserrat = "Montserrat"
|
||||
case newsreader = "Newsreader"
|
||||
case atkinsonHyperlegible = "AtkinsonHyperlegible"
|
||||
case lxgWWenKai = "LXGWWenKai"
|
||||
|
||||
static var sorted: [WebFont] {
|
||||
allCases.sorted { left, right in
|
||||
|
|
@ -44,7 +45,8 @@ public enum WebFont: String, CaseIterable {
|
|||
.sourceserifpro,
|
||||
.georgia,
|
||||
.montserrat,
|
||||
.newsreader:
|
||||
.newsreader,
|
||||
.lxgWWenKai:
|
||||
return rawValue
|
||||
case .atkinsonHyperlegible:
|
||||
return "Atkinson Hyperlegible"
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -312,6 +312,20 @@ div#appleid-signin {
|
|||
src: url('/static/fonts/AtkinsonHyperlegible/AtkinsonHyperlegible-Italic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'LXGWWenKai';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('/static/fonts/LXGWWenKai/LXGWWenKai-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'LXGWWenKai';
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
src: url('/static/fonts/LXGWWenKai/LXGWWenKai-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'SF Mono';
|
||||
font-weight: 400;
|
||||
|
|
|
|||
Loading…
Reference in a new issue