From aea1b282c5e1d2596deac4e694e0780750aa76f7 Mon Sep 17 00:00:00 2001 From: DCoded <dicoded@email.com> Date: Sat, 18 Dec 2021 11:03:35 -0500 Subject: [PATCH] Changed "last transaction" text color --- css/general/textColors.css | 4 ++++ src/gui/storyCaption.js | 1 + 2 files changed, 5 insertions(+) diff --git a/css/general/textColors.css b/css/general/textColors.css index 394ba9989cc..d5de893fd71 100644 --- a/css/general/textColors.css +++ b/css/general/textColors.css @@ -202,6 +202,10 @@ div > span.warning.notification::after { color: yellowgreen } +.cash.note { + color: seagreen; +} + .white a { color: white } diff --git a/src/gui/storyCaption.js b/src/gui/storyCaption.js index 2a586d11017..b15f42506ba 100644 --- a/src/gui/storyCaption.js +++ b/src/gui/storyCaption.js @@ -151,6 +151,7 @@ App.UI.storyCaption = function() { if (V.lastCashTransaction) { const transaction = document.createElement("div"); + css.push('note'); App.UI.DOM.appendNewElement("span", transaction, `Last transaction`, css); transaction.append(" | "); if (V.lastCashTransaction > 0) { -- GitLab