[OCaml] Mobile-friendly clone of cgit.
feat add 'remove' commit pill type
Recognise 'remove:' as a conventional commit type prefix, displayed as a red-toned pill matching the destructive nature of the commits.
Changed files
lib/static/styles.css
@@ -567,6 +567,11 @@
567
567
color: #fbb6d0;
568
568
}
569
569
570
Added:
.commit-pill-remove {
571
Added:
background-color: #4d1a1a;
572
Added:
color: #f87171;
573
Added:
}
574
Added:
570
575
/* Repository toolbar — a sticky sibling directly below nav#top */
571
576
572
577
#toolbar {
lib/views/repo.ml
@@ -37,6 +37,7 @@
37
37
"ci";
38
38
"chore";
39
39
"revert";
40
Added:
"remove";
40
41
]
41
42
42
43
(** Split a Conventional Commits subject into its type and the remaining title.