Fixed dialog buttons color
This commit is contained in:
		| @@ -26,6 +26,7 @@ | ||||
|     <color name="disabled">#666</color> | ||||
|     <color name="systemBar">@color/defaultBackground</color> | ||||
|     <color name="defaultBackground">#fff</color> | ||||
|     <color name="inactive">#ccc</color> | ||||
|  | ||||
|     <!-- List Colors --> | ||||
|     <color name="text_color">#333</color> | ||||
|   | ||||
| @@ -25,6 +25,8 @@ | ||||
|         <item name="colorPrimary">@color/systemBar</item> | ||||
|         <!-- Generic background --> | ||||
|         <item name="android:windowBackground">@color/defaultBackground</item> | ||||
|          | ||||
|         <item name="alertDialogTheme">@style/AlertDialogTheme</item> | ||||
|  | ||||
|     </style> | ||||
|  | ||||
| @@ -52,4 +54,18 @@ | ||||
|         <item name="android:textColor">@color/white</item> | ||||
|     </style> | ||||
|  | ||||
|     <!-- Alertdialogs --> | ||||
|     <style name="AlertDialogTheme" parent="ThemeOverlay.MaterialComponents.Dialog.Alert"> | ||||
|         <item name="buttonBarNegativeButtonStyle">@style/NegativeButtonStyle</item> | ||||
|         <item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item> | ||||
|     </style> | ||||
|  | ||||
|     <style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog"> | ||||
|         <item name="android:textColor">@color/inactive</item> | ||||
|     </style> | ||||
|  | ||||
|     <style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog"> | ||||
|         <item name="android:textColor">@color/defaultBrand</item> | ||||
|     </style> | ||||
|  | ||||
| </resources> | ||||
		Reference in New Issue
	
	Block a user