From a0fd104f2a843b357393254ed97dab87ac846a0f Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 15 Oct 2024 00:59:33 -0700 Subject: [PATCH] Add some emojis to notifications for visual accessibility. --- app/pages/nemo-wallet.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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') } -- 2.34.1