Skip to content

Commit

Permalink
Update gScript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lfeatherby committed Nov 13, 2024
1 parent a785a50 commit d2b23a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions generator/gScript.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const app = document.getElementById("root");
var multi = document.getElementById("multi");
var pickerS = new iro.ColorPicker("#pickerS");
var pickerS = new iro.ColorPicker('#pickerS', {
color: "#ff5005"
});
var currentColour = "";
var currentMode = "monochrome";
var currentCount = "5";
Expand Down Expand Up @@ -46,7 +48,7 @@ $(document).ready(function () {
$("#hex1").on("input", function () {
c1 = $(this).val().replace("#", "");
pickerS.color.hexString = "#" + c1;
b1.style.backgroundColor = "#" + c1
b1.style.backgroundColor = "#" + c1;
lbl1.style.color = getCont(c1);
lbl1.textContent = "#" + c1;
});
Expand Down

0 comments on commit d2b23a4

Please sign in to comment.