mirror of https://github.com/jpanther/congo.git
💄 Update Chart.js and Mermaid to use RGB css vars
parent
9cfdc65eaa
commit
049edc6e40
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function css(name) {
|
||||
return getComputedStyle(document.documentElement).getPropertyValue(name);
|
||||
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
|
||||
}
|
||||
|
||||
mermaid.initialize({
|
||||
|
|
Loading…
Reference in New Issue