Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make tabler the default theme #5238

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/Console/Commands/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ class Install extends Command
* @var array
*/
protected $themes = [
Themes\RequireThemeCoreuiv2::class,
Themes\RequireThemeCoreuiv4::class,
Themes\RequireThemeTabler::class,
Themes\RequireThemeCoreuiv4::class,
Themes\RequireThemeCoreuiv2::class,
];

/**
Expand Down Expand Up @@ -109,7 +109,7 @@ public function handle()
} elseif (! $this->isAnyThemeInstalled()) {
// Install default theme
$this->progressBlock('Installing default theme');
$this->executeArtisanProcess('backpack:require:theme-coreuiv2');
$this->executeArtisanProcess('backpack:require:theme-tabler');
$this->closeProgressBlock();
}

Expand Down
4 changes: 2 additions & 2 deletions src/app/Console/Commands/Themes/RequireThemeCoreuiv2.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class RequireThemeCoreuiv2 extends Command
* @var array
*/
public static $addon = [
'name' => 'CoreUIv2 <fg=green>(default)</>',
'name' => 'CoreUIv2',
'description' => [
'UI provided by CoreUIv2, a Boostrap 4 template.',
'UI provided by CoreUIv2, a Boostrap 4 template. Considered legacy, but useful for IE support.',
'<fg=blue>https://github.com/laravel-backpack/theme-coreuiv2/</>',
],
'repo' => 'backpack/theme-coreuiv2',
Expand Down
2 changes: 1 addition & 1 deletion src/app/Console/Commands/Themes/RequireThemeCoreuiv4.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RequireThemeCoreuiv4 extends Command
* @var array
*/
public static $addon = [
'name' => 'CoreUIv4 <fg=yellow>(public beta)</>',
'name' => 'CoreUIv4',
'description' => [
'UI provided by CoreUIv4, a Boostrap 5 template.',
'<fg=blue>https://github.com/laravel-backpack/theme-coreuiv4/</>',
Expand Down
4 changes: 2 additions & 2 deletions src/app/Console/Commands/Themes/RequireThemeTabler.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class RequireThemeTabler extends Command
* @var array
*/
public static $addon = [
'name' => 'Tabler',
'name' => 'Tabler <fg=green>(default)</>',
'description' => [
'UI provided by Tabler, a Boostrap 5 template.',
'UI provided by Tabler, a Boostrap 5 template. Lots of new features, including a dark mode.',
'<fg=blue>https://github.com/laravel-backpack/theme-tabler/</>',
],
'repo' => 'backpack/theme-tabler',
Expand Down