diff --git a/web/.prettierignore b/web/.prettierignore index 38972655f..a2f960d9e 100644 --- a/web/.prettierignore +++ b/web/.prettierignore @@ -6,6 +6,9 @@ node_modules .env .env.* !.env.example +src/api/open-api +*.md +*.json # Ignore files for PNPM, NPM and YARN pnpm-lock.yaml diff --git a/web/src/app.css b/web/src/app.css index 05b6772e3..06e9acfd3 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -6,86 +6,86 @@ @tailwind utilities; :root { - font-family: 'Work Sans', sans-serif; - /* --immich-icon-button-hover-color: #d3d3d3; */ + font-family: 'Work Sans', sans-serif; + /* --immich-icon-button-hover-color: #d3d3d3; */ } html { - height: 100%; - width: 100%; + height: 100%; + width: 100%; } html::-webkit-scrollbar { - width: 8px; + width: 8px; } /* Track */ html::-webkit-scrollbar-track { - background: #f1f1f1; - border-radius: 16px; + background: #f1f1f1; + border-radius: 16px; } /* Handle */ html::-webkit-scrollbar-thumb { - background: rgba(85, 86, 87, 0.408); - border-radius: 16px; + background: rgba(85, 86, 87, 0.408); + border-radius: 16px; } /* Handle on hover */ html::-webkit-scrollbar-thumb:hover { - background: #4250afad; - border-radius: 16px; + background: #4250afad; + border-radius: 16px; } body { - /* min-height: 100vh; */ - margin: 0; - background-color: #f6f8fe; - color: #5f6368; + /* min-height: 100vh; */ + margin: 0; + background-color: #f6f8fe; + color: #5f6368; } input:focus-visible { - outline-offset: 0px !important; - outline: none !important; + outline-offset: 0px !important; + outline: none !important; } @layer utilities { - .immich-form-input { - @apply bg-slate-100 p-2 rounded-md focus:border-immich-primary text-sm ; - } + .immich-form-input { + @apply bg-slate-100 p-2 rounded-md focus:border-immich-primary text-sm; + } - .immich-form-label { - @apply font-medium text-sm text-gray-500; - } + .immich-form-label { + @apply font-medium text-sm text-gray-500; + } - .immich-btn-primary { - @apply bg-immich-primary text-gray-100 border rounded-xl py-2 px-4 transition-all duration-150 hover:bg-immich-primary hover:shadow-lg text-sm font-medium; - } + .immich-btn-primary { + @apply bg-immich-primary text-gray-100 border rounded-xl py-2 px-4 transition-all duration-150 hover:bg-immich-primary hover:shadow-lg text-sm font-medium; + } - .immich-text-button { - @apply flex place-items-center place-content-center gap-2 hover:bg-immich-primary/5 p-2 rounded-lg font-medium; - } + .immich-text-button { + @apply flex place-items-center place-content-center gap-2 hover:bg-immich-primary/5 p-2 rounded-lg font-medium; + } - /* width */ - .immich-scrollbar::-webkit-scrollbar { - width: 8px; - } + /* width */ + .immich-scrollbar::-webkit-scrollbar { + width: 8px; + } - /* Track */ - .immich-scrollbar::-webkit-scrollbar-track { - background: #f1f1f1; - border-radius: 16px; - } + /* Track */ + .immich-scrollbar::-webkit-scrollbar-track { + background: #f1f1f1; + border-radius: 16px; + } - /* Handle */ - .immich-scrollbar::-webkit-scrollbar-thumb { - background: rgba(85, 86, 87, 0.408); - border-radius: 16px; - } + /* Handle */ + .immich-scrollbar::-webkit-scrollbar-thumb { + background: rgba(85, 86, 87, 0.408); + border-radius: 16px; + } - /* Handle on hover */ - .immich-scrollbar::-webkit-scrollbar-thumb:hover { - background: #4250afad; - border-radius: 16px; - } + /* Handle on hover */ + .immich-scrollbar::-webkit-scrollbar-thumb:hover { + background: #4250afad; + border-radius: 16px; + } } diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelte index 7d8eeb29f..18d7876d1 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte @@ -18,7 +18,7 @@ $: { appearsInAlbums = []; - api.albumApi.getAllAlbums(undefined, asset.id).then(result => { + api.albumApi.getAllAlbums(undefined, asset.id).then((result) => { appearsInAlbums = result.data; }); } diff --git a/web/src/lib/components/forms/create-user-form.svelte b/web/src/lib/components/forms/create-user-form.svelte index b1135028c..68ea9dd61 100644 --- a/web/src/lib/components/forms/create-user-form.svelte +++ b/web/src/lib/components/forms/create-user-form.svelte @@ -1,122 +1,121 @@
-
- immich-logo -

Create new user

-

- Please provide your user with the password, they will have to change it on their first sign - in. -

-
+
+ immich-logo +

Create new user

+

+ Please provide your user with the password, they will have to change it on their first sign + in. +

+
-
-
- - -
+ +
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
- {#if error} -

{error}

- {/if} + {#if error} +

{error}

+ {/if} - {#if success} -

{success}

- {/if} -
- -
-
+ {#if success} +

{success}

+ {/if} +
+ +
+
diff --git a/web/src/lib/constants.ts b/web/src/lib/constants.ts index 1cd049a62..609fe8d2c 100644 --- a/web/src/lib/constants.ts +++ b/web/src/lib/constants.ts @@ -1,2 +1,2 @@ import { env } from '$env/dynamic/public'; -export const loginPageMessage: string = env.PUBLIC_LOGIN_PAGE_MESSAGE; \ No newline at end of file +export const loginPageMessage: string = env.PUBLIC_LOGIN_PAGE_MESSAGE;