Refactor dashboard SVG charts and animations

- Removed the old SVG file for the dashboard chart and replaced it with a new implementation directly in the PHP file.
- Updated the SVG structure to improve accessibility and styling, including the use of CSS classes for dynamic theming.
- Enhanced the bar charts, line graph, and pie chart with new gradients and animations.
- Adjusted the enqueue script for the dashboard animator to include versioning based on file modification time.
This commit is contained in:
Matt Batchelder
2026-02-21 02:08:54 -05:00
parent 38d585e071
commit a33a6d62d2
5 changed files with 271 additions and 634 deletions

View File

@@ -34,7 +34,7 @@ add_action( 'wp_enqueue_scripts', function () {
'oribi-dashboard-animator',
ORIBI_URI . '/assets/js/dashboard-animator.js',
[],
ORIBI_VERSION,
ORIBI_VERSION . '.' . filemtime( ORIBI_DIR . '/assets/js/dashboard-animator.js' ),
true
);