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

Helm colours #7

Open
jdtonkin opened this issue Jun 28, 2021 · 3 comments
Open

Helm colours #7

jdtonkin opened this issue Jun 28, 2021 · 3 comments

Comments

@jdtonkin
Copy link

Love this theme, thanks! Any chance of helm being added to the set of colours, please?

@rougier
Copy link
Owner

rougier commented Jun 29, 2021

I'm not using helm my self so it might be difficult to add them. But if you want to make a PR that would be great. I think part of the work has been done here: https://github.com/rougier/nano-emacs/blob/master/nano-theme.el#L686

It's only a matter of translating syntax. And since I now use a regular theme, we can directly define helm faces.

@dangom
Copy link

dangom commented Dec 3, 2021

Here's a potential solution (I use light-mode, so you may have to adapt if using dark mode):

(with-eval-after-load 'helm
    (set-face-attribute 'helm-selection nil :inherit 'nano-face-subtle :background nano-light-subtle :extend t)
    (set-face-attribute 'helm-match nil :inherit 'nano-strong :foreground nano-light-salient :distant-foreground nano-dark-background)
    (set-face-attribute 'helm-source-header nil :inherit  'nano-face-salient       :background nano-light-background)
    (set-face-attribute 'helm-visible-mark nil :inherit 'nano-face-strong))

@rougier
Copy link
Owner

rougier commented Dec 15, 2021

@dangom Thanks. To be dark/light agnostic, you can use something line (face-background 'nano-default)

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

3 participants