mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
add theme props
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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