Done !
| Server IP : 51.91.236.255 / Your IP : 216.73.217.126 Web Server : Apache System : Linux webm003.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : chloega ( 433239) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/chloega/www/wp-content/themes/inspiro/inc/ |
Upload File : |
<?php
/**
* Inspiro Lite: Color Patterns
*
* @package Inspiro
* @subpackage Inspiro_Lite
* @since Inspiro 1.0.0
*/
/**
* Generate the CSS for the current custom color scheme.
*/
function inspiro_custom_colors_css() {
$hex = inspiro_get_theme_mod( 'colorscheme_hex' );
$css = '
/**
* Inspiro Lite: Custom Color Scheme
*
*/
:root {
--inspiro-primary-color: ' . $hex . ';
}
body {
--wp--preset--color--secondary: ' . $hex . ';
}
';
/**
* Filters Inspiro Lite custom colors CSS.
*
* @since Inspiro 1.0.0
*
* @param string $css Base theme colors CSS.
* @param string $hex The user's selected color HEX.
*/
return apply_filters( 'inspiro_custom_colors_css', $css, $hex );
}