From 21545df9f4a4659e5577b75f40170d82e074c225 Mon Sep 17 00:00:00 2001 From: lolabird Date: Sat, 11 Nov 2023 23:45:04 -0700 Subject: [PATCH] Change default background of canvas --- script.js | 2 +- style.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index be782a7..1bd3fe4 100644 --- a/script.js +++ b/script.js @@ -47,7 +47,7 @@ rangeKnob.addEventListener("mousedown", (e) => { function resetGrid() { gridSlider.value = gridSlider.defaultValue; - container.style.backgroundColor = "#ffffff"; + container.style.backgroundColor = "rgb(180, 254, 235)"; backColorPicker.value = "#ffffff"; colorPicker.value = "#000000"; colorValue = "black"; diff --git a/style.css b/style.css index fe190e6..9d76779 100644 --- a/style.css +++ b/style.css @@ -40,7 +40,6 @@ footer { width: 100%; background-color: #111; opacity: .8; - flex: 0 0 auto; } .pen-input, .grid-input { @@ -92,7 +91,7 @@ button { width: 500px; display: flex; flex-wrap: wrap; - background: white; + background: rgb(180, 254, 235); } .slider {