MCPcopy
hub / github.com/TanStack/query / t

Function t

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

Source from the content-addressed store, hash-verified

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