|
|
|
@ -67,6 +67,7 @@ private val darkColorPalette = FirefoxColors(
|
|
|
|
|
textSecondary = PhotonColors.LightGrey40,
|
|
|
|
|
textDisabled = PhotonColors.LightGrey05A40,
|
|
|
|
|
textWarning = PhotonColors.Red20,
|
|
|
|
|
textWarningButton = PhotonColors.Red70,
|
|
|
|
|
textAccent = PhotonColors.Violet20,
|
|
|
|
|
textAccentDisabled = PhotonColors.Violet20A60,
|
|
|
|
|
textOnColorPrimary = PhotonColors.LightGrey05,
|
|
|
|
@ -126,6 +127,7 @@ private val lightColorPalette = FirefoxColors(
|
|
|
|
|
textSecondary = PhotonColors.DarkGrey05,
|
|
|
|
|
textDisabled = PhotonColors.DarkGrey90A40,
|
|
|
|
|
textWarning = PhotonColors.Red70,
|
|
|
|
|
textWarningButton = PhotonColors.Red70,
|
|
|
|
|
textAccent = PhotonColors.Violet70,
|
|
|
|
|
textAccentDisabled = PhotonColors.Violet70A80,
|
|
|
|
|
textOnColorPrimary = PhotonColors.LightGrey05,
|
|
|
|
@ -190,6 +192,7 @@ class FirefoxColors(
|
|
|
|
|
textSecondary: Color,
|
|
|
|
|
textDisabled: Color,
|
|
|
|
|
textWarning: Color,
|
|
|
|
|
textWarningButton: Color,
|
|
|
|
|
textAccent: Color,
|
|
|
|
|
textAccentDisabled: Color,
|
|
|
|
|
textOnColorPrimary: Color,
|
|
|
|
@ -304,6 +307,9 @@ class FirefoxColors(
|
|
|
|
|
// Warning text
|
|
|
|
|
var textWarning by mutableStateOf(textWarning)
|
|
|
|
|
private set
|
|
|
|
|
// Warning text on Secondary button
|
|
|
|
|
var textWarningButton by mutableStateOf(textWarningButton)
|
|
|
|
|
private set
|
|
|
|
|
// Small heading, Text link
|
|
|
|
|
var textAccent by mutableStateOf(textAccent)
|
|
|
|
|
private set
|
|
|
|
@ -422,6 +428,7 @@ class FirefoxColors(
|
|
|
|
|
textSecondary = other.textSecondary
|
|
|
|
|
textDisabled = other.textDisabled
|
|
|
|
|
textWarning = other.textWarning
|
|
|
|
|
textWarningButton = other.textWarningButton
|
|
|
|
|
textAccent = other.textAccent
|
|
|
|
|
textAccentDisabled = other.textAccentDisabled
|
|
|
|
|
textOnColorPrimary = other.textOnColorPrimary
|
|
|
|
@ -481,6 +488,7 @@ class FirefoxColors(
|
|
|
|
|
textSecondary = textSecondary,
|
|
|
|
|
textDisabled = textDisabled,
|
|
|
|
|
textWarning = textWarning,
|
|
|
|
|
textWarningButton = textWarningButton,
|
|
|
|
|
textAccent = textAccent,
|
|
|
|
|
textAccentDisabled = textAccentDisabled,
|
|
|
|
|
textOnColorPrimary = textOnColorPrimary,
|
|
|
|
|