native-base
Version:
Essential cross-platform UI components for React Native
35 lines • 796 B
JavaScript
import borderWidths from './borders';
import breakpoints from './breakpoints';
import colors from './colors';
import radii from './radius';
import shadows from './shadows';
import sizes from './sizes';
import { spacing } from './space';
import typography from './typography';
import opacity from './opacity';
const theme = {
borderWidths,
breakpoints,
colors,
radii,
...typography,
sizes,
space: spacing,
shadows,
opacity
};
export const themePropertyMap = {
borderRadius: 'radii',
color: 'colors',
letterSpacing: 'letterSpacings',
lineHeight: 'lineHeights',
fontFamily: 'fonts',
fontSize: 'fontSizes',
fontWeight: 'fontWeights',
size: 'sizes',
space: 'space',
border: 'borders',
shadow: 'shadows'
};
export default theme;
//# sourceMappingURL=index.js.map