Files
jabali-panel/resources/views/vendor/filament/assets.blade.php
2026-01-31 06:53:56 +02:00

28 lines
972 B
PHP

@if (isset($data))
<script>
window.filamentData = @js($data)
</script>
@endif
@foreach ($assets as $asset)
@if (! $asset->isLoadedOnRequest())
@php
$skipNotificationScript = $asset instanceof \Filament\Support\Assets\Js
&& $asset->getPackage() === 'filament/notifications'
&& $asset->getId() === 'notifications';
@endphp
@if (! $skipNotificationScript)
{{ $asset->getHtml() }}
@endif
@endif
@endforeach
<style>
:root {
@foreach ($cssVariables ?? [] as $cssVariableName => $cssVariableValue) --{{ $cssVariableName }}:{{ $cssVariableValue }}; @endforeach
}
@foreach ($customColors ?? [] as $customColorName => $customColorShades) .fi-color-{{ $customColorName }} { @foreach ($customColorShades as $customColorShade) --color-{{ $customColorShade }}:var(--{{ $customColorName }}-{{ $customColorShade }}); @endforeach } @endforeach
</style>