I am using UnoCSS and was doing this in globalstyles.astro
body {
@apply bg-[url(../src/assets/images/light-sm.svg)] bg-cover bg-no-repeat absolute inset-0;
}
.dark body {
@apply bg-[url(../src/assets/images/dark-sm.svg)];
}
had to add /src to make it work in local dev. removed that and it still doesn't work in production. I have images:assets enabled. whats the correct way of using a background images like this?