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

Function createStyles

packages/devtools-ui/src/styles/use-styles.ts:689–696  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

687}
688
689export function createStyles() {
690 const { theme } = createTheme()
691 const [styles, setStyles] = createSignal(stylesFactory(theme()))
692 createEffect(() => {
693 setStyles(stylesFactory(theme()))
694 })
695 return styles
696}

Callers 15

TagFunction · 0.90
JsonValueFunction · 0.90
ArrayValueFunction · 0.90
ObjectValueFunction · 0.90
CopyButtonFunction · 0.90
ExpanderFunction · 0.90
InputFunction · 0.90
CheckboxFunction · 0.90
SectionFunction · 0.90
SectionTitleFunction · 0.90
SectionDescriptionFunction · 0.90
SectionIconFunction · 0.90

Calls 2

createThemeFunction · 0.90
stylesFactoryFunction · 0.70

Tested by

no test coverage detected