💄(frontend) improve contrast of Beta icon

The colors of the Beta icon were not contrasted
enough. This was posing an accessibility issue.
We now use a more contrasted color.
This commit is contained in:
Anthony LC
2025-03-13 17:22:24 +01:00
committed by Anthony LC
parent a88d62e07d
commit 3839a2e8b1

View File

@@ -8,7 +8,6 @@ export const Title = () => {
const { t } = useTranslation();
const theme = useCunninghamTheme();
const spacings = theme.spacingsTokens();
const colors = theme.colorsTokens();
return (
<Box $direction="row" $align="center" $gap={spacings['2xs']}>
@@ -36,7 +35,8 @@ export const Title = () => {
`}
$width="40px"
$height="16px"
$background={colors['primary-200']}
$background="#ECECFF"
$color="#5958D3"
>
BETA
</Text>