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

Kaolin themes are broken for terminal #35

Closed
ayrat555 opened this issue Feb 15, 2020 · 5 comments
Closed

Kaolin themes are broken for terminal #35

ayrat555 opened this issue Feb 15, 2020 · 5 comments

Comments

@ayrat555
Copy link

I'm getting

emacs *error*: undefined color: "brightblack"

If I start emacs in terminal mode. I run it as a daemon.

@ogdenwebb
Copy link
Owner

Please provide more information about this issue.

  1. Terminal type/name.
  2. Does it appear with all themes or only some of kaolin-themes?
  3. Do you use Spacemacs?
  4. Does Emacs without emacsclient work as expected?

@ogdenwebb
Copy link
Owner

Also please paste the output with debug-on-error enabled.

@ayrat555
Copy link
Author

ayrat555 commented Feb 16, 2020

Terminal type/name.

zsh / tilix

Does it appear with all themes or only some of kaolin-themes?

It appears with some themes (kaolin included). It doesn't appear with nord theme
It seems they fixed similar issue in nord
nordtheme/emacs#59

Do you use Spacemacs?

No

Does Emacs without emacsclient work as expected?

It works ok in GUI mode. I use emacs only in daemon mode

@ogdenwebb
Copy link
Owner

Currently I'm not even sure what causes the problem, because I can't reproduce this issue by myself.
Can you give me a scenario to reproduce this issue? Including your OS, Emacs version, how you start daemon, echo your $TERM and etc.

Also please paste the output with debug-on-error enabled.
Does it appears with doom-themes for you too?

Does it appears if you run kaolin-themes like this:

(add-hook 'after-make-frame-functions
          (lambda (_frame)
            (load-theme 'kaolin-dark t)))

I'm using emacs --daemon too, I put it in my awesomewm autostart.lua file, but I've never met something like that on Linux with Emacs 25-26.

@ayrat555
Copy link
Author

ayrat555 commented Mar 1, 2020

@ogdenwebb I upgraded to emacs 26.3. Now it seems to be working

I see

Emacs now supports 24-bit true color on text terminals which provide that feature. See Colors on a TTY.

in https://www.gnu.org/software/emacs/manual/html_node/efaq/New-in-Emacs-26.html
Maybe it was related

Thanks anyway

@ayrat555 ayrat555 closed this as completed Mar 1, 2020
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