View file application/libraries/Scaffold/config/Formatter.php

File size: 1.07Kb
<?php

/**
 * If set to true, Scaffold will use Minify's CSS 
 * compression library to compress your CSS.
 *
 * If set to false, Scaffold will make your CSS
 * human-readable with nice indentation.
 */
$config['compress'] = ( !defined('APPLICATION_ENV') || APPLICATION_ENV == 'development' ? false : true );

/**
 * Compression Options
 * If you've set compress to true, the options below will also apply.
 */

/**
 * Keep the comments inside the CSS
 */
$config['preserve_comments'] = ( !defined('APPLICATION_ENV') || APPLICATION_ENV == 'development' ? true : false );;

/**
 * You can limit line-lengths of your CSS.
 */
$config['limit_line_lengths'] = false;

/**
 * If you use hacks (you're an idiot) you can preserve them here
 */
$config['preserve_hacks'] = false;

/**
 * Convert font-weights to numbers (which are shorter)
 */
$config['font_weights_to_numbers'] = true;

/**
 * Remove empty meaurements with redundant units eg 0px can just be 0
 */
$config['remove_empty_measurements'] = true;

/**
 * Convert rgb() values to hex, which are shorter
 */
$config['rgb_to_hex'] = true;