This commit is contained in:
Nathan Bierema 2020-08-21 21:47:29 -04:00
parent e4f5761fda
commit b37681ed72

View File

@ -1,7 +1,6 @@
import { import {
Base16Theme, Base16Theme,
createStyling, createStyling,
Styling,
StylingConfig, StylingConfig,
} from 'react-base16-styling'; } from 'react-base16-styling';
import solarized from './themes/solarized'; import solarized from './themes/solarized';
@ -56,7 +55,7 @@ const getDefaultThemeStyling = (theme: Base16Theme): StylingConfig => {
backgroundColor: colors.BACKGROUND_COLOR, backgroundColor: colors.BACKGROUND_COLOR,
}, },
value: ({ style }, nodeType, keyPath: (string | number)[]): Styling => ({ value: ({ style }, nodeType, keyPath: (string | number)[]) => ({
style: { style: {
...style, ...style,
paddingTop: '0.25em', paddingTop: '0.25em',