mirror of
https://github.com/immich-app/immich.git
synced 2025-11-22 16:10:47 +09:00
feat(web): auto switch theme (#6176)
* move from app.html to user-page-layout.svelte * fix: use layout.svelte * simplify * fix: map style don't change * fix: auto switch theme map * use constants * simplify * rename * rename settign * fix: remove * pr feedback * fix: tests * fix: migration * fix: migration * pr feedback * simplify * simplify * pr feedback * fix: merge * chore: set insetad of toggle on click --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
import UserAPIKeyList from './user-api-key-list.svelte';
|
||||
import UserProfileSettings from './user-profile-settings.svelte';
|
||||
import { user } from '$lib/stores/user.store';
|
||||
import AppearanceSettings from './appearance-settings.svelte';
|
||||
|
||||
export let keys: APIKeyResponseDto[] = [];
|
||||
export let devices: AuthDeviceResponseDto[] = [];
|
||||
@@ -24,6 +25,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<SettingAccordion title="Appearance" subtitle="Manage your Immich appearance">
|
||||
<AppearanceSettings />
|
||||
</SettingAccordion>
|
||||
|
||||
<SettingAccordion title="Account" subtitle="Manage your account">
|
||||
<UserProfileSettings user={$user} />
|
||||
</SettingAccordion>
|
||||
|
||||
Reference in New Issue
Block a user