Skip to content

Commit 01d9a53

Browse files
committed
make tabler the default theme
1 parent 9d33d28 commit 01d9a53

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/app/Console/Commands/Install.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ class Install extends Command
4949
* @var array
5050
*/
5151
protected $themes = [
52-
Themes\RequireThemeCoreuiv2::class,
53-
Themes\RequireThemeCoreuiv4::class,
5452
Themes\RequireThemeTabler::class,
53+
Themes\RequireThemeCoreuiv4::class,
54+
Themes\RequireThemeCoreuiv2::class,
5555
];
5656

5757
/**
@@ -109,7 +109,7 @@ public function handle()
109109
} elseif (! $this->isAnyThemeInstalled()) {
110110
// Install default theme
111111
$this->progressBlock('Installing default theme');
112-
$this->executeArtisanProcess('backpack:require:theme-coreuiv2');
112+
$this->executeArtisanProcess('backpack:require:theme-tabler');
113113
$this->closeProgressBlock();
114114
}
115115

src/app/Console/Commands/Themes/RequireThemeCoreuiv2.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class RequireThemeCoreuiv2 extends Command
2929
* @var array
3030
*/
3131
public static $addon = [
32-
'name' => 'CoreUIv2 <fg=green>(default)</>',
32+
'name' => 'CoreUIv2',
3333
'description' => [
34-
'UI provided by CoreUIv2, a Boostrap 4 template.',
34+
'UI provided by CoreUIv2, a Boostrap 4 template. Considered legacy, but useful for IE support.',
3535
'<fg=blue>https://github.com/laravel-backpack/theme-coreuiv2/</>',
3636
],
3737
'repo' => 'backpack/theme-coreuiv2',

src/app/Console/Commands/Themes/RequireThemeCoreuiv4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class RequireThemeCoreuiv4 extends Command
2929
* @var array
3030
*/
3131
public static $addon = [
32-
'name' => 'CoreUIv4 <fg=yellow>(public beta)</>',
32+
'name' => 'CoreUIv4',
3333
'description' => [
3434
'UI provided by CoreUIv4, a Boostrap 5 template.',
3535
'<fg=blue>https://github.com/laravel-backpack/theme-coreuiv4/</>',

src/app/Console/Commands/Themes/RequireThemeTabler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class RequireThemeTabler extends Command
2929
* @var array
3030
*/
3131
public static $addon = [
32-
'name' => 'Tabler',
32+
'name' => 'Tabler <fg=green>(default)</>',
3333
'description' => [
34-
'UI provided by Tabler, a Boostrap 5 template.',
34+
'UI provided by Tabler, a Boostrap 5 template. Lots of new features, including a dark mode.',
3535
'<fg=blue>https://github.com/laravel-backpack/theme-tabler/</>',
3636
],
3737
'repo' => 'backpack/theme-tabler',

0 commit comments

Comments
 (0)