Closed guilhermedelyra closed 3 years ago
Hi @guilhermedelyra yes you'll need to add the following CSS to your App file
<style>
:global(html) {
background-color: var(--theme-colors-background);
color: var(--theme-colors-text);
}
</style>
Hi @guilhermedelyra yes you'll need to add the following CSS to your App file
<style> :global(html) { background-color: var(--theme-colors-background); color: var(--theme-colors-text); } </style>
Ohhh thank you! 😁
using svelte basic template...
Folder structure:
⤵️package.json
⤵️main.js
⤵️themes.js
⤵️App.svelte
⤵️Results:
Light
⤵️Dark
⤵️Is there something I'm missing?