First commit
Some checks failed
Blowfish Docs Deploy / build (push) Has been cancelled
Blowfish Docs Deploy / deploy (push) Has been cancelled
Test Build / Build Example Site (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Update Hugo version / updateBlowfish (push) Has been cancelled
Some checks failed
Blowfish Docs Deploy / build (push) Has been cancelled
Blowfish Docs Deploy / deploy (push) Has been cancelled
Test Build / Build Example Site (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Update Hugo version / updateBlowfish (push) Has been cancelled
Delete exampleSite Add initial content, images & docker-compose.yml Use extend-head.html for analytics Set remote url to gitea.novicelab.io Remove original .git due to "shallow update not allowed" error
This commit is contained in:
13
assets/js/chart.js
Normal file
13
assets/js/chart.js
Normal file
@@ -0,0 +1,13 @@
|
||||
function css(name) {
|
||||
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
|
||||
}
|
||||
|
||||
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.arc.backgroundColor = css("--color-primary-200");
|
||||
Chart.defaults.elements.arc.borderColor = css("--color-primary-500");
|
||||
Chart.defaults.elements.arc.borderWidth = 1;
|
||||
Reference in New Issue
Block a user