').addClass('row ms-1 me-1');
row.attr('id', system.SystemAddress);
// This is probably still the default 'true' value, but check in case the fetch() was quick.
- const chartedStyle = system.charted ? 'uncharted' : 'uncharted';
+ const chartedStyle = system.charted ? 'charted' : 'uncharted';
// name
const name = $('
').addClass(`col system ${chartedStyle}`);
diff --git a/src/renderer.js b/src/renderer.js
index d84f20f..270c906 100755
--- a/src/renderer.js
+++ b/src/renderer.js
@@ -11,6 +11,7 @@ import { Settings } from './models/Settings';
import { UI } from './models/UI';
import { Body } from './models/Body';
import { EDSM } from './models/EDSM';
+import { blend } from './assets/blend';
// Grab app.isPackaged from main process
let isPackaged = false;
@@ -128,4 +129,8 @@ edsm.on('SYSTEM_APPRAISED', (system) => {
if (systemRow.length > 0) {
UI.setValue(systemRow, system.estimatedValueMapped);
}
-});
\ No newline at end of file
+});
+
+// const color = blend([245, 168, 4], [0, 0, 0], [0.4, 0.6]);
+// const rgb = `rgb(${color[0]}, ${color[1]}, ${color[2]})`;
+// $('body').css('--secondary-dark', rgb);
\ No newline at end of file