gloflow/gloflow

in flows_browser color the frame of image to be the color of the dominant color of the image

Open

#54 opened on Dec 6, 2022

 (0 comments) (0 reactions) (1 assignee)Go (3 forks)auto 404
enhancementgood first issueui

Repository metrics

Stars
 (8 stars)
PR merge metrics
 (PR metrics pending)

Description

use the same functions used in gf_landing_page for calculating dominant color. import it in flows_browser. color each rectangular frame of an image to be the color of the dominant color of the image. have logic to set the text title of the image to be dark if the dominant color is light, and the opposite if the dominant color is dark (for contrast so that the text can be easily readable)

Contributor guide