public static function setup($prefix = null)
    {
        $theme = self::name($prefix);
        $path  = self::find($theme);

        if ($path !== null) {
            $config = self::getData($theme, 'meta');
            if ($config->get('type') == 'theme') {
                return $theme;
            }
        }

        return null;
    }