diff --git a/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt b/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt index b3a074f299..5783e38971 100644 --- a/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt +++ b/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt @@ -70,6 +70,7 @@ private val darkColorPalette = FirefoxColors( textAccent = PhotonColors.Violet20, textAccentDisabled = PhotonColors.Violet20A60, textOnColorPrimary = PhotonColors.LightGrey05, + textOnColorSecondary = PhotonColors.LightGrey40, textActionPrimary = PhotonColors.LightGrey05, textActionSecondary = PhotonColors.DarkGrey90, textActionTertiary = PhotonColors.LightGrey05, @@ -128,6 +129,7 @@ private val lightColorPalette = FirefoxColors( textAccent = PhotonColors.Violet70, textAccentDisabled = PhotonColors.Violet70A80, textOnColorPrimary = PhotonColors.LightGrey05, + textOnColorSecondary = PhotonColors.LightGrey40, textActionPrimary = PhotonColors.LightGrey05, textActionSecondary = PhotonColors.DarkGrey90, textActionTertiary = PhotonColors.DarkGrey90, @@ -191,6 +193,7 @@ class FirefoxColors( textAccent: Color, textAccentDisabled: Color, textOnColorPrimary: Color, + textOnColorSecondary: Color, textActionPrimary: Color, textActionSecondary: Color, textActionTertiary: Color, @@ -310,6 +313,9 @@ class FirefoxColors( // Text Inverted/On Color var textOnColorPrimary by mutableStateOf(textOnColorPrimary) private set + // Text Inverted/On Color + var textOnColorSecondary by mutableStateOf(textOnColorSecondary) + private set // Action Primary text var textActionPrimary by mutableStateOf(textActionPrimary) private set @@ -419,6 +425,7 @@ class FirefoxColors( textAccent = other.textAccent textAccentDisabled = other.textAccentDisabled textOnColorPrimary = other.textOnColorPrimary + textOnColorSecondary = other.textOnColorSecondary textActionPrimary = other.textActionPrimary textActionSecondary = other.textSecondary textActionTertiary = other.textActionTertiary @@ -477,6 +484,7 @@ class FirefoxColors( textAccent = textAccent, textAccentDisabled = textAccentDisabled, textOnColorPrimary = textOnColorPrimary, + textOnColorSecondary = textOnColorSecondary, textActionPrimary = textActionPrimary, textActionSecondary = textActionSecondary, textActionTertiary = textActionTertiary, diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 01d27b9f21..4e64710b7b 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -65,6 +65,8 @@ @color/photonViolet20A60 @color/photonLightGrey05 + + @color/photonLightGrey40 @color/photonLightGrey05 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index e61cb743a4..fc2e46ca42 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -65,6 +65,8 @@ @color/photonViolet70A80 @color/photonLightGrey05 + + @color/photonLightGrey40 @color/photonLightGrey05