From: Chris Duncan Date: Tue, 15 Oct 2024 07:59:33 +0000 (-0700) Subject: Add some emojis to notifications for visual accessibility. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=a0fd104f2a843b357393254ed97dab87ac846a0f;p=nemo-wallet.git Add some emojis to notifications for visual accessibility. --- diff --git a/app/pages/nemo-wallet.html b/app/pages/nemo-wallet.html index ed12416..207456b 100644 --- a/app/pages/nemo-wallet.html +++ b/app/pages/nemo-wallet.html @@ -79,7 +79,7 @@ } async function clearStorage () { sessionStorage.clear() - notify.ok(`Session storage cleared`) + notify.info(`Session storage cleared`) } const notify = { show: (msg, color) => { @@ -106,10 +106,10 @@ notification.appendChild(text) notification.opened = true }, - info: (msg) => notify.show(msg), - ok: (msg) => notify.show(msg, 'DarkCyan'), - warn: (msg) => notify.show(`⚠️ ${msg}`, 'Goldenrod'), - error: (msg) => notify.show(`⚠️ ${msg}`, 'FireBrick') + info: (msg) => notify.show(`ℹ️ ${msg}`), + ok: (msg) => notify.show(`☑️ ${msg}`, 'Cyan'), + warn: (msg) => notify.show(`⚠️ ${msg}`, 'Gold'), + error: (msg) => notify.show(`🚫 ${msg}`, 'Tomato') }