Skip to content

High performance self-hosted photo and video management solution.

fix: date time picker text color in dark mode (#25883)

Alexe9f8521a50a0
diff --git a/web/src/lib/modals/AssetChangeDateModal.svelte b/web/src/lib/modals/AssetChangeDateModal.svelte
index e94f1f7afc..ec4cb0f077 100644
--- a/web/src/lib/modals/AssetChangeDateModal.svelte
+++ b/web/src/lib/modals/AssetChangeDateModal.svelte
@@ -59,12 +59,7 @@
size="small"
>
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label>
- <DateInput
- class="immich-form-input text-gray-700 w-full mb-2"
- id="datetime"
- type="datetime-local"
- bind:value={selectedDate}
- />
+ <DateInput class="immich-form-input w-full mb-2" id="datetime" type="datetime-local" bind:value={selectedDate} />
{#if timezoneInput}
<div class="w-full">
<Combobox bind:selectedOption label={$t('timezone')} options={timezones} placeholder={$t('search_timezone')} />
diff --git a/web/src/lib/modals/AssetSelectionChangeDateModal.svelte b/web/src/lib/modals/AssetSelectionChangeDateModal.svelte
index e60e4cb8a5..6f0be03f4d 100644
--- a/web/src/lib/modals/AssetSelectionChangeDateModal.svelte
+++ b/web/src/lib/modals/AssetSelectionChangeDateModal.svelte
@@ -77,11 +77,7 @@
</Field>
{#if showRelative}
<Label for="relativedatetime" class="block mb-1">{$t('offset')}</Label>
- <DurationInput
- class="immich-form-input w-full text-gray-700 mb-2"
- id="relativedatetime"
- bind:value={selectedDuration}
- />
+ <DurationInput class="immich-form-input w-full mb-2" id="relativedatetime" bind:value={selectedDuration} />
{:else}
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label>
<DateInput class="immich-form-input w-full mb-2" id="datetime" type="datetime-local" bind:value={selectedDate} />