mirror of
https://github.com/immich-app/immich
synced 2025-06-08 18:58:00 +00:00
fix: notification text's color (#18151)
This commit is contained in:
parent
0beb3ac4c1
commit
3a1e3e82e7
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { fade } from 'svelte/transition';
|
import CircleIconButton from '$lib/components/elements/buttons/circle-icon-button.svelte';
|
||||||
import Icon from '$lib/components/elements/icon.svelte';
|
import Icon from '$lib/components/elements/icon.svelte';
|
||||||
import {
|
import {
|
||||||
isComponentNotification,
|
isComponentNotification,
|
||||||
@ -8,10 +8,10 @@
|
|||||||
type ComponentNotification,
|
type ComponentNotification,
|
||||||
type Notification,
|
type Notification,
|
||||||
} from '$lib/components/shared-components/notification/notification';
|
} from '$lib/components/shared-components/notification/notification';
|
||||||
import { onMount } from 'svelte';
|
|
||||||
import { mdiCloseCircleOutline, mdiInformationOutline, mdiWindowClose } from '@mdi/js';
|
import { mdiCloseCircleOutline, mdiInformationOutline, mdiWindowClose } from '@mdi/js';
|
||||||
import CircleIconButton from '$lib/components/elements/buttons/circle-icon-button.svelte';
|
import { onMount } from 'svelte';
|
||||||
import { t } from 'svelte-i18n';
|
import { t } from 'svelte-i18n';
|
||||||
|
import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
notification: Notification | ComponentNotification;
|
notification: Notification | ComponentNotification;
|
||||||
@ -100,7 +100,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="whitespace-pre-wrap ps-[28px] pe-[16px] text-sm" data-testid="message">
|
<p class="whitespace-pre-wrap ps-[28px] pe-[16px] text-sm text-light" data-testid="message">
|
||||||
{#if isComponentNotification(notification)}
|
{#if isComponentNotification(notification)}
|
||||||
<notification.component.type {...notification.component.props} />
|
<notification.component.type {...notification.component.props} />
|
||||||
{:else}
|
{:else}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user