mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Improved AMOLED theme. Added Button style for borderless buttons. (#1009)
* Improved AMOLED theme. Added Button style for borderless buttons. Some UI improvements. * Deleted unused drawables from app.
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							f2a06eab37
						
					
				
				
					commit
					9b40d10352
				
			| @@ -34,6 +34,7 @@ | ||||
|     <color name="appBarDark">@color/md_grey_900</color> | ||||
|     <color name="backgroundDark">#303030</color> | ||||
|     <color name="dialogDark">@color/md_grey_800</color> | ||||
|     <color name="dialog_oled">#141414</color> | ||||
|  | ||||
|     <color name="selectorColorDark">@color/md_blue_A200_50</color> | ||||
|     <color name="iconColorDark">@color/md_white_1000_54</color> | ||||
| @@ -73,6 +74,7 @@ | ||||
|     <color name="md_blue_A400_38">#612979FF</color> | ||||
|  | ||||
|     <color name="md_blue_grey_900">#263238</color> | ||||
|     <color name="md_blue_grey_800">#37474F</color> | ||||
|  | ||||
|     <color name="md_red_500">#F44336</color> | ||||
|  | ||||
|   | ||||
| @@ -131,10 +131,6 @@ | ||||
|         <item name="android:textColor">?attr/colorAccent</item> | ||||
|     </style> | ||||
|  | ||||
|     <style name="TextAppearance.Medium.Button.Negative"> | ||||
|         <item name="android:textColor">@color/md_red_500</item> | ||||
|     </style> | ||||
|  | ||||
|     <!--=======--> | ||||
|     <!--Widgets--> | ||||
|     <!--=======--> | ||||
| @@ -204,6 +200,26 @@ | ||||
|         <item name="android:background">?attr/selectable_list_drawable</item> | ||||
|     </style> | ||||
|  | ||||
|     <!--==============--> | ||||
|     <!--Widgets.Button--> | ||||
|     <!--==============--> | ||||
|     <style name="Theme.Widget.Button" parent="Widget.AppCompat.Button"/> | ||||
|  | ||||
|     <style name="Theme.Widget.Button.Colored" parent="Widget.AppCompat.Button.Colored"/> | ||||
|  | ||||
|     <style name="Theme.Widget.Button.Borderless" parent="Widget.AppCompat.Button.Borderless"> | ||||
|         <item name="android:textColor">?attr/colorAccent</item> | ||||
|     </style> | ||||
|  | ||||
|     <style name="Theme.Widget.Button.Borderless.Negative"> | ||||
|         <item name="android:textColor">@color/md_red_500</item> | ||||
|     </style> | ||||
|  | ||||
|     <style name="Theme.Widget.Button.Borderless.Small"> | ||||
|         <item name="android:minHeight">48dip</item> | ||||
|         <item name="android:minWidth">48dip</item> | ||||
|     </style> | ||||
|  | ||||
|     <!--===--> | ||||
|     <!--OLD--> | ||||
|     <!--===--> | ||||
|   | ||||
| @@ -87,11 +87,14 @@ | ||||
|     <!--==============--> | ||||
|     <style name="Theme.Base.Amoled" parent="Theme.Base.Dark"> | ||||
|         <item name="android:colorBackground">@color/md_black_1000</item> | ||||
|         <item name="colorPrimary">@color/appBarDark</item> | ||||
|         <item name="colorPrimaryDark">@color/md_blue_grey_900</item> | ||||
|         <item name="colorAccent">@color/md_grey_800</item> | ||||
|  | ||||
|         <!-- Custom Attributes--> | ||||
|         <item name="selectable_list_drawable">@drawable/list_item_selector_amoled</item> | ||||
|         <item name="selectable_library_drawable">@drawable/library_item_selector_amoled</item> | ||||
|         <item name="background_card">@color/md_black_1000</item> | ||||
|         <item name="background_card">@color/dialog_oled</item> | ||||
|     </style> | ||||
|  | ||||
|     <style name="Theme.Tachiyomi.Amoled" parent="Theme.Base.Amoled"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user