wordpress/wp-content/themes/basic/themify/customizer/class-themify-customizer.php
/**
		 * Outputs color for the logo in text mode since it's needed for the <a>.
		 *
		 * @param string $mod_name
		 * @return string
		 */
Outputs color for the logo in text mode since it's needed for the .
@param string $mod_name
@return string
Outputs color for the logo in text mode since it ' s needed for the . @param string $mod_name @return string
function build_color_rule($mod_name) {
			$element = json_decode($this->get_cached_mod($mod_name));
			$element_props = '';
			if (isset($element->mode) && $element->mode === 'image' && !empty($element->imgwidth)) {
				$element_props = "\twidth: {$element->imgwidth}px;";
			}
			if (isset($element->color) && '' != $element->color) {
				$opacity = ( isset($element->opacity) && '' != $element->opacity ) ? $element->opacity : 1;
				$element_props .=$opacity < 1 ? "\n\tcolor: rgba(" . $this->hex2rgb($element->color) . ',' . $opacity . ');' : "\n\tcolor: #$element->color;";
			}
			return $element_props;
		}
function build_color_rule ( $ mod_name ) { $ element = json_decode ( $ this -> get_cached_mod ( $ mod_name ) ) ; $ element_props = '' ; if ( isset ( $ element -> mode ) && $ element -> mode === 'image' && ! empty ( $ element -> imgwidth ) ) { $ element_props = " \t width:  { $ element -> imgwidth } px; " ; } if ( isset ( $ element -> color ) && '' != $ element -> color ) { $ opacity = ( isset ( $ element -> opacity ) && '' != $ element -> opacity ) ? $ element -> opacity : 1 ; $ element_props .= $ opacity < 1 ? " \n \t color: rgba( " . $ this -> hex2rgb ( $ element -> color ) . ',' . $ opacity . ');' : " \n \t color: # $ element -> color ; " ; } return $ element_props ; }
Outputs color for the logo in text mode since it's needed for the <a>.
Outputs color for the logo in text mode since it ' s needed for the <a > .