Skip to content

Commit

Permalink
match ring color from filament input fields
Browse files Browse the repository at this point in the history
  • Loading branch information
199ocero committed Feb 12, 2024
1 parent d53ca88 commit 8fa6df4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/forms/components/radio-deck.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@
'ring-1 ring-gray-200 dark:ring-gray-700 peer-checked:ring-2',
'peer-disabled:bg-gray-100/50 dark:peer-disabled:bg-gray-700/50 peer-disabled:cursor-not-allowed',
match ($color) {
'gray' => 'peer-checked:ring-gray-600 dark:peer-checked:ring-gray-700',
'gray' => 'peer-checked:ring-gray-600 dark:peer-checked:ring-gray-500',
default
=> 'fi-color-custom peer-checked:ring-custom-600 dark:peer-checked:ring-custom-700',
=> 'fi-color-custom peer-checked:ring-custom-600 dark:peer-checked:ring-custom-500',
},
]) @style([
\Filament\Support\get_color_css_variables($color, shades: [600, 700]) => $color !== 'gray',
\Filament\Support\get_color_css_variables($color, shades: [600, 500]) => $color !== 'gray',
])>
@if ($iconExists)
<x-filament::icon :icon="$icon" @class([
Expand Down

0 comments on commit 8fa6df4

Please sign in to comment.