Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
improve inspector in stackblitz
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-8 committed Mar 21, 2023
1 parent 981de4e commit dee59e9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Roadmap.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Roadmap

- use in kitbook
- improve package example and add stackblitz link
- improve package example
- close UnoCSS PRs and update notices there about this package
- update temp-s-p-u with link to updated preprocessor
- think about preflights and safelist in packaged libraries that are consumed by apps not using svelte-scoped-uno
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-vite-plugin/src/lib/DarkModeToggle.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<button
class="fixed top-1 right-1 p-2 text-lg opacity-75 hover:opacity-100"
class="fixed top-1 left-1 p-2 text-lg opacity-75 hover:opacity-100"
on:click={() => window.document.body.classList.toggle("dark")}
>
<span class="dark:i-ri-moon-line i-ri-sun-line" />
Expand Down
4 changes: 3 additions & 1 deletion examples/svelte-vite-plugin/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const config = {

vitePlugin: {
experimental: {
inspector: true,
inspector: {
showToggleButton: 'always',
},
},
},
}
Expand Down
4 changes: 3 additions & 1 deletion examples/sveltekit-preprocess/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ const config = {

vitePlugin: {
experimental: {
inspector: true,
inspector: {
showToggleButton: 'always',
},
},
},
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<button
class="fixed top-1 right-1 p-2 text-lg opacity-75 hover:opacity-100"
class="fixed top-1 left-1 p-2 text-lg opacity-75 hover:opacity-100"
on:click={() => window.document.body.classList.toggle("dark")}
>
<span class="dark:i-ri-moon-line i-ri-sun-line" />
Expand Down
4 changes: 3 additions & 1 deletion examples/sveltekit-vite-plugin/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const config = {

vitePlugin: {
experimental: {
inspector: true,
inspector: {
showToggleButton: 'always',
},
},
},
}
Expand Down

0 comments on commit dee59e9

Please sign in to comment.