diff --git a/resources/views/components/tags-input.blade.php b/resources/views/components/tags-input.blade.php
index 526dbcb..be06538 100644
--- a/resources/views/components/tags-input.blade.php
+++ b/resources/views/components/tags-input.blade.php
@@ -1,4 +1,4 @@
-@props(['name', 'url', 'placeholder' => 'Начните вводить...', 'value' => [], 'user_id' => null])
+@props(['name', 'url', 'placeholder' => 'Начните вводить...', 'value' => [], 'user_id' => null, 'badge_color' => 'primary'])
@@ -27,25 +27,32 @@
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.tag-badge {
- background: #0d6efd;
- color: white;
padding: 0.35rem 0.65rem;
border-radius: 0.25rem;
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
+ color: white;
}
.tag-badge .remove-tag {
cursor: pointer;
font-size: 1.1rem;
line-height: 1;
opacity: 0.7;
+ color: white;
}
.tag-badge .remove-tag:hover {
opacity: 1;
color: #ffc107;
}
+.tag-badge.bg-primary { background: #0d6efd; }
+.tag-badge.bg-success { background: #198754; }
+.tag-badge.bg-info { background: #0dcaf0; }
+.tag-badge.bg-warning { background: #ffc107; color: #000; }
+.tag-badge.bg-danger { background: #dc3545; }
+.tag-badge.bg-secondary { background: #6c757d; }
+.tag-badge.bg-dark { background: #212529; }