feat(svelte-query-devtools): add theme option (#10636) · TanStack/query@847f471 · GitHub
Skip to content

Commit 847f471

Browse files
Dami Oyeniyilachlancollins
andauthored
feat(svelte-query-devtools): add theme option (#10636)
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
1 parent e0f6c55 commit 847f471

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions

‎docs/framework/svelte/devtools.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,6 @@ Place the following code as high in your Svelte app as you can. The closer it is
7979
- `shadowDOMTarget?: ShadowRoot`
8080
- Default behavior will apply the devtool's styles to the head tag within the DOM.
8181
- Use this to pass a shadow DOM target to the devtools so that the styles will be applied within the shadow DOM instead of within the head tag in the light DOM.
82+
- `theme?: Theme`
83+
- Defaults to `system`.
84+
- Set this to change the theme of the devtools panel.

‎packages/svelte-query-devtools/src/Devtools.svelte‎

Lines changed: 12 additions & 0 deletions

0 commit comments

Comments
 (0)