You can register the mixin class in the register
method of a Laravel service provider:
use Illuminate\Foundation\Testing\TestResponse;
TestResponse::mixin(TestResponseMixin::class);
<?php | |
use Filament\View\PanelsIconAlias; | |
use Filament\Support\Icons\Heroicon; | |
use Filament\Forms\View\FormsIconAlias; | |
use Filament\Tables\View\TablesIconAlias; | |
use Filament\Support\Facades\FilamentIcon; | |
use Filament\Schemas\View\SchemaIconAlias; | |
use Filament\Actions\View\ActionsIconAlias; | |
use Filament\Support\View\SupportIconAlias; |
You can register the mixin class in the register
method of a Laravel service provider:
use Illuminate\Foundation\Testing\TestResponse;
TestResponse::mixin(TestResponseMixin::class);
/** | |
* Register a new wildcard route that returns a view if it exists. | |
* | |
* @param string $path | |
* @param string $viewDirectory | |
* @param array $data | |
* @return \Illuminate\Routing\Route | |
*/ | |
\Route::macro('viewDir', function ($path, $viewDirectory = null, $data = []) { | |
$pathWithSegments = trim($path, '/') . '/{page?}'; |
/* | |
|-------------------------------------------------------------------------- | |
| Spacing | |
|-------------------------------------------------------------------------- | |
| | |
| Utilities for controlling an element's padding and margin. | |
| | |
*/ | |
$spacing-class: ( |
-- Weigh rows against eachother based on different conditions, | |
-- ordering the results based on their given weights so that | |
-- more precise matches will show higher up in the results. | |
-- In this example, an exact match will show up at the top | |
-- of the results, a match at the beginning of the string | |
-- will show next, and a match anywhere will show last. | |
set @query = 'Liam'; |
<?php | |
set_bitmask_flags([ | |
'FLAG_1', | |
'FLAG_2', | |
'FLAG_3', | |
'FLAG_4', | |
'FLAG_5', | |
]); |
/* | |
|-------------------------------------------------------------------------- | |
| Spacing | |
|-------------------------------------------------------------------------- | |
| | |
| Utilities for controlling an element's padding and margin. | |
| | |
*/ | |
$spacing-class: ( |
/** General websites **/ | |
code { font-family: "Operator Mono Lig" !important; font-weight: 200; } | |
pre > code { font-family: "Operator Mono Lig" !important; font-size: 1.2em !important; font-weight: 200; } | |
/** GitHub **/ | |
.blob-code-inner, .blob-num, .highlight pre { font-family: "Operator Mono Lig" !important; font-weight: 200; } | |
.pl-c, .pl-e { font-style: italic; } | |
.pl-c { color: #4CAF50; } | |
/** Prism JS **/ |