lunaria icon indicating copy to clipboard operation
lunaria copied to clipboard

Add colors for the background chromatics at different opacity levels to JSON files

Open 0xd3e opened this issue 3 years ago • 1 comments

The website mentions the use of different opacity levels for the background chromatics.

Since not every application is able to handle opacity, it would be nice to have the colors available via the JSON files. I'm not quite sure how this can be calculated, since the background color isn't pure white or black.

Here is an example to further clarify what I'm looking for:

The color bgDarkBlue is #7F99A7 at 50% opacity on the background of the light color palette. So it would be nice if the JSON files would include a color name like bgDarkBlue50 and its value would calculate to #7F99A7 when running through the lunarize script.

0xd3e avatar Sep 02 '21 17:09 0xd3e

Sounds sensible; I'd take a PR for this. gencss.py should probably ignore these entries, since anything that can process CSS can probably handle transparency and the CSS files are already pretty big.

dfoxfranke avatar Sep 04 '21 17:09 dfoxfranke