beancount / fava

Fava - web interface for Beancount
https://beancount.github.io/fava/
MIT License
1.95k stars 286 forks source link

Different tags are rendered in different colors, making them easier to distinguish. #1564

Open flyisland opened 1 year ago

flyisland commented 1 year ago

Just like the "Issues" in Github, it is important to use different colors to render different tags. This makes it easier for users to distinguish between different types of information and navigate the platform more efficiently.

mechanarchy commented 1 year ago

For a while I had a patch being applied to my local Fava install that changed the display of my credit-card tag to 💳, and my location tag to 🌍. This broke eventually, but this would be a happy alternative option for me, if colors weren't an option.

Perhaps these could be configured using the custom directive, eg:

2000-01-01 custom "fava-tag-display" "credit-card" "💳"
2000-01-01 custom "fava-tag-display" "location" "🌍"
2000-01-01 custom "fava-tag-color" "location" "#77ff77"
flyisland commented 1 year ago

For a while I had a patch being applied to my local Fava install that changed the display of my credit-card tag to 💳, and my location tag to 🌍. This broke eventually, but this would be a happy alternative option for me, if colors weren't an option.

Perhaps these could be configured using the custom directive, eg:

2000-01-01 custom "fava-tag-display" "credit-card" "💳"
2000-01-01 custom "fava-tag-display" "location" "🌍"
2000-01-01 custom "fava-tag-color" "location" "#77ff77"

good idea!