mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-02 04:15:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
25 lines
613 B
PHP
25 lines
613 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Console\Commands\Themes;
|
|
|
|
use Illuminate\Console\Attributes\Description;
|
|
use Illuminate\Console\Attributes\Signature;
|
|
use Illuminate\Console\Command;
|
|
use Pterodactyl\Contracts\Themes\ResetsThemes;
|
|
|
|
#[Description('Remove the applied theme, restoring the stock panel look.')]
|
|
#[Signature('p:theme:reset')]
|
|
class ResetCommand extends Command
|
|
{
|
|
public function handle(ResetsThemes $themes): int
|
|
{
|
|
$themes->reset();
|
|
|
|
$this->components->info('Theme removed - the panel is back on its stock tokens.');
|
|
|
|
return self::SUCCESS;
|
|
}
|
|
}
|