Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transparent background color notification #159

Closed
uloco opened this issue Nov 23, 2022 · 2 comments
Closed

transparent background color notification #159

uloco opened this issue Nov 23, 2022 · 2 comments

Comments

@uloco
Copy link

uloco commented Nov 23, 2022

I am a theme author and currently puzzled how I could set the background_color property for a user if my theme has a transparent background.

I am overriding the following hl groups

NotifyERRORBody
NotifyWARNBody
NotifyINFOBody
NotifyDEBUGBody
NotifyTRACEBody

Is there a way to do this from a theme side? Or does every notify user then need to do this? What if they switch their theme often from light to dark?

Also is there a way to disable the notification, since the defaults maybe ok anyway?

@uloco uloco changed the title transparent background color transparent background color notification Nov 23, 2022
rcarriga added a commit that referenced this issue Nov 24, 2022
@rcarriga
Copy link
Owner

I've changed it to use a NotifyBackground group instead of Normal by default so you can provide an background for that highlight in your theme

@uloco
Copy link
Author

uloco commented Nov 24, 2022

Works like a charm thank you so much for this!

@uloco uloco closed this as completed Nov 24, 2022
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

No branches or pull requests

2 participants