SvelteKit configuration seems to be missing
Link to the Page
https://www.skeleton.dev/docs/get-started/installation/sveltekit
Describe the Issue (screenshots encouraged!)
I tried setting up to my project at first, and it seems like style is only partially loaded following the documentation. I assumed something in project was influencing the results so started a project from scratch following the documentation, I then noticed that even that didn't work as expected
I'm providing the project that is resulted by following the steps my-skeleton-app.zip
As you can check on the screenshot below of the running application, basic configurations such as data-mode="light" would not be respected.
Where in the docs is data-mode set to light during the setup? The setup respects Tailwinds defaults, which is to respect the OS mode preference.
@Hugos68 this appears in the Cookbook guide for the Lightswitch: https://www.skeleton.dev/docs/guides/cookbook/light-switch
But it's missing the custom variant as describe in the very first snippet above this: https://www.skeleton.dev/docs/guides/cookbook/light-switch#adjust-the-dark-mode-strategy
@mazoni I'd recommend you read these documentation pages in full to understand how Dark Mode works.
First, learn about how Dark Mode works in Tailwind: https://tailwindcss.com/docs/dark-mode
Then follow our recommendations for the three different Tailwind strategies: https://www.skeleton.dev/docs/guides/mode
Finally, review our optional guide if you wish for users to be able to toggle mode on demand via a "light switch" component: https://www.skeleton.dev/docs/guides/cookbook/light-switch#adjust-the-dark-mode-strategy
In your case you're only partially implementing the requirements. You're implementing a data-mode attribute, but not the @custom-variant which results in Tailwind using default settings - which are OS preference. Your operating system seems to be set to dark mode (per the screenshot) so you're seeing the dark mode version of the app.
I don't believe there's anything else actionable on our end here, so I'll close this out. But ping me if you have follow up questions not covered in the docs above.