Change messageStarColor to iconStarColor and move it to legacy design system

This commit is contained in:
Wolf-Martell Montwé 2024-05-07 14:02:27 +02:00
parent 08781102e0
commit db1132f422
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
5 changed files with 12 additions and 5 deletions

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?attr/messageStarColor"
android:tint="?attr/iconStarColor"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="19dp"
android:tint="?attr/messageStarColor"
android:tint="?attr/iconStarColor"
android:viewportWidth="20"
android:viewportHeight="19">
<path

View file

@ -30,7 +30,6 @@
<attr name="messageListSwipeDeleteBackgroundColor" format="reference|color"/>
<attr name="messageListSwipeSpamBackgroundColor" format="reference|color"/>
<attr name="messageListSwipeMoveBackgroundColor" format="reference|color"/>
<attr name="messageStarColor" format="color"/>
<attr name="messageDetailsDividerColor" format="reference|color"/>
<attr name="composerBackgroundColor" format="color"/>
<attr name="contactPictureFallbackDefaultBackgroundColor" format="reference|color"/>

View file

@ -66,6 +66,8 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="iconStarColor">#fbbc04</item>
// TODO: Remove iconSettingsImportStatus as soon icons are migrated to icon module
<item name="iconSettingsImportStatus">@drawable/ic_import_status</item>
@ -99,7 +101,6 @@
<item name="messageListSwipeSpamBackgroundColor">@color/material_red_700</item>
<item name="messageListSwipeMoveBackgroundColor">@color/material_purple_500</item>
<item name="messageStarColor">#fbbc04</item>
<item name="messageDetailsDividerColor">#ffcccccc</item>
<item name="contactPictureFallbackDefaultBackgroundColor">#ffababab</item>
<item name="contactPictureFallbackBackgroundColors">@array/contact_picture_fallback_background_colors_light</item>
@ -188,6 +189,8 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="iconStarColor">#fdd663</item>
// TODO: Remove iconSettingsImportStatus as soon icons are migrated to icon module
<item name="iconSettingsImportStatus">@drawable/ic_import_status</item>
@ -220,7 +223,6 @@
<item name="messageListSwipeSpamBackgroundColor">@color/material_red_800</item>
<item name="messageListSwipeMoveBackgroundColor">@color/material_purple_600</item>
<item name="messageStarColor">#fdd663</item>
<item name="messageDetailsDividerColor">#ff555555</item>
<item name="contactTokenBackgroundColor">#313131</item>
<item name="contactPictureFallbackDefaultBackgroundColor">#ff606060</item>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="IconStyles">
<attr name="iconStarColor" format="color"/>
</declare-styleable>
</resources>