Add Literata and Fraunces font on iOS
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -19,6 +19,8 @@ public enum WebFont: String, CaseIterable {
|
||||
case sourceSansPro = "SourceSansPro"
|
||||
case lexend = "Lexend"
|
||||
case IBMPlexSans
|
||||
case literata = "Literata"
|
||||
case fraunces = "Fraunces"
|
||||
|
||||
static var sorted: [WebFont] {
|
||||
allCases.sorted { left, right in
|
||||
@ -50,7 +52,9 @@ public enum WebFont: String, CaseIterable {
|
||||
.montserrat,
|
||||
.newsreader,
|
||||
.lxgWWenKai,
|
||||
.lexend:
|
||||
.lexend,
|
||||
.literata,
|
||||
.fraunces:
|
||||
return rawValue
|
||||
case .atkinsonHyperlegible:
|
||||
return "Atkinson Hyperlegible"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -373,6 +373,52 @@ div#appleid-signin {
|
||||
src: url('/static/fonts/Lexend/Lexend-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fraunces';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('/static/fonts/Fraunces/Fraunces-Variable.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fraunces';
|
||||
font-weight: 700;
|
||||
font-style: bold;
|
||||
src: url('/static/fonts/Fraunces/Fraunces-Variable.ttf');
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fraunces';
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
src: url('/static/fonts/Fraunces/Fraunces-Italic.ttf');
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Literata';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('/static/fonts/Literata/Literata-Variable.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Literata';
|
||||
font-weight: 700;
|
||||
font-style: bold;
|
||||
src: url('/static/fonts/Literata/Literata-Variable.ttf');
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Literata';
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
src: url('/static/fonts/Literata/Literata-Italic.ttf');
|
||||
}
|
||||
|
||||
|
||||
.dropdown-arrow {
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
|
||||
Reference in New Issue
Block a user