diff --git a/interface/app/$libraryId/settings/client/appearance.tsx b/interface/app/$libraryId/settings/client/appearance.tsx index c976204be..8cba6f060 100644 --- a/interface/app/$libraryId/settings/client/appearance.tsx +++ b/interface/app/$libraryId/settings/client/appearance.tsx @@ -164,31 +164,26 @@ export const Component = () => { ); })} - -
-
- hueSliderHandler(val[0] ?? 235)} - min={0} - max={359} - step={1} - defaultValue={[235]} - /> -

- {themeStore.hueValue} -

+ + {themeStore.theme === 'dark' && ( + +
+
+ hueSliderHandler(val[0] ?? 235)} + min={0} + max={359} + step={1} + defaultValue={[235]} + /> +

+ {themeStore.hueValue} +

+
-
- + + )} { > + { const fullRescan = useLibraryMutation('locations.fullRescan'); const onlineLocations = useOnlineLocations(); + const isDark = useIsDark(); + if (hide) return <>; const online = onlineLocations?.some((l) => arraysEqual(location.pub_id, l)) || false; @@ -29,7 +32,7 @@ export default ({ location }: Props) => { navigate(`${location.id}`); }} > - +

{location.name}

diff --git a/interface/app/$libraryId/settings/node/libraries/ListItem.tsx b/interface/app/$libraryId/settings/node/libraries/ListItem.tsx index 47aede601..701b3ad5b 100644 --- a/interface/app/$libraryId/settings/node/libraries/ListItem.tsx +++ b/interface/app/$libraryId/settings/node/libraries/ListItem.tsx @@ -1,55 +1,68 @@ -import { Database } from '@sd/assets/icons'; +import { Database, Database_Light } from '@sd/assets/icons'; import { Pencil, Trash } from 'phosphor-react'; import { LibraryConfigWrapped } from '@sd/client'; import { Button, ButtonLink, Card, Tooltip, dialogManager, tw } from '@sd/ui'; +import { useIsDark } from '~/hooks'; import DeleteDialog from './DeleteDialog'; -const Pill = tw.span`px-1.5 ml-2 py-[2px] rounded text-xs font-medium bg-accent`; - interface Props { library: LibraryConfigWrapped; current: boolean; } -export default (props: Props) => ( - - {/* */} - Database icon -

-

- {props.library.config.name} - {props.current && Current} -

-

{props.library.uuid}

-
-
- {/* */} - - - - - - -
- -); + + + + + + +
+ + ); +}; diff --git a/interface/app/$libraryId/settings/resources/about.tsx b/interface/app/$libraryId/settings/resources/about.tsx index 0af4885ef..0ff3a9403 100644 --- a/interface/app/$libraryId/settings/resources/about.tsx +++ b/interface/app/$libraryId/settings/resources/about.tsx @@ -46,7 +46,7 @@ export const Component = () => { className="flex w-fit gap-2" variant="accent" > - + Star on GitHub