mirror of
https://github.com/Michatec/Radio.git
synced 2026-05-31 09:02:40 +02:00
style(ui): adjust highlight colors for better contrast
Reduce opacity of focused highlight colors and adjust control highlight colors across all theme variants to improve visual consistency and accessibility. Changes include: - Lowering alpha values for focused highlights in night themes - Switching from white-based to black-based highlights in light themes - Standardizing highlight opacity across API level-specific styles
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<item name="android:textColorHighlight">@android:color/system_accent1_200</item>
|
||||
<item name="colorControlHighlight">#22000000</item>
|
||||
<item name="android:colorControlHighlight">#22000000</item>
|
||||
<item name="android:colorFocusedHighlight">#44000000</item>
|
||||
<item name="android:colorFocusedHighlight">#66000000</item>
|
||||
|
||||
<!-- Do not use primary colored elevation overlays to present a visual hierarchy - TOO COLORFUL -->
|
||||
<item name="elevationOverlayEnabled">false</item>
|
||||
@@ -42,7 +42,7 @@
|
||||
<item name="materialAlertDialogBodyTextStyle">@style/TextAppearance.MaterialComponents.Body1</item>
|
||||
<item name="android:backgroundDimAmount">0.64</item>
|
||||
<item name="colorControlHighlight">#22000000</item>
|
||||
<item name="android:colorFocusedHighlight">#44000000</item>
|
||||
<item name="android:colorFocusedHighlight">#66000000</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.App.TimePicker" parent="ThemeOverlay.MaterialComponents.TimePicker">
|
||||
|
||||
Reference in New Issue
Block a user