diff --git a/composer.json b/composer.json
index fc046bb..be40484 100644
--- a/composer.json
+++ b/composer.json
@@ -41,7 +41,6 @@
"orchestra/testbench": "^6.0 || ^7.0",
"laravel/pint": "^1.0",
"nunomaduro/larastan": "^2.0.1",
- "orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"pestphp/pest-plugin-livewire": "^1.0",
diff --git a/resources/views/status-clasess.blade.php b/resources/views/status-clasess.blade.php
deleted file mode 100644
index 4544a86..0000000
--- a/resources/views/status-clasess.blade.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
diff --git a/src/Models/Post.php b/src/Models/Post.php
index 8f8a653..3baecda 100644
--- a/src/Models/Post.php
+++ b/src/Models/Post.php
@@ -61,7 +61,7 @@ public function statusDesc(): string
$PostStatus = PostStatus::where('name', $this->status)->first();
$icon = Blade::render('@svg("' . $PostStatus->icon . '","w-4 h-4 inline-flex")');
- return " " . $icon . " {$PostStatus->label}";
+ return " " . $icon . " {$PostStatus->label}";
}
public function author()
diff --git a/src/Models/PostStatus.php b/src/Models/PostStatus.php
index 43faa6d..eb1aa5d 100644
--- a/src/Models/PostStatus.php
+++ b/src/Models/PostStatus.php
@@ -11,14 +11,14 @@ class PostStatus extends Model
public function getRows()
{
return [
- ['name' => 'publish', 'label' => __('Publish'), 'class' => 'success', 'icon' => 'iconpark-filesuccessone'],
- ['name' => 'future', 'label' => __('Future'), 'class' => 'warning', 'icon' => 'iconpark-filedateone'],
- ['name' => 'draft', 'label' => __('Draft'), 'class' => 'secondary', 'icon' => 'iconpark-filehidingone'],
- ['name' => 'auto-draft', 'label' => __('Auto draft'), 'class' => 'primary', 'icon' => 'iconpark-filesearchone'],
- ['name' => 'pending', 'label' => __('Pending'), 'class' => 'info', 'icon' => 'iconpark-fileeditingone'],
- ['name' => 'private', 'label' => __('Private'), 'class' => 'danger', 'icon' => 'iconpark-filelockone'],
- ['name' => 'trash', 'label' => __('Trash'), 'class' => 'danger', 'icon' => 'iconpark-filetextone'],
- ['name' => 'inherit', 'label' => __('Inherit'), 'class' => 'primary', 'icon' => 'iconpark-filetipsone'],
+ ['name' => 'publish', 'label' => __('Publish'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-success-700 bg-success-500/10', 'icon' => 'iconpark-filesuccessone'],
+ ['name' => 'future', 'label' => __('Future'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-warning-700 bg-warning-500/10', 'icon' => 'iconpark-filedateone'],
+ ['name' => 'draft', 'label' => __('Draft'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-secondary-700 bg-secondary-500/10', 'icon' => 'iconpark-filehidingone'],
+ ['name' => 'auto-draft', 'label' => __('Auto draft'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-primary-700 bg-primary-500/10', 'icon' => 'iconpark-filesearchone'],
+ ['name' => 'pending', 'label' => __('Pending'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-info-700 bg-info-500/10', 'icon' => 'iconpark-fileeditingone'],
+ ['name' => 'private', 'label' => __('Private'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-danger-700 bg-danger-500/10', 'icon' => 'iconpark-filelockone'],
+ ['name' => 'trash', 'label' => __('Trash'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-danger-700 bg-danger-500/10', 'icon' => 'iconpark-filetextone'],
+ ['name' => 'inherit', 'label' => __('Inherit'), 'class' => 'px-2 py-0.5 text-xs rounded-xl text-primary-700 bg-primary-500/10', 'icon' => 'iconpark-filetipsone'],
];
}
diff --git a/src/SkyServiceProvider.php b/src/SkyServiceProvider.php
index 7eac3f6..28b8242 100644
--- a/src/SkyServiceProvider.php
+++ b/src/SkyServiceProvider.php
@@ -15,10 +15,10 @@ class SkyServiceProvider extends PluginServiceProvider
public function boot()
{
- View::share('theme', 'zeus-sky::themes.' . config('zeus-sky.theme'));
+ View::share('theme', 'zeus-sky::themes.' . config('zeus-sky.theme', 'zeus'));
App::singleton('theme', function () {
- return 'zeus-sky::themes.' . config('zeus-sky.theme');
+ return 'zeus-sky::themes.' . config('zeus-sky.theme', 'zeus');
});
return parent::boot();