Added primary/secondary color selection

Added two new inputs to the options menu: primary and secondary color selectors.
This commit is contained in:
Aimsucks
2022-06-07 16:53:51 +00:00
parent f19b4675ad
commit 901798055b
10 changed files with 153 additions and 7 deletions

View File

@@ -26,7 +26,11 @@ export function Logo({ style }: any) {
sx={style}
weight="bold"
variant="gradient"
gradient={{ from: 'red', to: 'orange', deg: 145 }}
gradient={{
from: config.settings.primary_color || 'red',
to: config.settings.secondary_color || 'orange',
deg: 145,
}}
>
{config.settings.title || 'Homarr'}
</Text>