feat(web): go back on the onboarding (#6171)

* feat: go back on the onboarding

* fix: state

* rename variable
This commit is contained in:
martin 2024-01-04 18:20:19 +01:00 committed by GitHub
parent ba4a20a181
commit 4f6f79a392
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 7 deletions

View file

@ -28,7 +28,10 @@
<div class="flex gap-4 mb-6">
<button
class="w-1/2 aspect-square bg-immich-bg rounded-3xl transition-all shadow-sm hover:shadow-xl"
class="w-1/2 aspect-square bg-immich-bg rounded-3xl transition-all shadow-sm hover:shadow-xl {$colorTheme ==
'light'
? 'border-[3px] border-immich-dark-primary/80 border-immich-primary'
: 'border border-transparent'}"
on:click={toggleLightTheme}
>
<div
@ -39,7 +42,9 @@
</div>
</button>
<button
class="w-1/2 aspect-square bg-immich-dark-bg rounded-3xl border border-transparent"
class="w-1/2 aspect-square bg-immich-dark-bg rounded-3xl {$colorTheme == 'dark'
? 'border-[3px] border-immich-dark-primary/80 border-immich-primary'
: 'border border-transparent'}"
on:click={toggleDarkTheme}
>
<div