Tune transparency scale impact on luminance scaling #98
Reference in New Issue
Block a user
Delete Branch "fix/transparency-luminance-scaling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addresses #97 by increasing the floor and decreasing the ceiling for the offset value used for brightening darker colors in dark mode and darkening brighter colors in light mode. This tones down aggressiveness and doesn't brighten colors as much at lower
transparency.basevalues, while also increasing effectiveness at values closer to opaque where before it would set the offset to 0 when the bar was set to opaque.Not extensively tested, especially not light mode color schemes. It still heavily alters the colors but from my testing this alteration is definitely necessary for readability and general aesthetics. There's an argument to be made to possibly disable/alter the offset calculation based on if a preset is selected/automatic scheme generation is turned on. Let me know your thoughts after testing.
If you want to test what happens when you disable this method without breaking the whole shell, you can edit the method like this:
You'll find that generally surface containers are darker than surface layers. This is obviously subjective, but IMO containers should be brighter and have an "elevated" look.
Resolved in my book. Inspected the difference as well.