Files
Atomcms-edit/resources/themes/dusk/views/components/page-header.blade.php
T
root 3d5f94f9b9 Improve text visibility in atom and dusk themes
- Add CSS variable support to dusk theme components for dynamic text colors
- Fix low-contrast preset color combinations (cyberpunk, neon, magma, forest, obsidian, space)
- Add text-shadow utility classes and apply to site header and backgrounds
- Style logout buttons as proper buttons matching other button styles
- Fix hardcoded text colors in atom theme components
2026-06-24 16:03:21 +02:00

18 lines
473 B
PHP
Executable File

@props(['icon' => '', 'classes' => '', 'subHeader'])
<div class="w-full bg-[#21242e] p-3 rounded-lg flex gap-2 items-center {{ $classes }}">
@if (!empty($icon))
{{ $icon }}
@endif
<div class="flex-col px-2">
<div class="text-lg font-bold flex items-center" style="color: var(--color-text);">
{{ $slot }}
</div>
@if(isset($subHeader))
<p class="text-muted">{{ $subHeader }}</p>
@endif
</div>
</div>