🚚 Move selectors to customisation tab

This commit is contained in:
ajnart
2022-06-11 19:44:11 +02:00
parent 437807a9e0
commit 169d08f3b6
2 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,9 @@
import { TextInput, Group, Button } from '@mantine/core';
import { useForm } from '@mantine/form';
import { useConfig } from '../../tools/state';
import { ColorSelector } from './ColorSelector';
import { OpacitySelector } from './OpacitySelector';
import { ShadeSelector } from './ShadeSelector';
export default function TitleChanger() {
const { config, setConfig } = useConfig();
@@ -51,6 +54,10 @@ export default function TitleChanger() {
<Button type="submit">Save</Button>
</Group>
</form>
<ColorSelector type="primary" />
<ColorSelector type="secondary" />
<ShadeSelector />
<OpacitySelector />
</Group>
);
}