Added a shade selector

Added a popover shade selector similar to the color selector, but shows primary and secondary colors to pick the desired Mantine primaryShade
This commit is contained in:
Aimsucks
2022-06-08 15:36:54 +00:00
parent 845d6a3d87
commit e6eedefec4
6 changed files with 121 additions and 39 deletions

View File

@@ -1,12 +1,14 @@
import { OptionValues } from '../components/modules/modules';
import { MantineTheme } from '@mantine/core';
export interface Settings {
searchUrl: string;
title?: string;
logo?: string;
favicon?: string;
primaryColor?: string;
secondaryColor?: string;
primaryColor?: MantineTheme['primaryColor'];
secondaryColor?: MantineTheme['primaryColor'];
primaryShade?: MantineTheme['primaryShade'];
background?: string;
}