jpshackelford / jpshackelford-blog

Other
0 stars 1 forks source link

Correct background color styling #2

Closed jpshackelford closed 11 months ago

jpshackelford commented 11 months ago

The new site is attempting to look like https://jpshackelford.info in light mode. But I really don't understand css variables which are heavily used in Pico.css so my changes in jps.css is coloring all containers with a background color instead of just the background area of the blog itself.

old new

Using an approach like the below works but I don't really know how to make that work with the css variables and the light mode / dark mode stuff that pico implements.

body { background-color: #c0b5a8 } 

See:

I'd really like a solution that is clean and respectful of the Pico way doing things.

usphantomlancer commented 11 months ago

Done. Ruslan. https://github.com/jpshackelford/jpshackelford-blog/pull/5