You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The thing that keeps me coming back to vc-annotate is the colors. It uses a spanning color range from oldest (blue: cold) to youngest (red: hot). This helps when you don't quite know what you are looking for, other than, e.g. "that recent change I recall".
An excellent addition to magit-blame would be to temporarily (while in blame mode, perhaps via a cycled "fancy style") alter the background color of the grouped blocks based on their age, blending the frame's BG color with the computed age-based color. Either vc-annotate-colormap, or a simple blue-red HSL ramp could be used. Config for start and end date could optionally be included in the relevant transient menu, to "focus on" a given timeframe (with oldest->youngest the default).
I use the blend-with-background trick quite a bit for "subtle but informative background color info that doesn't make fontified text unreadable". I typically add a user-controllable blend factor ; a 0.25 color + 0.75 bg mix tends to work very well.
Examples:
Showing various font-lock faces for readability.
Light theme
### Dark theme
### Intermediate theme
Code:
(let* ((top-red 1.0) ; hue of red
(bottom-blue (/2.03.0)) ; hue of blue
(font-lock-faces (seq-filter
(lambda (x)
(string-prefix-p"font-lock" (symbol-name x)))
(face-list)))
(frame-bg (color-name-to-rgb (frame-parameternil'background-color)))
(frac (/ (- top-red bottom-blue) (1- (length font-lock-faces)))))
(insert"\n")
(cl-loopfor face being the elementsof font-lock-faces
for cnt upfrom 0for hue = (- top-red (* frac cnt))
do
(insert"" (propertize (format"%s, Hue = %0.3f \n" (symbol-name face) hue)
'face
`(:foreground ,(face-foreground face)
:background ,(my/rgb-blend
(color-hsl-to-rgb hue .750.5)
frame-bg 0.25)
:extendt)))))
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The thing that keeps me coming back to vc-annotate is the colors. It uses a spanning color range from oldest (blue: cold) to youngest (red: hot). This helps when you don't quite know what you are looking for, other than, e.g. "that recent change I recall".
An excellent addition to magit-blame would be to temporarily (while in blame mode, perhaps via a cycled "fancy style") alter the background color of the grouped blocks based on their age, blending the frame's BG color with the computed age-based color. Either
vc-annotate-colormap, or a simple blue-red HSL ramp could be used. Config for start and end date could optionally be included in the relevant transient menu, to "focus on" a given timeframe (with oldest->youngest the default).I use the blend-with-background trick quite a bit for "subtle but informative background color info that doesn't make fontified text unreadable". I typically add a user-controllable blend factor ; a
0.25 color + 0.75 bgmix tends to work very well.Examples:
Showing various font-lock faces for readability.
Light theme

### Dark theme
### Intermediate themeCode:
All reactions