how can we set the color for when the user overscrolls? I thought this was just the html backgound color - however the silk init from the demo/default app seems to not affect the overscroll areas
Copy code
@InitSilk
fun initTheme(ctx: InitSilkContext) {
ctx.theme.palettes.light.background = Colors.Blue
}
s
S.
07/29/2025, 8:04 AM
no, the html element is also just an element spanning the full size of your page, not infinitely.
you can either disable overscroll-behaviour or add an element underneath <html> with your desired color.
but for these kind of questions, search the internet how that's solved with pure css/js first and then port that to kobweb and j/js
d
David Herman
07/29/2025, 4:52 PM
Also, I'm not sure exactly what effect you're going for. Do you have a video of it? Or have you ever visited another HTML page that had the effect you're trying to accomplish?