updated folder colors, reordering, new todo page, updated sidebar
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@props(['color' => null])
|
||||
|
||||
@php
|
||||
$classes = match ($color) {
|
||||
'zinc' => 'bg-zinc-400',
|
||||
'red' => 'bg-red-500',
|
||||
'orange' => 'bg-orange-500',
|
||||
'amber' => 'bg-amber-500',
|
||||
'green' => 'bg-green-500',
|
||||
'emerald' => 'bg-emerald-500',
|
||||
'sky' => 'bg-sky-500',
|
||||
'blue' => 'bg-blue-500',
|
||||
'indigo' => 'bg-indigo-500',
|
||||
'violet' => 'bg-violet-500',
|
||||
'fuchsia' => 'bg-fuchsia-500',
|
||||
'pink' => 'bg-pink-500',
|
||||
default => null,
|
||||
};
|
||||
@endphp
|
||||
|
||||
@if ($classes)
|
||||
<span {{ $attributes->merge(['class' => "inline-block size-2.5 shrink-0 rounded-full {$classes}"]) }} aria-hidden="true"></span>
|
||||
@endif
|
||||
Reference in New Issue
Block a user