improve default settings

This commit is contained in:
SethBurkart123
2024-03-31 16:10:14 +11:00
parent 8736093ff6
commit b2971a59d6
+8 -1
View File
@@ -3,7 +3,14 @@ import Accordion from '../components/Accordian';
import { useState } from 'react'; import { useState } from 'react';
export default function ThemeCreator() { export default function ThemeCreator() {
const [theme, setTheme] = useState(); const [theme, setTheme] = useState<CustomTheme>({
name: '',
description: '',
defaultColour: '',
CanChangeColour: false,
CustomCSS: '',
CustomImages: []
});
const handleSave = (value: string) => { const handleSave = (value: string) => {
// Save the theme // Save the theme