colours.json commit fix bug where settings did not save in edit mode due to textbox replacing title (e32738a)
   1document.addEventListener("DOMContentLoaded", function() {
   2        chrome.storage.sync.get({"bgvalue": "#2E3440"}, bgCallback);
   3        chrome.storage.sync.get({"fgvalue": "#ECEFF4"}, fgCallback);
   4});
   5
   6var bgCallback = function(colourPref) { document.body.style.background = colourPref["bgvalue"]; };
   7var fgCallback = function(colourPref) { document.body.style.color = colourPref["fgvalue"]; };