Add koko-analytics-nlj-colors.php
This commit is contained in:
parent
97fbc63a59
commit
ab498b5d5d
28
koko-analytics-nlj-colors.php
Normal file
28
koko-analytics-nlj-colors.php
Normal 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
|
||||
});
|
Loading…
Reference in New Issue
Block a user