You've already forked Atomcms-edit
3d5f94f9b9
- 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
18 lines
473 B
PHP
Executable File
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>
|