From 32522c639938c541fe5be0b1cc58e1ae36644ad9 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Fri, 29 Oct 2021 17:04:31 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Add=20more=20styles=20to=20chart?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/head.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 674417a0..c44c57e7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -154,6 +154,12 @@ } Chart.defaults.font.size = 14 Chart.defaults.backgroundColor = css("--color-primary-300") + Chart.defaults.elements.point.borderColor = css("--color-primary-400") + Chart.defaults.elements.bar.borderColor = css("--color-primary-500") + Chart.defaults.elements.bar.borderWidth = 1 + Chart.defaults.elements.line.borderColor = css("--color-primary-400") + Chart.defaults.elements.radar.backgroundColor = css("--color-primary-200") + Chart.defaults.elements.radar.borderColor = css("--color-primary-400") }); {{ end }}