UNPKG

645 BJavaScriptView Raw
1import { jsx as jsx$1 } from '@theme-ui/core';
2export { __ThemeUIContext, createElement, merge, useThemeUI } from '@theme-ui/core';
3export { InitializeColorMode, useColorMode } from '@theme-ui/color-modes';
4export { ThemeProvider, ThemeUIProvider } from '@theme-ui/theme-provider';
5export { default as Global } from '@theme-ui/global';
6export * from '@theme-ui/components';
7export { css, get } from '@theme-ui/css';
8
9const BaseStyles = props => jsx('div', {
10 ...props,
11 sx: {
12 fontFamily: 'body',
13 lineHeight: 'body',
14 fontWeight: 'body',
15 variant: 'styles',
16 ...props.sx
17 }
18});
19const jsx = jsx$1;
20
21export { BaseStyles, jsx };