Skip to content
Snippets Groups Projects
  • Joe Donofry's avatar
    b3f7c13e
    Update user id color generation · b3f7c13e
    Joe Donofry authored
    Update the author color generation.  Now, instead of generating
    an entire hex string based on the user id, the user id instead
    is used to generate a hue value.  After this hue value is created,
    there is some logic to tweak first the lightness and then saturation
    values to achieve a readable color (in contrast to the background).
    
    This change makes it so that user colors will not vary as wildly
    between the different themes.
    
    The values still are not cached and still do not update
    initially when the theme is changed.  Both of these things
    will be resolved.
    b3f7c13e
    History
    Update user id color generation
    Joe Donofry authored
    Update the author color generation.  Now, instead of generating
    an entire hex string based on the user id, the user id instead
    is used to generate a hue value.  After this hue value is created,
    there is some logic to tweak first the lightness and then saturation
    values to achieve a readable color (in contrast to the background).
    
    This change makes it so that user colors will not vary as wildly
    between the different themes.
    
    The values still are not cached and still do not update
    initially when the theme is changed.  Both of these things
    will be resolved.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.