mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-14 22:42:50 +01:00
246 lines
11 KiB
XML
246 lines
11 KiB
XML
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<!-- Base application theme. -->
|
|
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight">
|
|
<!-- Customize your theme here. -->
|
|
<item name="colorPrimary">?attr/colorPrimary</item>
|
|
<item name="colorPrimaryDark">?attr/colorPrimaryDark</item>
|
|
<item name="colorAccent">@color/colorAccent</item>
|
|
<item name="android:navigationBarColor">@android:color/black</item>
|
|
<item name="android:textColorPrimary">@android:color/white</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.Launcher" parent="@style/AppTheme.NoActionBarWithTransparentStatusBar">
|
|
<item name="android:windowBackground">@drawable/splash_screen</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.NoActionBar">
|
|
<item name="windowActionBar">false</item>
|
|
<item name="windowNoTitle">true</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.NoActionBarWithTransparentStatusBar" parent="AppTheme.NoActionBar">
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.NoActionBarWithTranslucentWindow" parent="AppTheme.NoActionBarWithTransparentStatusBar">
|
|
<item name="android:windowTranslucentStatus">true</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.ActionBar.Transparent" parent="AppTheme">
|
|
<item name="android:windowBackground">@android:color/black</item>
|
|
<item name="android:windowTranslucentStatus">true</item>
|
|
<item name="android:windowTranslucentNavigation">true</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
|
|
|
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.DayNight" />
|
|
|
|
<style name="CustomTabLayout" parent="Widget.Design.TabLayout">
|
|
<item name="tabIndicatorColor">@android:color/white</item>
|
|
<item name="tabIndicatorHeight">3dp</item>
|
|
<item name="tabBackground">?attr/selectableItemBackground</item>
|
|
<item name="tabSelectedTextColor">@android:color/white</item>
|
|
</style>
|
|
|
|
<style name="MaterialAlertDialogTheme" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
|
|
<item name="android:textSize">?attr/font_default</item>
|
|
<item name="android:background">?attr/cardViewBackgroundColor</item>
|
|
<item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialogTitleTextStyle</item>
|
|
<item name="materialAlertDialogBodyTextStyle">@style/MaterialAlertDialogBodyTextStyle</item>
|
|
<item name="buttonBarPositiveButtonStyle">@style/MaterialAlertDialogPositiveButtonStyle</item>
|
|
<item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item>
|
|
</style>
|
|
|
|
<style name="MaterialAlertDialogPositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
|
<item name="android:textColor">@color/colorAccent</item>
|
|
</style>
|
|
|
|
<style name="MaterialAlertDialogNegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
|
<item name="android:textColor">@color/primaryTextColor</item>
|
|
</style>
|
|
|
|
<style name="MaterialAlertDialogTitleTextStyle" parent="MaterialAlertDialog.MaterialComponents.Title.Text">
|
|
<item name="android:textSize">?attr/font_20</item>
|
|
</style>
|
|
|
|
<style name="MaterialAlertDialogBodyTextStyle">
|
|
<item name="android:textSize">?attr/font_default</item>
|
|
</style>
|
|
|
|
<style name="PreferenceActivityTheme" parent="AppTheme.NoActionBar">
|
|
<item name="android:textAppearanceListItem">@style/PreferenceTitleTextStyle</item>
|
|
<item name="android:textAppearanceListItemSecondary">@style/PreferenceSubtitleTextStyle</item>
|
|
<item name="android:textColorPrimary">@color/primaryTextColor</item>
|
|
<item name="buttonBarPositiveButtonStyle">@style/MaterialAlertDialogPositiveButtonStyle</item>
|
|
<item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item>
|
|
<item name="alertDialogTheme">@style/ListPreferenceStyle</item>
|
|
</style>
|
|
|
|
<style name="PreferenceTitleTextStyle">
|
|
<item name="android:textSize">?attr/font_16</item>
|
|
<item name="android:textColor">@color/primaryTextColor</item>
|
|
</style>
|
|
|
|
<style name="PreferenceSubtitleTextStyle">
|
|
<item name="android:textSize">?attr/font_default</item>
|
|
</style>
|
|
|
|
<style name="ListPreferenceStyle" parent="ThemeOverlay.AppCompat.Dialog.Alert">
|
|
<item name="android:background">?attr/cardViewBackgroundColor</item>
|
|
</style>
|
|
|
|
<style name="FontStyle" />
|
|
|
|
<style name="FontStyle.Small">
|
|
<item name="font_default">12sp</item>
|
|
<item name="font_12">12sp</item>
|
|
<item name="font_16">14sp</item>
|
|
<item name="font_18">16sp</item>
|
|
<item name="font_20">18sp</item>
|
|
</style>
|
|
|
|
<style name="FontStyle.Normal">
|
|
<item name="font_default">14sp</item>
|
|
<item name="font_12">12sp</item>
|
|
<item name="font_16">16sp</item>
|
|
<item name="font_18">18sp</item>
|
|
<item name="font_20">20sp</item>
|
|
</style>
|
|
|
|
<style name="FontStyle.Large">
|
|
<item name="font_default">16sp</item>
|
|
<item name="font_12">14sp</item>
|
|
<item name="font_16">18sp</item>
|
|
<item name="font_18">20sp</item>
|
|
<item name="font_20">22sp</item>
|
|
</style>
|
|
|
|
<style name="FontStyle.XLarge">
|
|
<item name="font_default">18sp</item>
|
|
<item name="font_12">16sp</item>
|
|
<item name="font_16">20sp</item>
|
|
<item name="font_18">22sp</item>
|
|
<item name="font_20">24sp</item>
|
|
</style>
|
|
|
|
<style name="TitleFontStyle" />
|
|
|
|
<style name="TitleFontStyle.Small">
|
|
<item name="title_font_default">12sp</item>
|
|
<item name="title_font_12">12sp</item>
|
|
<item name="title_font_16">14sp</item>
|
|
<item name="title_font_18">16sp</item>
|
|
<item name="title_font_20">18sp</item>
|
|
</style>
|
|
|
|
<style name="TitleFontStyle.Normal">
|
|
<item name="title_font_default">14sp</item>
|
|
<item name="title_font_12">12sp</item>
|
|
<item name="title_font_16">16sp</item>
|
|
<item name="title_font_18">18sp</item>
|
|
<item name="title_font_20">20sp</item>
|
|
</style>
|
|
|
|
<style name="TitleFontStyle.Large">
|
|
<item name="font_default">16sp</item>
|
|
<item name="title_font_12">14sp</item>
|
|
<item name="title_font_16">18sp</item>
|
|
<item name="title_font_18">20sp</item>
|
|
<item name="title_font_20">22sp</item>
|
|
</style>
|
|
|
|
<style name="TitleFontStyle.XLarge">
|
|
<item name="title_font_default">18sp</item>
|
|
<item name="title_font_12">16sp</item>
|
|
<item name="title_font_16">20sp</item>
|
|
<item name="title_font_18">22sp</item>
|
|
<item name="title_font_20">24sp</item>
|
|
</style>
|
|
|
|
<style name="ContentFontStyle" />
|
|
|
|
<style name="ContentFontStyle.Small">
|
|
<item name="content_font_default">12sp</item>
|
|
<item name="content_font_12">12sp</item>
|
|
<item name="content_font_16">14sp</item>
|
|
<item name="content_font_18">16sp</item>
|
|
<item name="content_font_20">18sp</item>
|
|
</style>
|
|
|
|
<style name="ContentFontStyle.Normal">
|
|
<item name="content_font_default">14sp</item>
|
|
<item name="content_font_12">12sp</item>
|
|
<item name="content_font_16">16sp</item>
|
|
<item name="content_font_18">18sp</item>
|
|
<item name="content_font_20">20sp</item>
|
|
</style>
|
|
|
|
<style name="ContentFontStyle.Large">
|
|
<item name="content_font_default">16sp</item>
|
|
<item name="content_font_12">14sp</item>
|
|
<item name="content_font_16">18sp</item>
|
|
<item name="content_font_18">20sp</item>
|
|
<item name="content_font_20">22sp</item>
|
|
</style>
|
|
|
|
<style name="ContentFontStyle.XLarge">
|
|
<item name="content_font_default">18sp</item>
|
|
<item name="content_font_12">16sp</item>
|
|
<item name="content_font_16">20sp</item>
|
|
<item name="content_font_18">22sp</item>
|
|
<item name="content_font_20">24sp</item>
|
|
</style>
|
|
|
|
<style name="ContentFontStyle.XXLarge">
|
|
<item name="content_font_default">20sp</item>
|
|
<item name="content_font_12">18sp</item>
|
|
<item name="content_font_16">22sp</item>
|
|
<item name="content_font_18">24sp</item>
|
|
<item name="content_font_20">26sp</item>
|
|
</style>
|
|
|
|
<style name="Theme" />
|
|
|
|
<style name="Theme.Default">
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
<item name="backgroundColor">@color/backgroundColor</item>
|
|
<item name="roundedBottomSheetPrimaryBackground">@color/roundedBottomSheetPrimaryBackground</item>
|
|
<item name="cardViewBackgroundColor">@color/cardViewBackgroundColor</item>
|
|
<item name="toolbarAndTabBackgroundColor">@color/toolbarAndTabBackgroundColor</item>
|
|
<item name="circularProgressBarBackground">#FFFFFF</item>
|
|
<item name="tabLayoutWithExpandedCollapsingToolbarTabBackground">#FFFFFF</item>
|
|
<item name="tabLayoutWithCollapsedCollapsingToolbarTabBackground">@color/colorPrimary</item>
|
|
<item name="navBarColor">@color/backgroundColor</item>
|
|
</style>
|
|
|
|
<style name="Theme.Default.NormalDark">
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
<item name="backgroundColor">@color/backgroundColor</item>
|
|
<item name="roundedBottomSheetPrimaryBackground">@color/roundedBottomSheetPrimaryBackground</item>
|
|
<item name="cardViewBackgroundColor">@color/cardViewBackgroundColor</item>
|
|
<item name="toolbarAndTabBackgroundColor">@color/toolbarAndTabBackgroundColor</item>
|
|
<item name="circularProgressBarBackground">@color/colorPrimary</item>
|
|
<item name="tabLayoutWithExpandedCollapsingToolbarTabBackground">@color/backgroundColor</item>
|
|
<item name="tabLayoutWithCollapsedCollapsingToolbarTabBackground">@color/colorPrimary</item>
|
|
<item name="navBarColor">@color/backgroundColor</item>
|
|
</style>
|
|
|
|
<style name="Theme.Default.AmoledDark">
|
|
<item name="colorPrimary">#000000</item>
|
|
<item name="colorPrimaryDark">#000000</item>
|
|
<item name="backgroundColor">#000000</item>
|
|
<item name="roundedBottomSheetPrimaryBackground">#000000</item>
|
|
<item name="cardViewBackgroundColor">#000000</item>
|
|
<item name="toolbarAndTabBackgroundColor">#000000</item>
|
|
<item name="circularProgressBarBackground">#000000</item>
|
|
<item name="tabLayoutWithExpandedCollapsingToolbarTabBackground">#000000</item>
|
|
<item name="tabLayoutWithCollapsedCollapsingToolbarTabBackground">#000000</item>
|
|
<item name="navBarColor">#000000</item>
|
|
</style>
|
|
|
|
</resources>
|