Skip to content

Commit 81ee508

Browse files
awcodesgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 0ae3906 commit 81ee508

3 files changed

Lines changed: 11 additions & 13 deletions

File tree

configure.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
$useLaravelRay = confirm('Use Ray for debugging?', true);
3434
$useUpdateChangelogWorkflow = confirm('Use automatic changelog updater workflow?', true);
3535

36-
$isTheme = confirm("Is this a custom theme?");
37-
$formsOnly = ! $isTheme && confirm("Is this for Forms only?");
38-
$tablesOnly = ! $formsOnly && confirm("Is this for Tables only?");
36+
$isTheme = confirm('Is this a custom theme?');
37+
$formsOnly = ! $isTheme && confirm('Is this for Forms only?');
38+
$tablesOnly = ! $formsOnly && confirm('Is this for Tables only?');
3939

4040
writeln("\r");
4141
writeln('------');
@@ -83,7 +83,7 @@
8383
]);
8484
} else {
8585
if ($isTheme) {
86-
safeUnlink(__DIR__ . '/src/SkeletonServiceProvider.php');
86+
safeUnlink(__DIR__.'/src/SkeletonServiceProvider.php');
8787
remove_package_script(['purge']);
8888
remove_package_script(['dev:scripts']);
8989
remove_package_script(['build:scripts']);
@@ -179,7 +179,7 @@
179179
function ask(string $question, string $default = ''): string
180180
{
181181
$def = $default ? "\e[0;33m ({$default})" : '';
182-
$answer = readline("\e[0;32m" . $question.$def . ": \e[0m");
182+
$answer = readline("\e[0;32m".$question.$def.": \e[0m");
183183

184184
if (! $answer) {
185185
return $default;
@@ -337,7 +337,7 @@ function remove_tag(string $file, string $tag): void
337337

338338
file_put_contents(
339339
$file,
340-
preg_replace('/<!--' . $tag . '-->.*<!--\/' . $tag . '-->/s', '', $contents) ?: $contents
340+
preg_replace('/<!--'.$tag.'-->.*<!--\/'.$tag.'-->/s', '', $contents) ?: $contents
341341
);
342342
}
343343

src/SkeletonServiceProvider.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
//use Filament\Support\Assets\Js;
66
//use Filament\Support\Assets\Css;
7-
use Filament\Support\Assets\Asset;
87
use Filament\PluginServiceProvider;
8+
use Filament\Support\Assets\Asset;
99
use Spatie\LaravelPackageTools\Package;
1010
//use Filament\Support\Assets\AlpineComponent;
1111
use VendorName\Skeleton\Commands\SkeletonCommand;
@@ -48,10 +48,9 @@ protected function getAssetPackage(): ?string
4848
protected function getAssets(): array
4949
{
5050
return [
51-
// AlpineComponent::make('skeleton', __DIR__ . '/../resources/dist/components/skeleton.js'),
52-
// Css::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
53-
// Js::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
51+
// AlpineComponent::make('skeleton', __DIR__ . '/../resources/dist/components/skeleton.js'),
52+
// Css::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
53+
// Js::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
5454
];
5555
}
56-
5756
}

src/SkeletonTheme.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Filament;
44

5-
use Filament\Context;
65
use Filament\Contracts\Plugin;
76
use Filament\Support\Assets\Theme;
87
use Filament\Support\Facades\FilamentAsset;
@@ -17,7 +16,7 @@ public function getId(): string
1716
public function register(Context $context): void
1817
{
1918
FilamentAsset::register([
20-
Theme::make('skeleton', __DIR__ . '/../resources/dist/skeleton.css'),
19+
Theme::make('skeleton', __DIR__.'/../resources/dist/skeleton.css'),
2120
]);
2221

2322
$context

0 commit comments

Comments
 (0)