Closed tecosaur closed 3 years ago
Can we also get some coloring depending on age? Three levels maybe - today, this week and older?
Can we also get some coloring depending on age? Three levels maybe - today, this week and older?
This wouldn't be hard, it would just need ... more faces.
Can we also get some coloring depending on age? Three levels maybe - today, this week and older?
This wouldn't be hard, it would just need ... more faces.
Could you not just darken/lighten the face against how old it is?
Could you not just darken/lighten the face against how old it is?
That would be colour blending, which minad has already said he doesn't want "Not a good idea".
@elken
Could you not just darken/lighten the face against how old it is?
This will break themes with high accessibility standards like the modus themes by @protesilaos.
@elken
Could you not just darken/lighten the face against how old it is?
This will break themes with high accessibility standards like the modus themes by @protesilaos.
Excellent point :)
On colours, I'm no sure what three could be inherited from. I could do success
/ warning
/ error
but I'm not sure if that's a bit OTT.
On 2021-07-26, 09:26 -0700, Ellis Kenyő @.***> wrote:
@elken
Could you not just darken/lighten the face against how old it is?
This will break themes with high accessibility standards like the modus themes by @protesilaos.
Excellent point :)
Thanks for considering this case! Automatic face adjustments would indeed be problematic. If, however, you choose to implement this feature by using new faces, then all should be fine.
-- Protesilaos Stavrou https://protesilaos.com
For now I merged in only the basic support, but no customization variables. We should figure out a more general mechanism which allows adjusting annotation fields. Adding a variable for every field which is funcalled just won't fly.
By introducing
marginalia-file-age-function
and related function/variables, the display of file age is now easily customised, and provided OOTB support for relative ages (e.g. 4 hours ago).