import React from 'react' import Input from '../Input' import Button from '../Button' import ListSetting from '../ListSetting' import Popout from '../Popout' import ColorPicker from '../ColorPicker' import { HIGHLIGHT_KEYS, COLORS } from '../../lib/constants' import { capitalize } from '../../lib/util' const colorPickerStyle = { backgroundColor: COLORS.BLACK, padding: 0, margin: '4px' } const colorPresets = [] const HighlightPicker = ({ title, onChange, color }) => (
{title}
) const ThemeCreate = ({ theme, themes, highlights, name, preset, selected, createTheme, applyPreset, updateName, selectHighlight, updateHighlight }) => (
Name
{({ name }) => {name}}
{HIGHLIGHT_KEYS.map(key => (
))}
{selected && ( )}
) export default ThemeCreate