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 }}