- Timestamp:
- 12/03/2013 05:05:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r26555 r26556 73 73 74 74 /** 75 * Tweak the brightness of a color by adjusting the RGB values by the given interval. 76 * 77 * Use positive values of $steps to brighten the color and negative values to darken the color. 78 * All three RGB values are modified by the specified steps, within the range of 0-255. The hue 79 * is generally maintained unless the number of steps causes one value to be capped at 0 or 255. 75 * Tweak the brightness of a color by adjusting the RGB 76 * values by the given interval. 77 * 78 * Use positive values of $steps to brighten the color and negative 79 * values to darken the color. All three RGB values are modified by 80 * the specified steps, within the range of 0-255. The hue is generally 81 * maintained unless the number of steps causes one value to be capped 82 * at 0 or 255. 80 83 * 81 84 * @since Twenty Fourteen 1.0 82 85 * 83 86 * @param string $color The original color, in 3- or 6-digit hexadecimal form. 84 * @param int $steps The number of steps to adjust the color by, in RGB units.87 * @param int $steps The number of steps to adjust the color by, in RGB units. 85 88 * @return string $color The new color, in 6-digit hexadecimal form. 86 89 */ … … 110 113 111 114 /** 112 * Return sa slightly lighter color than what is set as the theme's115 * Return a slightly lighter color than what is set as the theme's 113 116 * accent color. 114 117 * 115 118 * @since Twenty Fourteen 1.0 116 119 * 117 * @return string 120 * @return string Hex color. 118 121 */ 119 122 function twentyfourteen_accent_mid() { … … 122 125 123 126 /** 124 * Return sa lighter color than what is set as the theme's accent color.125 * 126 * @since Twenty Fourteen 1.0 127 * 128 * @return string 127 * Return a lighter color than what is set as the theme's accent color. 128 * 129 * @since Twenty Fourteen 1.0 130 * 131 * @return string Hex color. 129 132 */ 130 133 function twentyfourteen_accent_light() { … … 133 136 134 137 /** 135 * Cache sthe generated variants of the theme's accent color.138 * Cache the generated variants of the theme's accent color. 136 139 * 137 140 * @since Twenty Fourteen 1.0 … … 325 328 326 329 /** 327 * Add scontextual help to the Themes and Post edit screens.330 * Add contextual help to the Themes and Post edit screens. 328 331 * 329 332 * @since Twenty Fourteen 1.0
Note: See TracChangeset
for help on using the changeset viewer.