2021-02-08 18:41:49 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-01-21 19:25:46 +01:00
|
|
|
<resources>
|
2023-03-07 12:23:13 +01:00
|
|
|
<style name="ColorAppTheme" parent="Theme.Material3.Light.NoActionBar">
|
|
|
|
<item name="colorPrimary">@color/md_theme_light_primary</item>
|
|
|
|
<item name="colorOnPrimary">@color/md_theme_light_onPrimary</item>
|
|
|
|
<item name="colorPrimaryContainer">@color/md_theme_light_primaryContainer</item>
|
|
|
|
<item name="colorOnPrimaryContainer">@color/md_theme_light_onPrimaryContainer</item>
|
|
|
|
<item name="colorSecondary">@color/md_theme_light_secondary</item>
|
|
|
|
<item name="colorOnSecondary">@color/md_theme_light_onSecondary</item>
|
|
|
|
<item name="colorSecondaryContainer">@color/md_theme_light_secondaryContainer</item>
|
|
|
|
<item name="colorOnSecondaryContainer">@color/md_theme_light_onSecondaryContainer</item>
|
|
|
|
<item name="colorTertiary">@color/md_theme_light_tertiary</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_theme_light_onTertiary</item>
|
|
|
|
<item name="colorTertiaryContainer">@color/md_theme_light_tertiaryContainer</item>
|
|
|
|
<item name="colorOnTertiaryContainer">@color/md_theme_light_onTertiaryContainer</item>
|
|
|
|
<item name="colorError">@color/md_theme_light_error</item>
|
|
|
|
<item name="colorErrorContainer">@color/md_theme_light_errorContainer</item>
|
|
|
|
<item name="colorOnError">@color/md_theme_light_onError</item>
|
|
|
|
<item name="colorOnErrorContainer">@color/md_theme_light_onErrorContainer</item>
|
|
|
|
<item name="android:colorBackground">@color/md_theme_light_background</item>
|
|
|
|
<item name="colorOnBackground">@color/md_theme_light_onBackground</item>
|
|
|
|
<item name="colorSurface">@color/md_theme_light_surface</item>
|
|
|
|
<item name="colorOnSurface">@color/md_theme_light_onSurface</item>
|
|
|
|
<item name="colorSurfaceVariant">@color/md_theme_light_surfaceVariant</item>
|
|
|
|
<item name="colorOnSurfaceVariant">@color/md_theme_light_onSurfaceVariant</item>
|
|
|
|
<item name="colorOutline">@color/md_theme_light_outline</item>
|
|
|
|
<item name="colorOutlineVariant">@color/md_theme_light_outlineVariant</item>
|
|
|
|
<item name="colorOnSurfaceInverse">@color/md_theme_light_inverseOnSurface</item>
|
|
|
|
<item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item>
|
|
|
|
<item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item>
|
|
|
|
</style>
|
2021-02-08 18:41:49 +01:00
|
|
|
|
2023-03-07 12:23:13 +01:00
|
|
|
<style name="BaseAppTheme" parent="ColorAppTheme">
|
|
|
|
<item name="android:statusBarColor">?android:attr/colorBackground</item>
|
|
|
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
2021-02-08 18:41:49 +01:00
|
|
|
<item name="chipChoiceStyle">@style/ChipChoice</item>
|
2021-10-11 17:33:38 +02:00
|
|
|
|
2023-03-07 12:23:13 +01:00
|
|
|
<!-- Workaround for AndroidX PreferenceScreen since it doesn't use MaterialAlertDialogs -->
|
2022-01-21 19:25:46 +01:00
|
|
|
<item name="alertDialogTheme">@style/ThemeOverlay.App.MaterialAlertDialog</item>
|
2023-03-07 12:23:13 +01:00
|
|
|
<!-- Workaround for AndroidX PreferenceScreen since it uses colorAccent as categories text color -->
|
|
|
|
<item name="colorAccent">?attr/colorPrimary</item>
|
2023-03-07 13:56:51 +01:00
|
|
|
<!-- Override the default divider used in PreferenceScreen -->
|
|
|
|
<item name="preferenceFragmentCompatStyle">@style/App.PreferenceFragment.Material</item>
|
2023-03-07 12:34:24 +01:00
|
|
|
<!-- Override the default switch preference style to use the MD3 switch -->
|
|
|
|
<item name="switchPreferenceCompatStyle">@style/App.Preference.SwitchPreferenceCompat.Material3</item>
|
2023-03-09 23:26:20 +01:00
|
|
|
<!-- Override the default divider used by DividerItemDecoration -->
|
|
|
|
<item name="android:listDivider">@drawable/preference_list_divider_m3</item>
|
2021-02-08 18:41:49 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="AppTheme" parent="BaseAppTheme">
|
|
|
|
<item name="android:windowLightStatusBar">true</item>
|
2021-10-14 16:18:24 +02:00
|
|
|
<item name="android:windowLightNavigationBar">true</item>
|
2021-02-08 18:41:49 +01:00
|
|
|
</style>
|
|
|
|
</resources>
|