Minor changes to styles and packages

This commit is contained in:
Sean Edmunds
2025-04-29 14:54:22 -05:00
parent 54b3336568
commit c3f0ff7c4d
15 changed files with 81 additions and 73 deletions

View File

@@ -18,7 +18,6 @@ import { useEffect, useState } from 'react';
import { FaDice, FaSync } from 'react-icons/fa';
import { FiMenu, FiPower, FiSettings, FiShuffle } from 'react-icons/fi';
import { useNavigate } from 'react-router-dom';
import { toast } from 'react-toastify';
import {
actionIconClasses,
buttonClasses,
@@ -50,7 +49,6 @@ function SettingsButton() {
const [selectedClient] = useState<WolClient>(wolClientData?.[0]);
const [overlayOpened, setOverlayOpened] = useState(false);
const navigate = useNavigate();
const notify = (notification: any) => toast(notification, { position: 'bottom-right' });
const {
currentTheme,
setCurrentTheme,
@@ -150,7 +148,6 @@ function SettingsButton() {
disabled={!wolClients?.length || selectedClient === null}
onClick={() => {
handleWakeRequest();
notify('Wake command sent');
}}
>
<Stack gap={0} align='center'>

View File

@@ -85,7 +85,7 @@ function DebouncedApplication({
openModal();
}}
>
<FiTrash />
<FiTrash color='black' />
</ActionIcon>
</Tooltip>
<Tooltip

View File

@@ -73,7 +73,7 @@ function DebouncedBookmarkItem({
openModal();
}}
>
<FiTrash />
<FiTrash color='black' />
</ActionIcon>
</Tooltip>
<Group w={'100%'} justify='center'>

View File

@@ -180,7 +180,7 @@ function DebouncedGroupSettingsItem({
openModal();
}}
>
<FiTrash />
<FiTrash color='black' />
</ActionIcon>
</Tooltip>
</Group>

View File

@@ -55,7 +55,7 @@ function DebouncedMessage({
openModal();
}}
>
<FiTrash />
<FiTrash color='black' />
</ActionIcon>
</Tooltip>
<TextInput

View File

@@ -78,7 +78,7 @@ function DebouncedSearchProvider({
openModal();
}}
>
<FiTrash />
<FiTrash color='black' />
</ActionIcon>
</Tooltip>
<Stack>

View File

@@ -37,7 +37,7 @@ function DeleteItemModal({
<Modal.Body pb={'2rem'}>
<Card className={cardClasses.settingsItem} classNames={cardClasses}>
{body}
<Group w={'100%'} justify='center' bottom={8}>
<Group justify='center' mt={'-1.5rem'}>
<Button
color={'red'}
styles={{ label: { color: 'black' } }}
@@ -48,13 +48,7 @@ function DeleteItemModal({
>
Delete
</Button>
<Button
color={'grey'}
styles={{ label: { color: 'white' } }}
onClick={handleClose}
>
Cancel
</Button>
<Button onClick={handleClose}>Cancel</Button>
</Group>
</Card>
</Modal.Body>

View File

@@ -225,6 +225,7 @@ function ThemePlaylistCard({
color: 'var(--mantine-color-background-0)',
backgroundColor: 'var(--mantine-color-primary-0)',
borderRadius: '4px',
zIndex: 160,
}}
>
Count: {themeList.length}
@@ -252,6 +253,7 @@ function ThemePlaylistCard({
color: 'var(--mantine-color-background-0)',
backgroundColor: 'var(--mantine-color-primary-0)',
borderRadius: '4px',
zIndex: 160,
}}
>
Timed Themes

View File

@@ -76,7 +76,7 @@ function DebouncedWolClient({
openModal();
}}
>
<FiTrash />
<FiTrash color='black' />
</ActionIcon>
</Tooltip>
<Group w={'100%'} justify='center'>