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
20 lines
494 B
PHP
Executable File
20 lines
494 B
PHP
Executable File
@props(['icon', 'classes' => ''])
|
|
|
|
<div class="w-full flex flex-col gap-y-4 p-3 rounded-lg overflow-hidden {{ $classes }}">
|
|
<div class="flex gap-x-2">
|
|
<div
|
|
class="max-w-[50px] max-h-[50px] min-w-[50px] min-h-[50px] rounded-full {{ $icon }} relative flex items-center justify-center">
|
|
</div>
|
|
|
|
<div class="flex flex-col">
|
|
<p class="font-semibold text-body">{{ $title }}</p>
|
|
|
|
@if(isset($underTitle))
|
|
<p class="text-muted">{{ $underTitle }}</p>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
{{ $slot }}
|
|
</div>
|