/**
  * Return an instance of this class.
  *
  * @return object A single instance of this class.
  */
 public static function get_instance()
 {
     // If the single instance hasn't been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 /**
  * Compile the SCSS.
  *
  * @return string
  */
 protected function compile_scss()
 {
     if (!class_exists('scssc') && !class_exists('scss_formatter_nested')) {
         include_once 'libs/class-scss.php';
     }
     // Get options
     $colors = WC_Colors::get_options(get_option('woocommerce_colors'));
     ob_start();
     include 'views/scss.php';
     $scss = ob_get_clean();
     $compiler = new scssc();
     $compiler->setFormatter('scss_formatter_compressed');
     $compiled_css = $compiler->compile(trim($scss));
     return $compiled_css;
 }
 /**
  * @return array
  */
 public function get_colors()
 {
     return WC_Colors::get_options(get_option(self::OPTION_NAME));
 }