Skip to content

Use face :foreground and :background when both are set instead of computing foreground value #22

@DivineDominion

Description

@DivineDominion

This took me a while to figure out :)

I'm not color blind, but deficient, and I really like modus-themes deuteranopia variants for that. With flyover, it was too much tone-in-tone, though.

No tint:
Image

Lighter (default):
Image

Darker:
Image

I'd like to use yellow background with black text for warning (which I could get with 100% 'darker' tint), and red background with white text for errors (which I could get with 100% lighter tint), but I can't control both.

I believe I'd be able to make a PR that uses face :foreground for text and :background for, well, the background if both are present. If either is missing, assume the only color there is the background which then is tinted.

Is this in scope of the project?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions