koko-analytics-nlj-colors/koko-analytics-nlj-colors.php

28 lines
720 B
PHP
Raw Permalink Normal View History

2024-05-23 05:54:27 +00:00
<?php
/*
* Plugin Name: Koko Analytics: New Leaf Chart Colors
* Plugin URI: https://giteacoffee.emucafe.org/koko-analytics-nlj-colors
* Description: Change Koko Analytics chart colors to https://thenewleafjournal.com theme.
* Author: Nicholas A. Ferrell
* Author URI: https://thenewleafjournal.com/author/naferrell
* Version: 1.0
* License: GPLv3
* License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
* Text Domain: koko-analytics-nlj-colors
*/
add_action('admin_head', function () {
?>
<style>
.ka--pageviews {
border-top-color: #526b2d !important;
fill: #526b2d !important;
}
.ka--visitors {
border-top-color: #66352b !important;
fill: #66352b !important;
}
</style>
<?php
});