added alpha dark/amoled theme monet on sdk 31
todo light theme
This commit is contained in:
@@ -8,7 +8,6 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class ColorReferences {
|
||||
public static final int stockAccent = Color.parseColor(ThemesUtils.isDarkTheme() ? "#71aaeb" : "#528bcc");
|
||||
public static List<Integer> accentColors = Arrays.asList(
|
||||
Color.parseColor("#3f8ae0"), // azure_300 (light accent)
|
||||
Color.parseColor("#4986cc"), // azure_a400
|
||||
|
||||
@@ -91,8 +91,8 @@ public class ThemesUtils {
|
||||
}
|
||||
|
||||
public static int getAccentColor() {
|
||||
var accent = AndroidUtils.getPreferences().getInt("accent_color", ColorReferences.stockAccent);
|
||||
return accent == 0 ? ColorReferences.stockAccent : accent;
|
||||
var accent = AndroidUtils.getPreferences().getInt("accent_color", getColorFromAttr(R.attr.accent));
|
||||
return accent == 0 ? getColorFromAttr(R.attr.accent) : accent;
|
||||
} // Color accent
|
||||
|
||||
public static void setCustomAccentColor(int newColor, boolean async) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9209,8 +9209,6 @@
|
||||
<item name="vkapp_bottom_menu">@menu/bottom_navigation_milkshake</item>
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<style name="VkMilkAmoledStyle" parent="@style/VkMilkAmoledTheme">
|
||||
<item name="android:textColorSecondary">@color/prefs_subtitle</item>
|
||||
<item name="android:textAppearanceMedium">@style/MaterialMediumText</item>
|
||||
@@ -9368,7 +9366,6 @@
|
||||
<item name="vkapp_bottom_menu">@menu/bottom_navigation_milkshake</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="VkMilkLightStyle" parent="@style/VkMilkLightTheme">
|
||||
<item name="android:textColorSecondary">@color/prefs_subtitle</item>
|
||||
<item name="android:textAppearanceMedium">@style/MaterialMediumText</item>
|
||||
|
||||
Reference in New Issue
Block a user