Changeset 60537 for trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php
- Timestamp:
- 08/04/2025 08:53:04 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php
r56300 r60537 14 14 15 15 /** 16 * Instantiate the object.16 * Instantiates the object. 17 17 * 18 18 * @since Twenty Twenty-One 1.0 … … 31 31 32 32 /** 33 * Determine the luminance of the given color and then return#fff or #000 so that the text is always readable.33 * Determines the luminance of the given color and then returns #fff or #000 so that the text is always readable. 34 34 * 35 35 * @since Twenty Twenty-One 1.0 … … 43 43 44 44 /** 45 * Generate color variables.45 * Generates color variables. 46 46 * 47 * Adjust the color value of the CSS variables depending on the background color theme mod.47 * Adjusts the color value of the CSS variables depending on the background color theme mod. 48 48 * Both text and link colors needs to be updated. 49 49 * The code below needs to be updated, because the colors are no longer theme mods. … … 112 112 113 113 /** 114 * Get luminance from a HEX color.114 * Gets luminance from a HEX color. 115 115 * 116 116 * @static
Note: See TracChangeset
for help on using the changeset viewer.