Skip to content

Commit bdcc0a4

Browse files
nielslyngsoeiOvergaard
authored andcommitted
fix: close button color inherits from toast notification
1 parent d16d072 commit bdcc0a4

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

packages/uui-toast-notification/lib/uui-toast-notification.element.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,20 +189,17 @@ export class UUIToastNotificationElement extends LitElement {
189189
}
190190
};
191191

192-
private _timer: Timer | null = null;
193-
private _pauseTimer: boolean = false;
194-
195192
@query('#toast')
196193
private _toastEl!: HTMLElement;
197-
198-
private _animationTimeout?: number;
194+
private _timer: Timer | null = null;
195+
private _pauseTimer: boolean = false;
199196

200197
protected isOpen = false;
198+
private _open = false;
201199

202200
@state()
203201
private _animate = false;
204-
205-
private _open = false;
202+
private _animationTimeout?: number;
206203

207204
/**
208205
* define if this toast should open or close.

0 commit comments

Comments
 (0)