From 11f35466e93f6989697afa7c422b436ef49bdab4 Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Fri, 15 Nov 2024 01:45:50 -0500 Subject: [PATCH] show colors on page load --- src/main.js | 1 + src/styles.css | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 5b4a295..e9654bb 100644 --- a/src/main.js +++ b/src/main.js @@ -359,6 +359,7 @@ function splitPane(div, percent, horiz) { } div1.style.flex = `0 0 ${percent}%` div2.style.flex = `1 1 auto` + Coloris({el: ".color-field"}) updateUI() } diff --git a/src/styles.css b/src/styles.css index b46af30..81006b8 100644 --- a/src/styles.css +++ b/src/styles.css @@ -198,4 +198,9 @@ button { height: 5px; background-color: #2f2f2f; -} \ No newline at end of file +} +.clr-field button { + width: 100% !important; + height: 100% !important; + border-radius: 5px; +}