mirror of
https://github.com/Michatec/Radio.git
synced 2026-04-01 16:06:27 +02:00
Initial commit
This commit is contained in:
35
app/src/main/res/values-night-v31/colors.xml
Normal file
35
app/src/main/res/values-night-v31/colors.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<resources>
|
||||
<!-- NIGHT THEME COLORS -->
|
||||
|
||||
<!-- app colors -->
|
||||
<color name="app_onboarding_icons">@android:color/system_neutral1_100</color>
|
||||
|
||||
<!-- text & icons -->
|
||||
<color name="text_default">@android:color/system_neutral1_100</color>
|
||||
<color name="text_lightweight">@android:color/system_neutral2_200</color>
|
||||
<color name="icon_default">@android:color/system_accent1_100</color>
|
||||
<color name="icon_lightweight">@android:color/system_neutral2_200</color>
|
||||
<color name="icon_lightweight_background">@android:color/system_accent2_600</color>
|
||||
|
||||
<!-- list -->
|
||||
<color name="list_card_background">@android:color/system_neutral1_900</color>
|
||||
<color name="list_card_stroke_background">@android:color/system_accent2_600</color>
|
||||
<color name="list_card_cover_background">@android:color/system_neutral2_700</color>
|
||||
<color name="list_card_delete_background">#FFF2B8B5</color>
|
||||
<color name="list_card_delete_icon">#FF601410</color>
|
||||
<color name="list_card_mark_starred_background">@android:color/system_accent1_100</color>
|
||||
<color name="list_card_mark_starred_star">@android:color/system_accent1_800</color>
|
||||
<color name="search_result_background">@android:color/system_neutral2_800</color>
|
||||
<color name="search_result_background_selected">@android:color/system_accent2_700</color>
|
||||
|
||||
<!-- player sheet -->
|
||||
<color name="default_neutral_white">@android:color/system_accent1_800</color>
|
||||
<color name="player_button_background">@android:color/system_accent1_100</color>
|
||||
<color name="player_button_buffering">@android:color/system_accent1_600</color>
|
||||
<color name="player_sheet_background">@android:color/system_neutral2_800</color>
|
||||
<color name="player_sheet_text_main">@android:color/system_neutral1_50</color>
|
||||
<color name="player_sheet_icon">@android:color/system_neutral1_50</color>
|
||||
|
||||
</resources>
|
||||
53
app/src/main/res/values-night-v31/styles.xml
Normal file
53
app/src/main/res/values-night-v31/styles.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<!-- Default colors -->
|
||||
<item name="colorPrimary">@android:color/system_accent1_100</item>
|
||||
<item name="colorOnPrimary">@android:color/system_accent1_800</item>
|
||||
<item name="colorPrimaryContainer">@android:color/system_accent1_500</item>
|
||||
<item name="colorSecondary">@android:color/system_accent1_100</item>
|
||||
<item name="colorSurfaceVariant">@android:color/system_neutral2_700</item>
|
||||
<item name="colorOnSurfaceVariant">@android:color/system_accent1_100</item>
|
||||
<item name="android:colorBackground">@android:color/system_neutral1_900</item>
|
||||
<item name="android:textColorHighlight">@android:color/system_accent1_500</item>
|
||||
|
||||
<!-- Do not use primary colored elevation overlays to present a visual hierarchy - TOO COLORFUL -->
|
||||
<item name="elevationOverlayEnabled">false</item>
|
||||
|
||||
<!-- Switch Theming -->
|
||||
<item name="switchPreferenceCompatStyle">@style/Preference.SwitchPreferenceCompat.Material3</item>
|
||||
|
||||
<!-- Material Alert Dialog Theming -->
|
||||
<item name="materialAlertDialogTheme">@style/ThemeOverlay.App.MaterialAlertDialog</item>
|
||||
<item name="alertDialogTheme">@style/ThemeOverlay.App.AlertDialogTheme</item>
|
||||
|
||||
<!-- Material Time Picker Theming -->
|
||||
<item name="materialTimePickerTheme">@style/ThemeOverlay.App.TimePicker</item>
|
||||
|
||||
<!-- Don't show light status bar -->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
|
||||
<!-- Set Navigation Bar color -->
|
||||
<item name="android:navigationBarColor">@color/player_sheet_background</item>
|
||||
|
||||
<!-- Set splash screen icon background color -->
|
||||
<item name="android:windowSplashScreenIconBackgroundColor">@color/splashBackgroundColor</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.App.MaterialAlertDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
|
||||
<item name="colorSurface">@color/player_sheet_background</item>
|
||||
<item name="materialAlertDialogBodyTextStyle">@style/TextAppearance.MaterialComponents.Body1</item>
|
||||
<item name="android:backgroundDimAmount">0.64</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.App.TimePicker" parent="ThemeOverlay.MaterialComponents.TimePicker">
|
||||
<item name="colorSurface">@color/player_sheet_background</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.App.AlertDialogTheme" parent="@style/ThemeOverlay.Material3.MaterialAlertDialog">
|
||||
<item name="android:background">@color/player_sheet_background</item>
|
||||
<item name="dialogCornerRadius">28dp</item>
|
||||
<item name="checkedTextViewStyle">@style/AlertDialog.TextColor</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user