Theme changes
This commit is contained in:
@@ -47,7 +47,7 @@ const ApplicationSettings = () => {
|
||||
});
|
||||
const [applications, setApplications] = useState<Application[]>([]);
|
||||
const [applicationList, setApplicationList] = useState<Application[]>([]);
|
||||
const { theme, isMobile, reorder } = useCommonHooks();
|
||||
const { isMobile, reorder } = useCommonHooks();
|
||||
const [newApplication, setNewApplication] = useState<Application>(defaultApplication);
|
||||
const { mutateAsync } = useMutationAPI();
|
||||
const [searchValue, setSearchValue] = useState('');
|
||||
@@ -179,7 +179,6 @@ const ApplicationSettings = () => {
|
||||
defaultValue={newApplication.icon}
|
||||
comboboxProps={{
|
||||
zIndex: 3000,
|
||||
withinPortal: false,
|
||||
}}
|
||||
onChange={(value: string | null) => {
|
||||
setNewApplication({
|
||||
@@ -304,14 +303,14 @@ const ApplicationSettings = () => {
|
||||
<Card
|
||||
w={'400px'}
|
||||
style={{
|
||||
backgroundColor: theme.searchColor,
|
||||
border: '1px solid var(--color-border)',
|
||||
backgroundColor: 'var(--mantine-color-search-0)',
|
||||
border: '1px solid var(--mantine-color-border-0)',
|
||||
borderRadius: '8px',
|
||||
}}
|
||||
>
|
||||
<Group gap={0} align='center' justify='space-between'>
|
||||
<Stack gap={0}>
|
||||
<Text c={theme.accentColor} fz={14}>
|
||||
<Text c={'var(--mantine-color-accent-0)'} fz={14}>
|
||||
Name
|
||||
</Text>
|
||||
<Text
|
||||
@@ -319,15 +318,15 @@ const ApplicationSettings = () => {
|
||||
style={{
|
||||
borderRadius: '4px',
|
||||
paddingLeft: '8px',
|
||||
color: theme.primaryColor,
|
||||
backgroundColor: theme.searchColor,
|
||||
color: 'var(--mantine-color-primary-0)',
|
||||
backgroundColor: 'var(--mantine-color-search-0)',
|
||||
}}
|
||||
>
|
||||
{app.name}
|
||||
</Text>
|
||||
</Stack>
|
||||
<Stack gap={0}>
|
||||
<Text c={theme.accentColor} fz={14}>
|
||||
<Text c={'var(--mantine-color-accent-0)'} fz={14}>
|
||||
Filter Name
|
||||
</Text>
|
||||
<Text
|
||||
@@ -335,8 +334,8 @@ const ApplicationSettings = () => {
|
||||
style={{
|
||||
borderRadius: '4px',
|
||||
paddingLeft: '8px',
|
||||
color: theme.primaryColor,
|
||||
backgroundColor: theme.searchColor,
|
||||
color: 'var(--mantine-color-primary-0)',
|
||||
backgroundColor: 'var(--mantine-color-search-0)',
|
||||
}}
|
||||
>
|
||||
{app.filterName}
|
||||
@@ -367,7 +366,6 @@ const ApplicationSettings = () => {
|
||||
<Popover
|
||||
withArrow
|
||||
withOverlay
|
||||
withinPortal={false}
|
||||
closeOnClickOutside={!isOpen}
|
||||
classNames={popoverClasses}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user