- Timestamp:
- 07/06/2021 12:34:36 PM (5 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-content/themes/twentytwenty/inc/custom-css.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-content/themes/twentytwenty/inc/custom-css.php
r51095 r51338 13 13 * Generate CSS. 14 14 * 15 * @since Twenty Twenty 1.0 16 * 15 17 * @param string $selector The CSS selector. 16 * @param string $style The CSS style.17 * @param string $value The CSS value.18 * @param string $prefix The CSS prefix.19 * @param string $suffix The CSS suffix.20 * @param bool $echo Echo the styles.18 * @param string $style The CSS style. 19 * @param string $value The CSS value. 20 * @param string $prefix The CSS prefix. 21 * @param string $suffix The CSS suffix. 22 * @param bool $echo Echo the styles. 21 23 */ 22 24 function twentytwenty_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $echo = true ) { … … 51 53 * Build CSS reflecting colors, fonts and other options set in the Customizer, and return them for output. 52 54 * 53 * @param string $type Whether to return CSS for the "front-end", "block-editor" or "classic-editor". 55 * @since Twenty Twenty 1.0 56 * 57 * @param string $type Whether to return CSS for the "front-end", "block-editor", or "classic-editor". 54 58 */ 55 59 function twentytwenty_get_customizer_css( $type = 'front-end' ) { … … 79 83 ob_start(); 80 84 81 /* *85 /* 82 86 * Note – Styles are applied in this order: 83 87 * 1. Element specific … … 87 91 * meaning that any color classes applied in the block editor will 88 92 * have a higher priority than the base element styles. 89 */93 */ 90 94 91 95 // Front-End Styles.
Note:
See TracChangeset
for help on using the changeset viewer.