MCPcopy
hub / github.com/system-ui/theme-ui / BaseStyles

Function BaseStyles

packages/theme-ui/src/index.ts:35–47  ·  view source on GitHub ↗
(
  props: Record<string, unknown> & { sx?: ThemeUIStyleObject<Theme> }
)

Source from the content-addressed store, hash-verified

33export { css, get } from '@theme-ui/css'
34
35export const BaseStyles = (
36 props: Record<string, unknown> & { sx?: ThemeUIStyleObject<Theme> }
37): JSX.Element =>
38 jsx('div', {
39 ...props,
40 sx: {
41 fontFamily: 'body',
42 lineHeight: 'body',
43 fontWeight: 'body',
44 variant: 'styles',
45 ...props.sx,
46 },
47 })
48
49export const jsx = coreJsx
50

Callers

nothing calls this directly

Calls 1

jsxFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…