2021-10-26 02:01:10 +13:00
|
|
|
<resources>
|
2022-02-08 12:35:36 +13:00
|
|
|
<!-- Main app theme; dark theme styles see values-night/styles.xml -->
|
2022-04-28 12:58:23 +12:00
|
|
|
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
2022-02-08 12:35:36 +13:00
|
|
|
<item name="colorPrimary">@color/teal</item>
|
|
|
|
<item name="colorAccent">@color/teal</item> <!-- checkboxes, text fields -->
|
2022-04-28 12:58:23 +12:00
|
|
|
<item name="android:colorBackground">@color/gray_light</item> <!-- background -->
|
2022-02-08 12:35:36 +13:00
|
|
|
<item name="android:statusBarColor">@color/teal</item>
|
|
|
|
<item name="actionModeBackground">@color/teal_dark</item>
|
2022-04-28 12:58:23 +12:00
|
|
|
<item name="android:popupMenuStyle">@style/PopupMenu</item>
|
2022-02-08 12:35:36 +13:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Danger buttons & text -->
|
|
|
|
<style name="DangerText" parent="@android:style/TextAppearance">
|
|
|
|
<item name="android:textColor">@color/red_dark</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Floating action button -->
|
|
|
|
<style name="FloatingActionButton" parent="@style/Widget.MaterialComponents.FloatingActionButton">
|
|
|
|
<item name="tint">@color/white</item>
|
|
|
|
<item name="backgroundTint">@color/teal</item>
|
2021-10-26 02:01:10 +13:00
|
|
|
</style>
|
2022-01-10 16:08:29 +13:00
|
|
|
|
2022-01-20 15:05:41 +13:00
|
|
|
<!-- Rounded corners in images, see https://stackoverflow.com/a/61960983/1440785 -->
|
2022-01-10 16:08:29 +13:00
|
|
|
<style name="roundedCornersImageView" parent="">
|
|
|
|
<item name="cornerFamily">rounded</item>
|
|
|
|
<item name="cornerSize">5dp</item>
|
|
|
|
</style>
|
2022-04-28 12:58:23 +12:00
|
|
|
|
|
|
|
<style name="PopupMenu" parent="@style/Widget.Material3.PopupMenu">
|
|
|
|
<item name="android:popupBackground">@color/white</item>
|
|
|
|
</style>
|
2021-10-26 02:01:10 +13:00
|
|
|
</resources>
|