mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 12:57:12 +01:00
Add some padding between markdown paragraghs. Delete Caveat font.
This commit is contained in:
parent
513d926770
commit
0df0482d45
@ -10,7 +10,6 @@ public enum ContentFontFamily {
|
|||||||
HarmoniaSans(R.style.ContentFontFamily_HarmoniaSans, "HarmoniaSans"),
|
HarmoniaSans(R.style.ContentFontFamily_HarmoniaSans, "HarmoniaSans"),
|
||||||
Inter(R.style.ContentFontFamily_Inter, "Inter"),
|
Inter(R.style.ContentFontFamily_Inter, "Inter"),
|
||||||
Manrope(R.style.ContentFontFamily_Manrope, "Manrope"),
|
Manrope(R.style.ContentFontFamily_Manrope, "Manrope"),
|
||||||
Caveat(R.style.ContentFontFamily_Caveat, "Caveat"),
|
|
||||||
BadScript(R.style.ContentFontFamily_BadScript, "BadScript"),
|
BadScript(R.style.ContentFontFamily_BadScript, "BadScript"),
|
||||||
Sriracha(R.style.ContentFontFamily_Sriracha, "Sriracha");
|
Sriracha(R.style.ContentFontFamily_Sriracha, "Sriracha");
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ public enum FontFamily {
|
|||||||
HarmoniaSans(R.style.FontFamily_HarmoniaSans, "HarmoniaSans"),
|
HarmoniaSans(R.style.FontFamily_HarmoniaSans, "HarmoniaSans"),
|
||||||
Inter(R.style.FontFamily_Inter, "Inter"),
|
Inter(R.style.FontFamily_Inter, "Inter"),
|
||||||
Manrope(R.style.FontFamily_Manrope, "Manrope"),
|
Manrope(R.style.FontFamily_Manrope, "Manrope"),
|
||||||
Caveat(R.style.FontFamily_Caveat, "Caveat"),
|
|
||||||
BadScript(R.style.FontFamily_BadScript, "BadScript"),
|
BadScript(R.style.FontFamily_BadScript, "BadScript"),
|
||||||
Sriracha(R.style.FontFamily_Sriracha, "Sriracha");
|
Sriracha(R.style.FontFamily_Sriracha, "Sriracha");
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ public enum TitleFontFamily {
|
|||||||
HarmoniaSans(R.style.TitleFontFamily_HarmoniaSans, "HarmoniaSans"),
|
HarmoniaSans(R.style.TitleFontFamily_HarmoniaSans, "HarmoniaSans"),
|
||||||
Inter(R.style.TitleFontFamily_Inter, "Inter"),
|
Inter(R.style.TitleFontFamily_Inter, "Inter"),
|
||||||
Manrope(R.style.TitleFontFamily_Manrope, "Manrope"),
|
Manrope(R.style.TitleFontFamily_Manrope, "Manrope"),
|
||||||
Caveat(R.style.TitleFontFamily_Caveat, "Caveat"),
|
|
||||||
BadScript(R.style.TitleFontFamily_BadScript, "BadScript"),
|
BadScript(R.style.TitleFontFamily_BadScript, "BadScript"),
|
||||||
Sriracha(R.style.TitleFontFamily_Sriracha, "Sriracha");
|
Sriracha(R.style.TitleFontFamily_Sriracha, "Sriracha");
|
||||||
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<font-family xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
||||||
<font
|
|
||||||
app:fontStyle="normal"
|
|
||||||
app:fontWeight="400"
|
|
||||||
app:font="@font/caveat_regular" />
|
|
||||||
|
|
||||||
<font
|
|
||||||
app:fontStyle="normal"
|
|
||||||
app:fontWeight="700"
|
|
||||||
app:font="@font/caveat_bold" />
|
|
||||||
</font-family>
|
|
Binary file not shown.
Binary file not shown.
@ -3,5 +3,6 @@
|
|||||||
android:id="@+id/text"
|
android:id="@+id/text"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="8dp"
|
||||||
android:textSize="?attr/content_font_default"
|
android:textSize="?attr/content_font_default"
|
||||||
android:fontFamily="?attr/content_font_family" />
|
android:fontFamily="?attr/content_font_family" />
|
@ -89,18 +89,6 @@
|
|||||||
android:textSize="?attr/font_default"
|
android:textSize="?attr/font_default"
|
||||||
android:fontFamily="@font/manrope" />
|
android:fontFamily="@font/manrope" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:paddingTop="16dp"
|
|
||||||
android:paddingBottom="16dp"
|
|
||||||
android:paddingStart="72dp"
|
|
||||||
android:paddingEnd="16dp"
|
|
||||||
android:text="Caveat"
|
|
||||||
android:textColor="?attr/primaryTextColor"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="@font/caveat" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -109,8 +109,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
@ -109,8 +109,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
@ -131,7 +131,6 @@
|
|||||||
<item>Harmonia Sans</item>
|
<item>Harmonia Sans</item>
|
||||||
<item>Inter</item>
|
<item>Inter</item>
|
||||||
<item>Manrope</item>
|
<item>Manrope</item>
|
||||||
<item>Caveat</item>
|
|
||||||
<item>Bad Script</item>
|
<item>Bad Script</item>
|
||||||
<item>Sriracha</item>
|
<item>Sriracha</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
@ -144,7 +143,6 @@
|
|||||||
<item>HarmoniaSans</item>
|
<item>HarmoniaSans</item>
|
||||||
<item>Inter</item>
|
<item>Inter</item>
|
||||||
<item>Manrope</item>
|
<item>Manrope</item>
|
||||||
<item>Caveat</item>
|
|
||||||
<item>BadScript</item>
|
<item>BadScript</item>
|
||||||
<item>Sriracha</item>
|
<item>Sriracha</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
@ -262,10 +262,6 @@
|
|||||||
<item name="font_family">@font/manrope</item>
|
<item name="font_family">@font/manrope</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="FontFamily.Caveat">
|
|
||||||
<item name="font_family">@font/caveat</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="FontFamily.BadScript">
|
<style name="FontFamily.BadScript">
|
||||||
<item name="font_family">@font/bad_script_regular</item>
|
<item name="font_family">@font/bad_script_regular</item>
|
||||||
</style>
|
</style>
|
||||||
@ -304,10 +300,6 @@
|
|||||||
<item name="title_font_family">@font/manrope</item>
|
<item name="title_font_family">@font/manrope</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TitleFontFamily.Caveat">
|
|
||||||
<item name="title_font_family">@font/caveat</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="TitleFontFamily.BadScript">
|
<style name="TitleFontFamily.BadScript">
|
||||||
<item name="title_font_family">@font/bad_script_regular</item>
|
<item name="title_font_family">@font/bad_script_regular</item>
|
||||||
</style>
|
</style>
|
||||||
@ -346,10 +338,6 @@
|
|||||||
<item name="content_font_family">@font/manrope</item>
|
<item name="content_font_family">@font/manrope</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ContentFontFamily.Caveat">
|
|
||||||
<item name="content_font_family">@font/caveat</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="ContentFontFamily.BadScript">
|
<style name="ContentFontFamily.BadScript">
|
||||||
<item name="content_font_family">@font/bad_script_regular</item>
|
<item name="content_font_family">@font/bad_script_regular</item>
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user