Hugo: Designing with dynamic image colors

6 Likes

See https://github.com/gohugoio/hugo/issues/10450.

1 Like

We had the same ideas: my next step is to use the dark and light for text and its background.

Essentially, a nice way to auto-theme a section of a site.

Regarding bep’s comment about calculating the luminance, see this (I can’t write on that issue, as it’s blocked).

1 Like

I unlocked the issue. It was locked because it went stale a while ago. Please add your comment to the issue. Thanks.

1 Like

Take a look at this testing and work done. It’s what I’m using and demo in my post:

https://alienryderflex.com/hsp.html

I found it from here:

@dogweather, Hugo v0.125 makes this easier I guess.

1 Like