mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 09:51:37 -04:00
💄 Update Chart.js and Mermaid to use RGB css vars
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
function css(name) {
|
function css(name) {
|
||||||
return getComputedStyle(document.documentElement).getPropertyValue(name);
|
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
Chart.defaults.font.size = 14;
|
Chart.defaults.font.size = 14;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
function css(name) {
|
function css(name) {
|
||||||
return getComputedStyle(document.documentElement).getPropertyValue(name);
|
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
mermaid.initialize({
|
mermaid.initialize({
|
||||||
|
|||||||
Reference in New Issue
Block a user