Matt Good wrote: > Christian Boos wrote: > >> Christian Boos wrote: >> >>> ... >>> Another idea would be to colorize the text itself , which also looks >>> good, but that would conflict with the age being turned into a link to >>> the timeline by the #975 changes, as I couldn't find a way to force the >>> "color" of the cell to be inherited by the <a> it contains... >>> >> Nevermind, Tim showed me the way to do this :-) >> So please compare r4543 with r4544 and tell me what looks best. >> > > Welll, I missed Jonas' earlier comment, but I also felt like the colors > were a bit over-saturated for the standard Trac look. This uses a more > consistent color based on the red from the diff view and an equally > saturated blue: > > def colorize_age(age): > new = 255,136,136 > old = 136,136,255 > return tuple([int(b+(a-b)*age) for a,b in zip(new,old)]) >
Perfect! That was somehow the default color scheme I was looking for, no kidding. > We could use a config option for this, since it can't be configured > through CSS like the rest of the Trac L&F. > I made those default colors configurable in r4553, as well as adding an extra (optional) twist: you can configure it in a way that the very last revisions are highlighted differently than the "normal" scale, so this can make the latest changeset stand out even more, as illustrated in the example configuration given in that changeset. But that's not enable by default. By default, one get exactly the color scale you suggested above. Also, I've updated the <meta> tags as you suggested elsewhere in r4554. Looks like we're ready for a merge... -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-dev@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---