import { Stack, Flex, Text } from '@chakra-ui/react' import { InputColors } from 'models' import React from 'react' import { ColorPicker } from '../GeneralSettings/ColorPicker' type Props = { inputs?: InputColors onInputsChange: (buttons: InputColors) => void } const defaultBackgroundColor = '#ffffff' const defaultTextColor = '#303235' const defaultPlaceholderColor = '#9095A0' export const InputsTheme = ({ inputs, onInputsChange }: Props) => { const handleBackgroundChange = (backgroundColor: string) => onInputsChange({ ...inputs, backgroundColor }) const handleTextChange = (color: string) => onInputsChange({ ...inputs, color }) const handlePlaceholderChange = (placeholderColor: string) => onInputsChange({ ...inputs, placeholderColor }) return ( Background: Text: Placeholder text: ) }