{@Context::addMetaTag("viewport", "width=device-width, user-scalable=yes")} {@ if(!$layout_info->primary_color) $layout_info->primary_color = 'red'; if(!$layout_info->primary_color && $layout_info->customized_primary_color) $layout_info->primary_color = 'customized'; if(!$layout_info->customized_primary_color) $layout_info->customized_primary_color = '#f44336'; } {@$layout_info->primary_color = 'red';} {@ $material_colors = array( 'red' => '#f44336', 'crimson' => '#aa0000', 'pink' => '#e91e63', 'purple' => '#9c27b0', 'deep-purple' => '#673ab7', 'indigo' => '#3f51b5', 'deep-blue' => '#00397f', 'blue' => '#2196f3', 'light-blue' => '#03a9f4', 'cyan' => '#00bcd4', 'teal' => '#009688', 'green' => '#4caf50', 'light-green' => '#8bc34a', 'lime' => '#cddc39', 'yellow' => '#ffeb3b', 'amber' => '#ffc107', 'orange' => '#ff9800', 'deep-orange' => '#ff5722', 'brown' => '#795548', 'grey' => '#9e9e9e', 'blue-grey' => '#607d8b', 'black' => '#000000', 'white' => '#ffffff', 'customized' => $layout_info->customized_primary_color, ); } {@$colorset = $material_colors[$member_config->colorset];} {@$skin_color = $material_colors[$layout_info->primary_color];} {@$skin_color = trim($colorset)} {@$skin_color = trim($colorset)[1].trim($colorset)[1].trim($colorset)[2].trim($colorset)[2].trim($colorset)[3].trim($colorset)[3]} {@$skin_color = '#f44336'} {@$skin_color = $layout_info->primary_color} {@$skin_color = $layout_info->primary_color[1].$layout_info->primary_color[1].$layout_info->primary_color[2].$layout_info->primary_color[2].$layout_info->primary_color[3].$layout_info->primary_color[3]} {@$skin_color = '#f44336'} {@Context::set('prn_less_value', array('red' => hexdec(substr($skin_color, 1, 2)), 'green' => hexdec(substr($skin_color, 3, 2)), 'blue' => hexdec(substr($skin_color, 5, 2)) ))}

- {lang($val)}