The getColor function returns an hsl() color calculation but doesn't include a closing ) to the function call. This somehow works in Svelte 4 but starts breaking with Svelte 5.
@Mitcheljager could it be because svelte 5 changes the css parsing library css-tree to an inhouse solution.
It could be that css-tree used to auto fix this problem which could explain why it breaks now.
The
getColor
function returns anhsl()
color calculation but doesn't include a closing)
to the function call. This somehow works in Svelte 4 but starts breaking with Svelte 5.This pull request can be reviewed on