Feat: Add upload status badge styles and twig filter

This commit is contained in:
Björn Fromme
2023-10-13 12:13:35 +02:00
parent 8dcfa2f43c
commit 7ec12d6a3e
6 changed files with 45 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
@import "components/badge.css";
@import "components/autocomplete.css";
@import "components/button.css";
@import "components/datatable.css";
+23
View File
@@ -0,0 +1,23 @@
.upload-status-badge {
@apply inline-flex items-center rounded-md px-1.5 py-0.5 text-xs font-medium;
}
.upload-status-badge--default {
@apply bg-gray-100 text-gray-600;
}
.upload-status-badge--new {
@apply bg-yellow-100 text-yellow-800;
}
.upload-status-badge--checked {
@apply bg-green-100 text-green-700;
}
.upload-status-badge--error {
@apply bg-red-100 text-red-700;
}
.upload-status-badge--paid {
@apply bg-blue-100 text-blue-700;
}