mirror of
https://github.com/binwiederhier/ntfy-android.git
synced 2024-06-14 16:44:33 +12:00
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<resources>
|
|
<!--
|
|
This file contains only overrides for the dark theme.
|
|
Also see "ui/Colors.kt" for colors that have to be defined in code.
|
|
|
|
Resources:
|
|
- https://material.io/design/color/dark-theme.html
|
|
- https://material.io/develop/android/theming/dark
|
|
- https://developer.android.com/codelabs/basic-android-kotlin-training-change-app-theme#4
|
|
- https://developer.android.com/guide/topics/ui/look-and-feel/themes
|
|
-->
|
|
|
|
<style name="AppTheme" parent="Theme.Material3.DayNight">
|
|
<item name="colorPrimary">@color/teal_light</item>
|
|
<item name="colorSecondary">@color/teal_light</item> <!-- checkboxes, text fields -->
|
|
<item name="android:colorBackground">@color/black_900</item> <!-- background -->
|
|
<item name="android:statusBarColor">@color/black_900</item>
|
|
<item name="actionModeBackground">@color/black_900</item>
|
|
|
|
<!-- Action bar background & text color -->
|
|
<item name="colorSurface">@color/black_800b</item>
|
|
<item name="colorOnSurface">@color/white</item>
|
|
|
|
<item name="switchPreferenceCompatStyle">@style/MaterialSwitch</item>
|
|
</style>
|
|
|
|
<style name="DangerText" parent="@android:style/TextAppearance">
|
|
<item name="android:textColor">@color/red_light</item>
|
|
</style>
|
|
|
|
<style name="FloatingActionButton" parent="@style/Widget.Material3.FloatingActionButton.Primary" />
|
|
|
|
<style name="CardView" parent="@style/Widget.Material3.CardView.Elevated" />
|
|
|
|
<style name="CardViewBackground" />
|
|
</resources>
|