@props([ 'variant' => 'fullcolour', // fullcolour, reversed, ink, white, terracotta 'size' => 'md', // sm, md, lg 'showWordmark' => true, 'stacked' => false, ]) @php $dimensions = match ($size) { 'sm' => ['symbol' => 'w-6 h-5', 'text' => 'text-lg', 'gap' => 'gap-2'], 'lg' => ['symbol' => 'w-10 h-9', 'text' => 'text-2xl', 'gap' => 'gap-3.5'], default => ['symbol' => 'w-8 h-7', 'text' => 'text-xl', 'gap' => 'gap-2.5'], }; $inkColor = match ($variant) { 'reversed', 'white' => '#FFFFFF', 'terracotta' => '#C2552E', default => '#1F2330', }; $terracottaColor = match ($variant) { 'white' => '#FFFFFF', 'ink' => '#1F2330', default => '#C2552E', }; $textColor = match ($variant) { 'reversed', 'white' => 'text-white', 'terracotta' => 'text-[#C2552E]', default => 'text-[#1F2330]', }; @endphp
merge(['class' => 'inline-flex items-center ' . ($stacked ? 'flex-col justify-center text-center' : '') . ' ' . $dimensions['gap']]) }}> @if ($showWordmark) ELADAMIS @endif