style updates

This commit is contained in:
Sean Edmunds
2025-01-24 14:11:34 -06:00
parent 0b68d2bb93
commit 6b162902fe
2 changed files with 25 additions and 27 deletions

View File

@@ -13,7 +13,13 @@ import { useEffect, useState } from 'react';
import { FaDice } from 'react-icons/fa';
import { FiMenu, FiMonitor, FiSettings, FiShuffle } from 'react-icons/fi';
import { useNavigate } from 'react-router-dom';
import { actionIconClasses, buttonClasses, menuClasses, selectClasses } from 'styles';
import {
actionIconClasses,
buttonClasses,
menuClasses,
selectClasses,
stackClasses,
} from 'styles';
function SettingsButton() {
const { data, isFetched } = useQueryAPI({ endpoint: 'api/appCategories' });
@@ -70,16 +76,12 @@ function SettingsButton() {
}}
/>
</Tooltip>
<Group w={'100%'} align='center' justify='center'>
<Group w={'100%'} justify='center'>
<Stack
gap={0}
align='center'
style={{
width: '40%',
height: '150px',
backgroundColor: `${theme.primaryColor}22`,
borderRadius: '10px',
}}
className={stackClasses.menuStack}
classNames={stackClasses}
>
<Menu.Label>Wake on LAN</Menu.Label>
<Button
@@ -89,21 +91,15 @@ function SettingsButton() {
>
<Stack gap={0} align='center'>
<FiMonitor size={40} />
<Text m={0} p={0}>
Dakota
</Text>
<Text>Dakota</Text>
</Stack>
</Button>
</Stack>
<Stack
gap={0}
align='center'
style={{
width: '40%',
height: '150px',
backgroundColor: `${theme.primaryColor}22`,
borderRadius: '10px',
}}
className={stackClasses.menuStack}
classNames={stackClasses}
>
<Menu.Label pb={'1rem'}>Themes</Menu.Label>
<Group pb={'1rem'}>
@@ -157,19 +153,15 @@ function SettingsButton() {
/>
<Stack
gap={0}
justify='center'
align='center'
style={{
width: '85%',
height: '110px',
backgroundColor: `${theme.primaryColor}22`,
borderRadius: '10px',
}}
w={'85%'}
h={'100px'}
className={stackClasses.menuStack}
classNames={stackClasses}
>
<Menu.Label>Filters</Menu.Label>
<Group justify='center' w={'100%'}>
<Group>
<MultiSelect
w={'45%'}
label='Apps'
data={categories ?? []}
placeholder={
@@ -187,7 +179,6 @@ function SettingsButton() {
comboboxProps={{ withinPortal: false }}
/>
<MultiSelect
w={'45%'}
label='Bookmarks'
data={categories ?? []}
placeholder={