Skip to content

Commit

Permalink
added dark mode color for icons and card ring
Browse files Browse the repository at this point in the history
  • Loading branch information
199ocero committed Dec 28, 2023
1 parent 39fce3a commit 0acff52
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions resources/views/forms/components/radio-deck.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
},
"ring-1 ring-gray-200 dark:ring-gray-700 peer-checked:ring-2",
match ($getColor()) {
'danger' => 'peer-checked:ring-danger-700',
'gray' => 'peer-checked:ring-gray-700',
'info' => 'peer-checked:ring-info-700',
'primary' => 'peer-checked:ring-primary-700',
'success' => 'peer-checked:ring-success-700',
'warning' => 'peer-checked:ring-warning-700',
default => 'peer-checked:ring-primary-700',
'danger' => 'peer-checked:ring-danger-600 dark:peer-checked:ring-danger-700',
'gray' => 'peer-checked:ring-gray-600 dark:peer-checked:ring-gray-700',
'info' => 'peer-checked:ring-info-600 dark:peer-checked:ring-info-700',
'primary' => 'peer-checked:ring-primary-600 dark:peer-checked:ring-primary-700',
'success' => 'ring-success-600 dark:peer-checked:ring-success-700',
'warning' => 'ring-warning-600 dark:peer-checked:ring-warning-700',
default => 'ring-primary-600 dark:peer-checked:ring-primary-700',
},
"peer-disabled:bg-gray-100/50 dark:peer-disabled:bg-gray-700/50 peer-disabled:cursor-not-allowed",
])>
Expand All @@ -96,13 +96,13 @@
default => 'h-8 w-8',
},
match ($getColor()) {
'danger' => 'text-danger-400 dark:text-danger-500',
'gray' => 'text-gray-400 dark:text-gray-500',
'info' => 'text-info-400 dark:text-info-500',
'primary' => 'text-primary-400 dark:text-primary-500',
'success' => 'text-success-400 dark:text-success-500',
'warning' => 'text-warning-400 dark:text-warning-500',
default => 'text-gray-400 dark:text-gray-500',
'danger' => 'text-danger-600 dark:text-danger-500',
'gray' => 'text-gray-600 dark:text-gray-500',
'info' => 'text-info-600 dark:text-info-500',
'primary' => 'text-primary-600 dark:text-primary-500',
'success' => 'text-success-600 dark:text-success-500',
'warning' => 'text-warning-600 dark:text-warning-500',
default => 'text-gray-600 dark:text-gray-500',
}
])
/>
Expand Down

0 comments on commit 0acff52

Please sign in to comment.