mirror of
https://github.com/adminkit/adminkit.git
synced 2026-03-31 19:57:44 +01:00
Set chart.js defaulFontColor
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
// Usage: https://www.chartjs.org/
|
// Usage: https://www.chartjs.org/
|
||||||
import Chart from "chart.js";
|
import Chart from "chart.js";
|
||||||
|
|
||||||
|
Chart.defaults.global.defaultFontColor = window.theme["gray-600"];
|
||||||
Chart.defaults.global.defaultFontFamily = "'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif";
|
Chart.defaults.global.defaultFontFamily = "'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif";
|
||||||
window.Chart = Chart;
|
window.Chart = Chart;
|
||||||
Reference in New Issue
Block a user