mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
add theme props
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import CodeEditor from '../components/CodeEditor';
|
||||
import Accordion from '../components/Accordian';
|
||||
import { useState } from 'react';
|
||||
|
||||
export default function ThemeCreator() {
|
||||
const [theme, setTheme] = useState();
|
||||
|
||||
const handleSave = (value: string) => {
|
||||
// Save the theme
|
||||
console.log(value)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
type CustomTheme = {
|
||||
name: string;
|
||||
description: string;
|
||||
defaultColour: string;
|
||||
CanChangeColour: boolean;
|
||||
CustomCSS: string;
|
||||
CustomImages: string[];
|
||||
}
|
||||
Reference in New Issue
Block a user