💄 Add more styles to charts

pull/26/head
James Panther 2021-10-29 17:04:31 +11:00
parent 52fd737c58
commit 32522c6399
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 6 additions and 0 deletions

View File

@ -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")
});
</script>
{{ end }}