mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
finish custom accent color feature
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
if (interval < 1)
|
||||
interval = 1;
|
||||
|
||||
let primaryColor = document.documentElement.style.getPropertyValue('--primary');
|
||||
let primaryColor = window.getComputedStyle(document.body).getPropertyValue('--primary').trim();
|
||||
|
||||
return new CanvasJS.Chart(id, {
|
||||
backgroundColor: 'transparent',
|
||||
|
Reference in New Issue
Block a user