Skip to content

Commit

Permalink
feat(theme): export z-index constants
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxuoz committed Aug 24, 2018
1 parent 85bc7b8 commit 3ea42e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/atoms/Dropdown/DropdownBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Portal } from 'react-portal';
import { withDropdownContext } from './DropdownContext';
import { offsetSizes, defaultTheme, DropdownBodyTag } from './DropdownBody.theme';
import type { PropSizes } from '../../types';
import { Z_INDEX } from '../../theme/zIndex';
import { Z_INDEX } from '../../theme';

/**
* @prop {*} background options for background color
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow

export { ThemeProvider } from 'emotion-theming';
export { defaultTheme, resetGlobal } from './theme';
export { defaultTheme, resetGlobal, Z_INDEX } from './theme';
export * from './atoms';
export * from './molecules';

1 change: 1 addition & 0 deletions src/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

export { COLORS, PALETTE } from './colors';
export { SIZES } from './sizes';
export { Z_INDEX } from './zIndex';
export { defaultTheme } from './defaultTheme';
export { resetGlobal } from './resetGlobal';

0 comments on commit 3ea42e7

Please sign in to comment.