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

This commit is contained in:
Alex 2026-02-04 12:45:56 -06:00 committed by GitHub
parent 6bd60270b4
commit e9f8521a50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 11 deletions

View file

@ -59,12 +59,7 @@
size="small" size="small"
> >
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label> <Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label>
<DateInput <DateInput class="immich-form-input w-full mb-2" id="datetime" type="datetime-local" bind:value={selectedDate} />
class="immich-form-input text-gray-700 w-full mb-2"
id="datetime"
type="datetime-local"
bind:value={selectedDate}
/>
{#if timezoneInput} {#if timezoneInput}
<div class="w-full"> <div class="w-full">
<Combobox bind:selectedOption label={$t('timezone')} options={timezones} placeholder={$t('search_timezone')} /> <Combobox bind:selectedOption label={$t('timezone')} options={timezones} placeholder={$t('search_timezone')} />

View file

@ -77,11 +77,7 @@
</Field> </Field>
{#if showRelative} {#if showRelative}
<Label for="relativedatetime" class="block mb-1">{$t('offset')}</Label> <Label for="relativedatetime" class="block mb-1">{$t('offset')}</Label>
<DurationInput <DurationInput class="immich-form-input w-full mb-2" id="relativedatetime" bind:value={selectedDuration} />
class="immich-form-input w-full text-gray-700 mb-2"
id="relativedatetime"
bind:value={selectedDuration}
/>
{:else} {:else}
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label> <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} /> <DateInput class="immich-form-input w-full mb-2" id="datetime" type="datetime-local" bind:value={selectedDate} />