Skip to content

Commit

Permalink
fix: reexport types by name
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Aug 17, 2020
1 parent 2c3fea3 commit faa7d01
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@theme-ui/core",
"version": "0.4.0-rc.3",
"version": "0.4.0-rc.4",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down
22 changes: 21 additions & 1 deletion packages/core/src/index.ts
Expand Up @@ -10,7 +10,27 @@ import { version as __EMOTION_VERSION__ } from '@emotion/core/package.json'

import './react-jsx'

export * from '@theme-ui/css/dist/types'
export type {
CSSObject,
CSSOthersObject,
CSSProperties,
CSSPseudoSelectorProps,
ColorMode,
ColorModesScale,
Label,
ResponsiveStyleValue,
Scale,
StylePropertyValue,
TLengthStyledSystem,
Theme,
ThemeDerivedStyles,
ThemeStyles,
ThemeUICSSObject,
ThemeUICSSProperties,
ThemeUIExtendedCSSProperties,
ThemeUIStyleObject,
VariantProperty,
} from '@theme-ui/css'
export * from './types'

const getCSS = (props) => {
Expand Down

0 comments on commit faa7d01

Please sign in to comment.