Skip to content
Source
Sign inSign up
TanStack/query

feat(angular-query): add devtools theme option #10609

Mergedgrzdev(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/10609/headmerged by TkDodo View on GitHub

Showing 3 changed files with 13 additions and 0 deletions.

x
0 of 3 viewed, 3 left
5 additions and 0 deletions.changeset/angular-devtools-theme-option.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/angular-query-experimental': patch
+---
+​
+Add theme option support to Angular floating devtools.
6 additions and 0 deletionspackages/angular-query-experimental/src/devtools/types.tsModified
View file
@@ -3,6 +3,7 @@
DevtoolsButtonPosition,
DevtoolsErrorType,
DevtoolsPosition,
+ Theme,
} from '@tanstack/query-devtools'
import type { DevtoolsFeature } from '../providers'
​
@@ -75,6 +76,11 @@
* Set this to true to hide disabled queries from the devtools panel.
*/
hideDisabledQueries?: boolean
+ /**
+ * Set this to 'light', 'dark', or 'system' to change the theme of the devtools panel.
+ * Defaults to 'system'.