"use strict";
(() => {
  // src/client/extension/src/options.ts
  var page = document.getElementById("buttonDiv");
  var kButtonColors = ["#3aa757", "#e8453c", "#f9bb2d", "#4688f1"];
  function constructOptions(kButtonColors2) {
    for (let item of kButtonColors2) {
      let button = document.createElement("button");
      button.style.backgroundColor = item;
      button.addEventListener("click", function() {
        chrome.storage.sync.set({ color: item }, function() {
          console.log("color is " + item);
        });
      });
      page.appendChild(button);
    }
  }
  constructOptions(kButtonColors);
  var options_default = null;
})();
//# sourceMappingURL=options.js.map
