mirror of
https://github.com/plankanban/planka.git
synced 2025-12-22 01:11:29 +03:00
Background gradients, migrate from CSS to SCSS, remove !important
This commit is contained in:
@@ -10,7 +10,7 @@ import LabelColors from '../../constants/LabelColors';
|
||||
import Editor from './Editor';
|
||||
import DeleteStep from '../DeleteStep';
|
||||
|
||||
import styles from './EditStep.module.css';
|
||||
import styles from './EditStep.module.scss';
|
||||
|
||||
const StepTypes = {
|
||||
DELETE: 'DELETE',
|
||||
@@ -20,7 +20,7 @@ const EditStep = React.memo(({ defaultData, onUpdate, onDelete, onBack }) => {
|
||||
const [t] = useTranslation();
|
||||
|
||||
const [data, handleFieldChange] = useForm(() => ({
|
||||
color: LabelColors.KEYS[0],
|
||||
color: LabelColors[0],
|
||||
...defaultData,
|
||||
name: defaultData.name || '',
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user