File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 929929 const toastMessage = document .getElementById (' toast-message' );
930930
931931 if (type === ' success' ) {
932- toastIcon .className = ' ti ti-check text-green-400 mr-2' ;
932+ toastIcon .className = ' ti ti-check text-green-400 text-xl mr-2 font-loaded ' ;
933933 toast .classList .add (' border-l-4' , ' border-green-400' );
934934 toast .classList .remove (' border-l-4' , ' border-red-400' , ' border-yellow-400' );
935935 } else if (type === ' error' ) {
936- toastIcon .className = ' ti ti-x text-red-400 mr-2' ;
936+ toastIcon .className = ' ti ti-x text-red-400 text-xl mr-2 font-loaded ' ;
937937 toast .classList .add (' border-l-4' , ' border-red-400' );
938938 toast .classList .remove (' border-l-4' , ' border-green-400' , ' border-yellow-400' );
939939 } else if (type === ' warning' ) {
940- toastIcon .className = ' ti ti-alert-triangle text-yellow-400 mr-2' ;
940+ toastIcon .className = ' ti ti-alert-triangle text-yellow-400 text-xl mr-2 font-loaded ' ;
941941 toast .classList .add (' border-l-4' , ' border-yellow-400' );
942942 toast .classList .remove (' border-l-4' , ' border-green-400' , ' border-red-400' );
943943 }
Original file line number Diff line number Diff line change 319319 const toastIcon = document .getElementById (' toast-icon' );
320320 const toastMessage = document .getElementById (' toast-message' );
321321 if (type === ' success' ) {
322- toastIcon .className = ' ti ti-check text-green-400 mr-2' ;
322+ toastIcon .className = ' ti ti-check text-green-400 text-xl mr-2 font-loaded ' ;
323323 toast .classList .add (' border-l-4' , ' border-green-400' );
324324 toast .classList .remove (' border-l-4' , ' border-red-400' , ' border-yellow-400' );
325325 } else if (type === ' error' ) {
326- toastIcon .className = ' ti ti-x text-red-400 mr-2' ;
326+ toastIcon .className = ' ti ti-x text-red-400 text-xl mr-2 font-loaded ' ;
327327 toast .classList .add (' border-l-4' , ' border-red-400' );
328328 toast .classList .remove (' border-l-4' , ' border-green-400' , ' border-yellow-400' );
329329 } else if (type === ' warning' ) {
330- toastIcon .className = ' ti ti-alert-triangle text-yellow-400 mr-2' ;
330+ toastIcon .className = ' ti ti-alert-triangle text-yellow-400 text-xl mr-2 font-loaded ' ;
331331 toast .classList .add (' border-l-4' , ' border-yellow-400' );
332332 toast .classList .remove (' border-l-4' , ' border-green-400' , ' border-red-400' );
333333 }
Original file line number Diff line number Diff line change 242242 const toastIcon = document .getElementById (' toast-icon' );
243243 const toastMessage = document .getElementById (' toast-message' );
244244 if (type === ' success' ) {
245- toastIcon .className = ' ti ti-check text-green-400 mr-2' ;
245+ toastIcon .className = ' ti ti-check text-green-400 text-xl mr-2 font-loaded ' ;
246246 toast .classList .add (' border-l-4' , ' border-green-400' );
247247 toast .classList .remove (' border-l-4' , ' border-red-400' );
248248 } else if (type === ' error' ) {
249- toastIcon .className = ' ti ti-x text-red-400 mr-2' ;
249+ toastIcon .className = ' ti ti-x text-red-400 text-xl mr-2 font-loaded ' ;
250250 toast .classList .add (' border-l-4' , ' border-red-400' );
251251 toast .classList .remove (' border-l-4' , ' border-green-400' );
252252 }
Original file line number Diff line number Diff line change @@ -414,12 +414,12 @@ function showToast(message, type = 'success') {
414414 const toastMessage = document .getElementById (' toast-message' );
415415
416416 if (type === ' success' ) {
417- toastIcon .className = ' ti ti-check text-green-400 mr-2' ;
417+ toastIcon .className = ' ti ti-check text-green-400 text-xl mr-2 font-loaded ' ;
418418 } else {
419- toastIcon .className = ' ti ti-x text-red-400 mr-2' ;
419+ toastIcon .className = ' ti ti-x text-red-400 text-xl mr-2 font-loaded ' ;
420420 }
421421
422- toast .className = ' fixed top-16 right-4 bg-dark-800 text-white px-4 py-3 rounded-lg shadow-lg z-50 flex items-center ' ;
422+ toast .className = ' fixed top-16 right-4 bg-dark-800 text-white px-4 py-3 rounded-lg shadow-lg z-50' ;
423423 toastMessage .textContent = message;
424424 toast .classList .remove (' hidden' );
425425
You can’t perform that action at this time.
0 commit comments