feat: render label badge pills using actual Gitea label hex colors
Update all label spans in issue/PR list and detail templates to use background-color with the actual hex color from Gitea, replacing the previous text-color-only styling. Add label-pill CSS class with text shadow for readability against colored backgrounds. Closes leeworks-agents/gitea-mobile#193 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -176,6 +176,11 @@ a:active {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.label-pill {
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.type-badge {
|
||||
font-size: 0.65rem;
|
||||
text-transform: uppercase;
|
||||
|
||||
Reference in New Issue
Block a user