Lines:
1 to 19 of 19
<?php /** * Custom Colors Class * * @package WordPress * @subpackage Twenty_Twenty_One * @since Twenty Twenty-One 1.0 */ /* class Twenty_Twenty_One_Custom_Colors */ /* function Twenty_Twenty_One_Custom_Colors::__construct() – Instantiate the object. */ /* function Twenty_Twenty_One_Custom_Colors::custom_get_readable_color() – Determine the luminance of the given color and then return #fff or #000 so that the text is always readable. */ /* function Twenty_Twenty_One_Custom_Colors::generate_custom_color_variables() – Generate color variables. */ /* function Twenty_Twenty_One_Custom_Colors::custom_color_variables() – Customizer & frontend custom color variables. */ /* function Twenty_Twenty_One_Custom_Colors::editor_custom_color_variables() – Editor custom color variables. */ /* function Twenty_Twenty_One_Custom_Colors::get_relative_luminance_from_hex() – Get luminance from a HEX color. */ /* function Twenty_Twenty_One_Custom_Colors::body_class() – Adds a class to <body> if the background-color is dark. */