mirror of
https://github.com/binwiederhier/ntfy-android.git
synced 2024-06-14 08:34:33 +12:00
35 lines
1.6 KiB
XML
35 lines
1.6 KiB
XML
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
<!-- Main app theme; dark theme styles see values-night/styles.xml -->
|
|
<style name="AppTheme" parent="Theme.Material3.DayNight">
|
|
<item name="colorPrimary">@color/teal</item>
|
|
<item name="colorSecondary">@color/teal</item> <!-- checkboxes, text fields -->
|
|
<item name="android:colorBackground">@color/white</item> <!-- background -->
|
|
|
|
<item name="android:windowLightStatusBar" tools:ignore="NewApi">true</item>
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
<item name="actionModeBackground">?colorSecondary</item>
|
|
<item name="switchPreferenceCompatStyle">@style/MaterialSwitch</item>
|
|
</style>
|
|
|
|
<style name="DangerText" parent="@android:style/TextAppearance">
|
|
<item name="android:textColor">?attr/colorError</item>
|
|
</style>
|
|
|
|
<style name="FloatingActionButton" parent="@style/Widget.Material3.FloatingActionButton.Primary" />
|
|
|
|
<style name="CardView" parent="@style/Widget.Material3.CardView.Elevated" />
|
|
|
|
<style name="CardViewBackground" />
|
|
|
|
<!-- Rounded corners in images, see https://stackoverflow.com/a/61960983/1440785 -->
|
|
<style name="roundedCornersImageView" parent="">
|
|
<item name="cornerFamily">rounded</item>
|
|
<item name="cornerSize">5dp</item>
|
|
</style>
|
|
|
|
<!-- Material Design 3 switches in the preferences -->
|
|
<style name="MaterialSwitch" parent="@style/Preference.SwitchPreferenceCompat.Material">
|
|
<item name="widgetLayout">@layout/view_preference_switch</item>
|
|
</style>
|
|
</resources>
|