Front: Recommended: Use theme for color

This commit is contained in:
Arthur Jamet 2023-12-09 16:49:24 +01:00 committed by Zoe Roux
parent db3f03dc6c
commit fbf660d532

View File

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