From 7a3f3c15b367d08ca238d263d561af6cb74df7fb Mon Sep 17 00:00:00 2001 From: anandia Date: Thu, 26 Dec 2019 18:02:31 +0700 Subject: [PATCH] delete avatar, suitable and thunderclap config --- config/laravolt/avatar.php | 126 -------------------------------- config/laravolt/suitable.php | 15 ---- config/laravolt/thunderclap.php | 27 ------- 3 files changed, 168 deletions(-) delete mode 100644 config/laravolt/avatar.php delete mode 100644 config/laravolt/suitable.php delete mode 100644 config/laravolt/thunderclap.php diff --git a/config/laravolt/avatar.php b/config/laravolt/avatar.php deleted file mode 100644 index df29b97..0000000 --- a/config/laravolt/avatar.php +++ /dev/null @@ -1,126 +0,0 @@ - 'imagick', - - // Initial generator class - 'generator' => \Laravolt\Avatar\Generator\DefaultGenerator::class, - - // Theme implementation - 'decorator' => \Laravolt\Avatar\Theme\Decorator::class, - - // Whether all characters supplied must be replaced with their closest ASCII counterparts - 'ascii' => false, - - // Image shape: circle or square - 'shape' => 'circle', - - // Image width, in pixel - 'width' => 100, - - // Image height, in pixel - 'height' => 100, - - // Number of characters used as initials. If name consists of single word, the first N character will be used - 'chars' => 2, - - // font size - 'fontSize' => 48, - - // convert initial letter in uppercase - 'uppercase' => false, - - // Fonts used to render text. - // If contains more than one fonts, randomly selected based on name supplied - 'fonts' => [__DIR__.'/../fonts/OpenSans-Bold.ttf', __DIR__.'/../fonts/rockwell.ttf'], - - // List of foreground colors to be used, randomly selected based on name supplied - 'foregrounds' => [ - '#FFFFFF', - ], - - // List of background colors to be used, randomly selected based on name supplied - 'backgrounds' => [ - '#f44336', - '#E91E63', - '#9C27B0', - '#673AB7', - '#3F51B5', - '#2196F3', - '#03A9F4', - '#00BCD4', - '#009688', - '#4CAF50', - '#8BC34A', - '#CDDC39', - '#FFC107', - '#FF9800', - '#FF5722', - ], - - 'border' => [ - 'size' => 1, - - // border color, available value are: - // 'foreground' (same as foreground color) - // 'background' (same as background color) - // or any valid hex ('#aabbcc') - 'color' => 'background', - ], - - // List of theme name to be used when rendering avatar - // Possible values are: - // 1. Theme name as string: 'colorful' - // 2. Or array of string name: ['grayscale-light', 'grayscale-dark'] - // 3. Or wildcard "*" to use all defined themes - 'theme' => ['*'], - - // Predefined themes - // Available theme attributes are: - // shape, chars, backgrounds, foregrounds, fonts, fontSize, width, height, ascii, uppercase, and border. - 'themes' => [ - 'grayscale-light' => [ - 'backgrounds' => ['#edf2f7', '#e2e8f0', '#cbd5e0'], - 'foregrounds' => ['#a0aec0'], - ], - 'grayscale-dark' => [ - 'backgrounds' => ['#2d3748', '#4a5568', '#718096'], - 'foregrounds' => ['#e2e8f0'], - ], - 'colorful' => [ - 'backgrounds' => [ - '#f44336', - '#E91E63', - '#9C27B0', - '#673AB7', - '#3F51B5', - '#2196F3', - '#03A9F4', - '#00BCD4', - '#009688', - '#4CAF50', - '#8BC34A', - '#CDDC39', - '#FFC107', - '#FF9800', - '#FF5722', - ], - 'foregrounds' => ['#FFFFFF'], - ], - ] -]; diff --git a/config/laravolt/suitable.php b/config/laravolt/suitable.php deleted file mode 100644 index 9464710..0000000 --- a/config/laravolt/suitable.php +++ /dev/null @@ -1,15 +0,0 @@ - [ - 'sort_by' => 'sort', - 'sort_direction' => 'direction', - 'search' => 'search', - ], - 'restful_button' => [ - 'delete_confirmation_fields' => ['title', 'name'], - ], -]; diff --git a/config/laravolt/thunderclap.php b/config/laravolt/thunderclap.php deleted file mode 100644 index 15d6aa2..0000000 --- a/config/laravolt/thunderclap.php +++ /dev/null @@ -1,27 +0,0 @@ - [ - 'except' => ['id', 'created_at', 'updated_at', 'deleted_at', 'remember_token'], - ], - 'view' => [ - 'extends' => 'layout', - ], - 'routes' => [ - 'prefix' => '', - 'middleware' => [], - ], - 'namespace' => 'Modules', - 'target_dir' => base_path('modules'), - - // Template skeleton (stubs) - 'default' => 'laravolt', - - // name => directory path, relative with stubs directory or absolute path - 'templates' => [ - 'laravolt' => 'laravolt', - ], -];