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

Function t

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

Source from the content-addressed store, hash-verified

293 const getPanelDynamicStyles = () => {
294 const { colors } = tokens
295 const t = (light: string, dark: string) =>
296 theme() === 'dark' ? dark : light
297 if (panelWidth() < secondBreakpoint) {
298 return css`
299 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