This commit is contained in:
shaunasong 2024-09-17 14:37:52 -07:00 коммит произвёл ShaunaSong
Родитель fb632ca7d2
Коммит 801423f48a
6 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -3,6 +3,6 @@
Licensed under the MIT License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/azure_communication_ui_calling_on_primary_color" android:state_enabled="true" />
<item android:color="?attr/azure_communication_ui_calling_foreground_on_primary_color" android:state_enabled="true" />
<item android:color="@color/azure_communication_ui_calling_color_on_disabled" android:state_enabled="false" />
</selector>

Просмотреть файл

@ -52,7 +52,7 @@
android:focusable="true"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="?attr/azure_communication_ui_calling_on_primary_color"
android:textColor="?attr/azure_communication_ui_calling_foreground_on_primary_color"
app:backgroundTint="@color/azure_communication_ui_calling_primary_selector"
/>

Просмотреть файл

@ -8,7 +8,7 @@
These attributes represent the brand colors.
-->
<attr name="azure_communication_ui_calling_primary_color" type="color|reference" />
<attr name="azure_communication_ui_calling_on_primary_color" type= "color|reference"/>
<attr name="azure_communication_ui_calling_foreground_on_primary_color" type= "color|reference"/>
<attr name="azure_communication_ui_calling_primary_color_tint10" type="color|reference" />
<attr name="azure_communication_ui_calling_primary_color_tint20" type="color|reference" />
<attr name="azure_communication_ui_calling_primary_color_tint30" type="color|reference" />

Просмотреть файл

@ -19,7 +19,7 @@
<item name="azure_communication_ui_calling_primary_color">
@color/fluentui_communication_blue
</item>
<item name="azure_communication_ui_calling_on_primary_color">
<item name="azure_communication_ui_calling_foreground_on_primary_color">
@color/azure_communication_ui_calling_color_on_primary
</item>
<item name="azure_communication_ui_calling_primary_color_tint10">#2B88D8</item>

Просмотреть файл

@ -5,7 +5,7 @@
<resources>
<public name="AzureCommunicationUICalling.Theme" type="style" />
<public name="azure_communication_ui_calling_primary_color" type="attr" />
<public name="azure_communication_ui_calling_on_primary_color" type="attr" />
<public name="azure_communication_ui_calling_foreground_on_primary_color" type="attr" />
<public name="azure_communication_ui_calling_primary_color_tint10" type="attr" />
<public name="azure_communication_ui_calling_primary_color_tint20" type="attr" />
<public name="azure_communication_ui_calling_primary_color_tint30" type="attr" />

Просмотреть файл

@ -16,7 +16,7 @@
<item name="azure_communication_ui_calling_primary_color_tint10">#882BD8</item>
<item name="azure_communication_ui_calling_primary_color_tint20">#E0C7F4</item>
<item name="azure_communication_ui_calling_primary_color_tint30">#ECDEF9</item>
<item name="azure_communication_ui_calling_on_primary_color">#141414</item>
<item name="azure_communication_ui_calling_foreground_on_primary_color">#141414</item>
</style>
</resources>