1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Minor improvements to categories & changelog pages (#1274)

* ui: change category badge border color

* ui/ux: use author's name in changelog

* ui: badge border 25% -> 30%
This commit is contained in:
Arsen Shkrumelyak 2024-10-10 21:00:35 +01:00 committed by GitHub
parent a20809eee3
commit 77fc5caecf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -2,9 +2,10 @@
<% category ||= null_category %>
<div>
<span class="flex items-center gap-1 text-sm font-medium rounded-full px-1.5 py-1 border border-alpha-black-25"
<span class="flex items-center gap-1 text-sm font-medium rounded-full px-1.5 py-1 border"
style="
background-color: color-mix(in srgb, <%= category.color %> 5%, white);
border-color: color-mix(in srgb, <%= category.color %> 30%, white);
color: <%= category.color %>;">
<%= category.name %>
</span>