hide features i dont want to make right now

This commit is contained in:
SethBurkart123
2024-04-07 17:07:22 +10:00
parent 22c51e3fb8
commit 801e97e6ff
2 changed files with 2 additions and 3 deletions
@@ -23,7 +23,6 @@ const ThemeSelector: ForwardRefExoticComponent<Omit<ThemeSelectorProps, "ref"> &
})); }));
} }
useImperativeHandle(ref, () => ({ useImperativeHandle(ref, () => ({
disableTheme: async () => { disableTheme: async () => {
await disableTheme(); await disableTheme();
+2 -2
View File
@@ -226,7 +226,7 @@ function ThemeCreator() {
<Divider /> <Divider />
<div className='flex items-center justify-between'> {/* <div className='flex items-center justify-between'>
<div> <div>
<div className='pr-2 text-sm font-semibold'>Custom Theme Colour</div> <div className='pr-2 text-sm font-semibold'>Custom Theme Colour</div>
<div className='pr-2 text-[11px]'>Allow users to change the theme colour</div> <div className='pr-2 text-[11px]'>Allow users to change the theme colour</div>
@@ -242,7 +242,7 @@ function ThemeCreator() {
<Switch state={theme.allowBackgrounds} onChange={value => setTheme({ ...theme, allowBackgrounds: value })} /> <Switch state={theme.allowBackgrounds} onChange={value => setTheme({ ...theme, allowBackgrounds: value })} />
</div> </div>
<Divider /> <Divider /> */}
<Accordion defaultOpened title='Default Theme Colour'> <Accordion defaultOpened title='Default Theme Colour'>
<div className='p-2 mt-2 bg-white rounded-lg w-fit dark:bg-zinc-900'> <div className='p-2 mt-2 bg-white rounded-lg w-fit dark:bg-zinc-900'>