add theme props

This commit is contained in:
SethBurkart123
2024-03-31 16:09:55 +11:00
parent 8ac3b1de71
commit 8736093ff6
3 changed files with 11 additions and 1 deletions
-1
View File
@@ -34,7 +34,6 @@
"@codemirror/lang-less": "^6.0.2",
"@heroicons/react": "^2.1.3",
"@million/lint": "latest",
"@radix-ui/react-accordion": "^1.1.2",
"@sentry/browser": "^7.100.1",
"@sentry/cli": "^2.28.6",
"@sentry/react": "^7.100.1",
+3
View File
@@ -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)
+8
View File
@@ -0,0 +1,8 @@
type CustomTheme = {
name: string;
description: string;
defaultColour: string;
CanChangeColour: boolean;
CustomCSS: string;
CustomImages: string[];
}