import React from 'react' ; import theme from 'design/theme' ; import ThemeProvider from 'design/ThemeProvider' ; import { colors } from '../colors' ; const customTheme = { ... theme , colors : { ... theme . colors , primary : { ... theme . colors . primary , ... colors . primary , } , } , } ; const NodesThemeProvider = props => ( < ThemeProvider theme = { customTheme } children = { props . children } / > ) ; export default NodesThemeProvider ;