Skip to content

Conversation

daedsidog
Copy link
Contributor

@daedsidog daedsidog commented Jul 29, 2024

Fixes compute-evaluated-background-color producing a malformed color string.

Also makes the highlight color darken instead of lighten when evaluating on light light themes.

It appears that the compute-evaluated-background-color function worked only through luck because it seems okay on most themes. On my theme, however, which had a pitch-black background color, the evaluation highlight looked really bad:

image

This PR corrects the issue, but it may be necessary to change the values used in the function in the future because now it probably won't look as it looked before on some themes.

@daedsidog daedsidog force-pushed the eval-bg-color-fix branch from b20ffad to ed65715 Compare July 29, 2024 01:57
@cxxxr cxxxr merged commit 86d3840 into lem-project:main Jul 29, 2024
@cxxxr
Copy link
Member

cxxxr commented Jul 29, 2024

Thank you

@daedsidog daedsidog deleted the eval-bg-color-fix branch July 29, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants