MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / Highlight

Function Highlight

packages/frontend/src/ui/highlight.tsx:26–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 highlight?: boolean
25 class?: string
26}> = props => {
27 return (
28 <div class={clsx(highlight_container, props.highlight && 'light:text-black', props.class)}>
29 <div
30 class={highlight_element}
31 style={{
32 [highlight_color_var]: props.isSignal
33 ? theme.colors.amber[500]
34 : theme.colors.cyan[400],
35 [highlight_opacity_var]: props.highlight ? 0.6 : 0,
36 }}
37 ></div>
38 {props.children}
39 </div>
40 )
41}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…