mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-28 11:58:23 +01:00
New fonts: Atkinson Hyperlegible and Atkinson Hyperlegible Bold.
This commit is contained in:
parent
679820b96e
commit
5e0b2662d7
@ -17,6 +17,8 @@ public enum ContentFontFamily {
|
|||||||
Manrope(R.style.ContentFontFamily_Manrope, "Manrope"),
|
Manrope(R.style.ContentFontFamily_Manrope, "Manrope"),
|
||||||
ManropeBold(R.style.ContentFontFamily_ManropeBold, "ManropeBold"),
|
ManropeBold(R.style.ContentFontFamily_ManropeBold, "ManropeBold"),
|
||||||
Sriracha(R.style.ContentFontFamily_Sriracha, "Sriracha"),
|
Sriracha(R.style.ContentFontFamily_Sriracha, "Sriracha"),
|
||||||
|
AtkinsonHyperlegible(R.style.ContentFontFamily_AtkinsonHyperlegible, "AtkinsonHyperlegible"),
|
||||||
|
AtkinsonHyperlegibleBold(R.style.ContentFontFamily_AtkinsonHyperlegibleBold, "AtkinsonHyperlegibleBold"),
|
||||||
Custom(R.style.ContentFontFamily, "Custom");
|
Custom(R.style.ContentFontFamily, "Custom");
|
||||||
|
|
||||||
private int resId;
|
private int resId;
|
||||||
|
@ -17,6 +17,8 @@ public enum FontFamily {
|
|||||||
Manrope(R.style.FontFamily_Manrope, "Manrope"),
|
Manrope(R.style.FontFamily_Manrope, "Manrope"),
|
||||||
ManropeBold(R.style.FontFamily_ManropeBold, "ManropeBold"),
|
ManropeBold(R.style.FontFamily_ManropeBold, "ManropeBold"),
|
||||||
Sriracha(R.style.FontFamily_Sriracha, "Sriracha"),
|
Sriracha(R.style.FontFamily_Sriracha, "Sriracha"),
|
||||||
|
AtkinsonHyperlegible(R.style.FontFamily_AtkinsonHyperlegible, "AtkinsonHyperlegible"),
|
||||||
|
AtkinsonHyperlegibleBold(R.style.FontFamily_AtkinsonHyperlegibleBold, "AtkinsonHyperlegibleBold"),
|
||||||
Custom(R.style.FontFamily, "Custom");
|
Custom(R.style.FontFamily, "Custom");
|
||||||
|
|
||||||
private int resId;
|
private int resId;
|
||||||
|
@ -17,6 +17,8 @@ public enum TitleFontFamily {
|
|||||||
Manrope(R.style.TitleFontFamily_Manrope, "Manrope"),
|
Manrope(R.style.TitleFontFamily_Manrope, "Manrope"),
|
||||||
ManropeBold(R.style.TitleFontFamily_ManropeBold, "ManropeBold"),
|
ManropeBold(R.style.TitleFontFamily_ManropeBold, "ManropeBold"),
|
||||||
Sriracha(R.style.TitleFontFamily_Sriracha, "Sriracha"),
|
Sriracha(R.style.TitleFontFamily_Sriracha, "Sriracha"),
|
||||||
|
AtkinsonHyperlegible(R.style.TitleFontFamily_AtkinsonHyperlegible, "AtkinsonHyperlegible"),
|
||||||
|
AtkinsonHyperlegibleBold(R.style.TitleFontFamily_AtkinsonHyperlegibleBold, "AtkinsonHyperlegibleBold"),
|
||||||
Custom(R.style.TitleFontFamily, "Custom");
|
Custom(R.style.TitleFontFamily, "Custom");
|
||||||
|
|
||||||
private int resId;
|
private int resId;
|
||||||
|
23
app/src/main/res/font/atkinson_hyperlegible.xml
Normal file
23
app/src/main/res/font/atkinson_hyperlegible.xml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<font-family xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
<font
|
||||||
|
app:fontStyle="normal"
|
||||||
|
app:fontWeight="400"
|
||||||
|
app:font="@font/atkinson_hyperlegible_regular" />
|
||||||
|
|
||||||
|
<font
|
||||||
|
app:fontStyle="normal"
|
||||||
|
app:fontWeight="700"
|
||||||
|
app:font="@font/atkinson_hyperlegible_bold" />
|
||||||
|
|
||||||
|
<font
|
||||||
|
app:fontStyle="italic"
|
||||||
|
app:fontWeight="400"
|
||||||
|
app:font="@font/atkinson_hyperlegible_bold" />
|
||||||
|
|
||||||
|
<font
|
||||||
|
app:fontStyle="italic"
|
||||||
|
app:fontWeight="700"
|
||||||
|
app:font="@font/atkinson_hyperlegible_bold_italic" />
|
||||||
|
</font-family>
|
BIN
app/src/main/res/font/atkinson_hyperlegible_bold.ttf
Normal file
BIN
app/src/main/res/font/atkinson_hyperlegible_bold.ttf
Normal file
Binary file not shown.
BIN
app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttf
Normal file
BIN
app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttf
Normal file
Binary file not shown.
13
app/src/main/res/font/atkinson_hyperlegible_bold_version.xml
Normal file
13
app/src/main/res/font/atkinson_hyperlegible_bold_version.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<font-family xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
<font
|
||||||
|
app:fontStyle="normal"
|
||||||
|
app:fontWeight="700"
|
||||||
|
app:font="@font/atkinson_hyperlegible_bold" />
|
||||||
|
|
||||||
|
<font
|
||||||
|
app:fontStyle="italic"
|
||||||
|
app:fontWeight="700"
|
||||||
|
app:font="@font/atkinson_hyperlegible_bold_italic" />
|
||||||
|
</font-family>
|
BIN
app/src/main/res/font/atkinson_hyperlegible_italic.ttf
Normal file
BIN
app/src/main/res/font/atkinson_hyperlegible_italic.ttf
Normal file
Binary file not shown.
BIN
app/src/main/res/font/atkinson_hyperlegible_regular.ttf
Normal file
BIN
app/src/main/res/font/atkinson_hyperlegible_regular.ttf
Normal file
Binary file not shown.
@ -162,6 +162,8 @@
|
|||||||
<item>Manrope (No Italic)</item>
|
<item>Manrope (No Italic)</item>
|
||||||
<item>Manrope Bold (No Italic)</item>
|
<item>Manrope Bold (No Italic)</item>
|
||||||
<item>Sriracha</item>
|
<item>Sriracha</item>
|
||||||
|
<item>Atkinson Hyperlegible</item>
|
||||||
|
<item>Atkinson Hyperlegible Bold</item>
|
||||||
<item>@string/settings_custom_font_family_title</item>
|
<item>@string/settings_custom_font_family_title</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
@ -180,6 +182,8 @@
|
|||||||
<item>Manrope</item>
|
<item>Manrope</item>
|
||||||
<item>ManropeBold</item>
|
<item>ManropeBold</item>
|
||||||
<item>Sriracha</item>
|
<item>Sriracha</item>
|
||||||
|
<item>AtkinsonHyperlegible</item>
|
||||||
|
<item>AtkinsonHyperlegibleBold</item>
|
||||||
<item>Custom</item>
|
<item>Custom</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
@ -313,6 +313,14 @@
|
|||||||
<item name="font_family">@font/sriracha_regular</item>
|
<item name="font_family">@font/sriracha_regular</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="FontFamily.AtkinsonHyperlegible">
|
||||||
|
<item name="font_family">@font/atkinson_hyperlegible</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="FontFamily.AtkinsonHyperlegibleBold">
|
||||||
|
<item name="font_family">@font/atkinson_hyperlegible_bold_version</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="TitleFontFamily" />
|
<style name="TitleFontFamily" />
|
||||||
|
|
||||||
<style name="TitleFontFamily.Default">
|
<style name="TitleFontFamily.Default">
|
||||||
@ -371,6 +379,14 @@
|
|||||||
<item name="title_font_family">@font/sriracha_regular</item>
|
<item name="title_font_family">@font/sriracha_regular</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="TitleFontFamily.AtkinsonHyperlegible">
|
||||||
|
<item name="title_font_family">@font/atkinson_hyperlegible</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="TitleFontFamily.AtkinsonHyperlegibleBold">
|
||||||
|
<item name="title_font_family">@font/atkinson_hyperlegible_bold_version</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="ContentFontFamily" />
|
<style name="ContentFontFamily" />
|
||||||
|
|
||||||
<style name="ContentFontFamily.Default">
|
<style name="ContentFontFamily.Default">
|
||||||
@ -429,6 +445,14 @@
|
|||||||
<item name="content_font_family">@font/sriracha_regular</item>
|
<item name="content_font_family">@font/sriracha_regular</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="ContentFontFamily.AtkinsonHyperlegible">
|
||||||
|
<item name="content_font_family">@font/atkinson_hyperlegible</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="ContentFontFamily.AtkinsonHyperlegibleBold">
|
||||||
|
<item name="content_font_family">@font/atkinson_hyperlegible_bold_version</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="Theme" />
|
<style name="Theme" />
|
||||||
|
|
||||||
<style name="Theme.Normal">
|
<style name="Theme.Normal">
|
||||||
|
Loading…
Reference in New Issue
Block a user