MCPcopy Create free account
hub / github.com/TanStack/query / createThemed

Function createThemed

packages/query-devtools/src/styles.ts:11–12  ·  view source on GitHub ↗
(theme: Accessor<'light' | 'dark'>)

Source from the content-addressed store, hash-verified

9 */
10export const createThemed =
11 (theme: Accessor<'light' | 'dark'>) => (name: string) =>
12 theme() === 'dark' ? `${name} ${name}-dark` : name
13
14// One constructed stylesheet per document: a constructed stylesheet can only
15// be adopted by the document that created it and that document's shadow roots.

Callers 15

CopyButtonFunction · 0.90
ClearArrayButtonFunction · 0.90
DeleteItemButtonFunction · 0.90
ToggleValueButtonFunction · 0.90
SearchableExplorerFunction · 0.90
ExplorerFunction · 0.90
PiPPanelFunction · 0.90
ParentPanelFunction · 0.90
DraggablePanelFunction · 0.90
ContentViewFunction · 0.90
QueryRowFunction · 0.90
MutationRowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected