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

Function t

packages/devtools-ui/src/styles/use-styles.ts:126–126  ·  view source on GitHub ↗
(light: string, dark: string)

Source from the content-addressed store, hash-verified

124 const { fontFamily } = font
125
126 const t = (light: string, dark: string) => (theme === 'light' ? light : dark)
127 const buildButtonVariant = (variant: ButtonVariant) => {
128 const v = buttonVariantColors[variant]
129 const outlineColor = t(v.outline.light, v.outline.dark)

Callers 2

buildButtonVariantFunction · 0.70
stylesFactoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected