Add koko-analytics-nlj-colors.php

This commit is contained in:
Nicholas A. Ferrell 2024-05-23 05:54:27 +00:00
parent 97fbc63a59
commit ab498b5d5d

View File

@ -0,0 +1,28 @@
<?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
});