theme-ui
Version:
The Design Graph Framework
34 lines (33 loc) • 1.77 kB
TypeScript
import type { ThemeUIJSX, ThemeUIStyleObject } from '@theme-ui/core';
import type { Theme } from '@theme-ui/core';
export { __ThemeUIContext, merge, useThemeUI, createElement, } from '@theme-ui/core';
export type { ThemeUIContextValue, SxProp, ColorMode, ColorModesScale, CSSObject, CSSProperties, CSSPseudoSelectorProps, ResponsiveStyleValue, ThemeUICSSProperties, ThemeUIStyleObject, ThemeUICSSObject, ThemeStyles, TLengthStyledSystem, StylePropertyValue, } from '@theme-ui/core';
export type { Theme } from '@theme-ui/core';
export { useColorMode, InitializeColorMode } from '@theme-ui/color-modes';
export { ThemeUIProvider, ThemeProvider } from '@theme-ui/theme-provider';
export { default as Global } from '@theme-ui/global';
export * from '@theme-ui/components';
export { css, get } from '@theme-ui/css';
export declare const BaseStyles: (props: Record<string, unknown> & {
sx?: ThemeUIStyleObject<Theme>;
}) => JSX.Element;
export declare const jsx: typeof import("react").createElement;
export declare namespace jsx {
namespace JSX {
interface Element extends ThemeUIJSX.Element {
}
interface ElementClass extends ThemeUIJSX.ElementClass {
}
interface ElementAttributesProperty extends ThemeUIJSX.ElementAttributesProperty {
}
interface ElementChildrenAttribute extends ThemeUIJSX.ElementChildrenAttribute {
}
type LibraryManagedAttributes<C, P> = ThemeUIJSX.LibraryManagedAttributes<C, P>;
interface IntrinsicAttributes extends ThemeUIJSX.IntrinsicAttributes {
}
interface IntrinsicClassAttributes<T> extends ThemeUIJSX.IntrinsicClassAttributes<T> {
}
interface IntrinsicElements extends ThemeUIJSX.IntrinsicElements {
}
}
}