nurpax / petmate

PETSCII editor with Electron/React/Redux
MIT License
178 stars 14 forks source link

Grid color changes based on background luminance #200

Closed manuelvio closed 3 years ago

manuelvio commented 3 years ago

Solves #199. Basically gets current background color and calculates its luminance. Values higher than 0.5 imply a dark grid (and vice versa)

nurpax commented 3 years ago

Looks like forward progress, thanks! I need to do a maintenance evening on this project and look at this and some other PRs and make a release.