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

Function t

packages/query-devtools/src/Devtools.tsx:373–374  ·  view source on GitHub ↗
(light: string, dark: string)

Source from the content-addressed store, hash-verified

371 const getPanelDynamicStyles = () => {
372 const { colors } = tokens
373 const t = (light: string, dark: string) =>
374 theme() === 'dark' ? dark : light
375 if (panelWidth() < secondBreakpoint) {
376 return css`
377 flex-direction: column;

Callers 6

getPanelDynamicStylesFunction · 0.70
QueryStatusFunction · 0.70
getQueryStatusColorsFunction · 0.70
QueryDetailsFunction · 0.70
stylesFactoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected