@@ -15,6 +15,7 @@ export class NotificationSystem {
1515 z-index: 10000;
1616 max-width: 400px;
1717 pointer-events: none;
18+ color: white !important;
1819 ` ;
1920 document . body . appendChild ( this . container ) ;
2021 }
@@ -59,13 +60,15 @@ export class NotificationSystem {
5960 cursor: pointer;
6061 position: relative;
6162 overflow: hidden;
63+ color: white !important;
6264 ` ;
6365
6466 const content = document . createElement ( 'div' ) ;
6567 content . style . cssText = `
6668 display: flex;
6769 align-items: center;
6870 gap: 0.5rem;
71+ color: white !important;
6972 ` ;
7073
7174 const icon = document . createElement ( 'span' ) ;
@@ -81,7 +84,7 @@ export class NotificationSystem {
8184 closeBtn . style . cssText = `
8285 background: none;
8386 border: none;
84- color: white;
87+ color: white !important ;
8588 font-size: 1.5rem;
8689 cursor: pointer;
8790 padding: 0;
@@ -173,7 +176,7 @@ export class NotificationSystem {
173176 element . className = 'notification notification-progress' ;
174177 element . style . cssText = `
175178 background: var(--primary-color);
176- color: white;
179+ color: white !important ;
177180 padding: 1rem 1.5rem;
178181 margin-bottom: 0.5rem;
179182 border-radius: 6px;
@@ -195,6 +198,7 @@ export class NotificationSystem {
195198 height: 4px;
196199 border-radius: 2px;
197200 overflow: hidden;
201+ color: var(--text-primary);
198202 ` ;
199203
200204 const progressFill = document . createElement ( 'div' ) ;
@@ -203,6 +207,7 @@ export class NotificationSystem {
203207 height: 100%;
204208 width: 0%;
205209 transition: width 0.3s ease;
210+ color: var(--text-primary);
206211 ` ;
207212
208213 progressBar . appendChild ( progressFill ) ;
@@ -259,12 +264,13 @@ export class NotificationSystem {
259264
260265 const dialog = document . createElement ( 'div' ) ;
261266 dialog . style . cssText = `
262- background: white;
267+ background: var(--bg- white-solid) ;
263268 padding: 2rem;
264269 border-radius: 8px;
265270 max-width: 400px;
266271 width: 90%;
267272 text-align: center;
273+ color: var(--text-primary);
268274 ` ;
269275
270276 dialog . innerHTML = `
0 commit comments