Results 172 comments of Simon Green

It's _probably_ doable, I imagine an option to override any time within a certain threshold to be "now" would do it, and that threshold would default to 0 to get...

You could do that in the calling code as well of course.

What _was_ the point of all that extra "exports" crap being added to package.json if it's just ignored?!?

Yeah, it would be worth documenting, although I'd expect people to normally customize the colors for use in their own project which then wouldn't require it (but I haven't documented...

The colors can all be set by passing them into `createThemeSwitcher`, e.g. you'd have this in the `+layout.svelte` file: ```ts createThemeSwitcher({ colors: { selectLabel: 'text-gray-500 dark:text-gray-300', selectButton: 'ring-1 ring-gray-900/10 rounded-lg...

That's what needs to be documented :) They different colors are used in a few places, it's a bit janky but allows them to be overridden. I was thinking it...

No, that might be the better, simpler, option (although I do think the css props would provide more flexibility). It kind of evolved that way, I was originally hoping to...

I'll look at making it more headless

I wonder if this is required, or comes down to a configuration issue? The example given at https://kit.svelte.dev/docs/adapter-node#environment-variables-addressheader-and-xffdepth is for `True-Client-IP` so it looks like SvelteKit / the adapter, should...

Looks like they now need "bubbles" set on the custom event: ```ts input.dispatchEvent(new CustomEvent('input', { bubbles: true })) ```