Front: Recommended: Set color to white, for better contrast

This commit is contained in:
Arthur Jamet 2023-12-09 08:59:44 +01:00 committed by Zoe Roux
parent ee33c71dfe
commit ba16d7873f

View File

@ -127,7 +127,7 @@ export const ItemDetails = ({
})}
>
<Skeleton {...css({ width: percent(100) })}>
{isLoading || <P {...css([{ m: 0 }, "title"])}>{name}</P>}
{isLoading || <P {...css([{ m: 0, color: 'white' }, "title"])}>{name}</P>}
</Skeleton>
{(subtitle || isLoading) && (
<Skeleton {...css({ height: rem(0.8) })}>