For #23374 - Update Text Warning and Icon Warning colors to match design system

This commit is contained in:
Gabriel Luong 2022-01-24 12:40:32 -05:00 committed by mergify[bot]
parent 169fc77256
commit b86c1fc5e7
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ private val darkColorPalette = FirefoxColors(
textPrimary = PhotonColors.LightGrey05,
textSecondary = PhotonColors.LightGrey40,
textDisabled = PhotonColors.LightGrey05A40,
textWarning = PhotonColors.Red40,
textWarning = PhotonColors.Red20,
textAccent = PhotonColors.Violet20,
textInverted = PhotonColors.White,
iconPrimary = PhotonColors.LightGrey05,
@ -76,7 +76,7 @@ private val darkColorPalette = FirefoxColors(
iconInverted = PhotonColors.White,
iconNotice = PhotonColors.Blue30,
iconButton = PhotonColors.LightGrey05,
iconWarning = PhotonColors.Red40,
iconWarning = PhotonColors.Red20,
iconAccentViolet = PhotonColors.Violet20,
iconAccentBlue = PhotonColors.Blue20,
iconAccentPink = PhotonColors.Pink20,

View File

@ -56,7 +56,7 @@
<!-- Disabled text -->
<color name="fx_mobile_text_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey05A40</color>
<!-- Warning text -->
<color name="fx_mobile_text_color_warning" tools:ignore="UnusedResources">@color/photonRed40</color>
<color name="fx_mobile_text_color_warning" tools:ignore="UnusedResources">@color/photonRed20</color>
<!-- Small heading, Text link -->
<color name="fx_mobile_text_color_accent">@color/photonViolet20</color>
<!-- Text Inverted/On Color -->
@ -79,7 +79,7 @@
<color name="fx_mobile_icon_color_information">@color/photonBlue30</color>
<!-- Icon button -->
<color name="fx_mobile_icon_color_button" tools:ignore="UnusedResources">@color/photonLightGrey05</color>
<color name="fx_mobile_icon_color_warning" tools:ignore="UnusedResources">@color/photonRed40</color>
<color name="fx_mobile_icon_color_warning" tools:ignore="UnusedResources">@color/photonRed20</color>
<color name="fx_mobile_icon_color_accent_violet">@color/photonViolet20</color>
<color name="fx_mobile_icon_color_accent_blue">@color/photonBlue20</color>
<color name="fx_mobile_icon_color_accent_pink">@color/photonPink20</color>