MCPcopy Create free account
hub / github.com/code-with-antonio/nightcode / ThemedRoot

Function ThemedRoot

packages/cli/src/layouts/themed-root.tsx:8–21  ·  view source on GitHub ↗
({ children }: Props)

Source from the content-addressed store, hash-verified

6};
7
8export function ThemedRoot({ children }: Props) {
9 const { colors } = useTheme();
10
11 return (
12 <box
13 backgroundColor={colors.background}
14 width="100%"
15 height="100%"
16 flexGrow={1}
17 >
18 {children}
19 </box>
20 );
21};

Callers

nothing calls this directly

Calls 1

useThemeFunction · 0.90

Tested by

no test coverage detected