💄 Update Chart.js and Mermaid to use RGB css vars

This commit is contained in:
James Panther
2022-01-13 16:22:25 +11:00
parent 9cfdc65eaa
commit 049edc6e40
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
function css(name) {
return getComputedStyle(document.documentElement).getPropertyValue(name);
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
}
Chart.defaults.font.size = 14;