Lighten blue (link) text for dim and dark themes (#11164)

This commit is contained in:
DS Boyce
2026-07-20 09:29:58 -07:00
committed by GitHub
parent 0fb7251c64
commit 1803de03a4
13 changed files with 49 additions and 68 deletions
+4 -4
View File
@@ -150,10 +150,10 @@ function TranslationLink({
label={l`Translate`}
hoverStyle={[
native({opacity: 0.5}),
web([a.underline, {textDecorationColor: t.palette.primary_500}]),
web([a.underline, {textDecorationColor: t.atoms.text_link.color}]),
]}
hitSlop={HITSLOP_30}>
<Text style={[a.text_sm, {color: t.palette.primary_500}]}>
<Text style={[a.text_sm, t.atoms.text_link]}>
<Trans>Translate</Trans>
</Text>
</Link>
@@ -229,7 +229,7 @@ function TranslationError({
label={l`Try Google Translate`}
hoverStyle={[
native({opacity: 0.5}),
web([a.underline, {textDecorationColor: t.palette.primary_500}]),
web([a.underline, {textDecorationColor: t.atoms.text_link.color}]),
]}
hitSlop={HITSLOP_30}>
<Text
@@ -237,7 +237,7 @@ function TranslationError({
a.text_xs,
a.font_medium,
a.leading_snug,
{color: t.palette.primary_500},
t.atoms.text_link,
]}>
<Trans>Try Google Translate</Trans>
</Text>