protesilaos / modus-themes

Highly accessible themes for GNU Emacs, conforming with the highest standard for colour contrast between background and foreground values (WCAG AAA).
https://protesilaos.com/emacs/modus-themes
GNU General Public License v3.0
526 stars 29 forks source link

Issue with modus-themes-common-palette-overrides on Linux #105

Closed teotenn closed 2 months ago

teotenn commented 2 months ago

I have the following lines in my config:

(setq modus-themes-common-palette-overrides
    '((bg-tab-bar bg-cyan-nuanced)
      (bg-tab-current bg-magenta-intense)
      (bg-tab-other bg-cyan-subtle)
      (bg-mode-line-active bg-cyan-subtle)
          (fg-mode-line-active fg-alt)
          (border-mode-line-active bg-cyan-intense)
      (fg-mode-line-inactive bg-cyan-intense)
      (bg-mode-line-inactive bg-cyan-nuanced)
          (border-mode-line-inactive bg-cyan-intense)
      (fg-heading-1 blue-warmer)
      (bg-heading-1 bg-dim)))

On my windows laptop there is no problem and I get the desired effect, but on Linux machine it does not take any effect for the mode-line. Only the colors for the tab-bar take effect.

I have a package and my own config for the mode-line but I assume this should not be the issue because a) on Windows it works and b) the colors still don't take effect if I remove any code related to the mode line.

Do you know if I am doing something wrong? Or do you have any idea where I can even start searching for the problem?

Thanks in advance.

protesilaos commented 1 month ago

From: Manuel Teodoro @.***> Date: Mon, 20 May 2024 06:46:51 -0700

[... 22 lines elided]

I have a package and my own config for the mode-line but I assume this should not be the issue because a) on Windows it works and b) the colors still don't take effect if I remove any code related to the mode line.

Do you know if I am doing something wrong? Or do you have any idea where I can even start searching for the problem?

Can you try to reproduce this in a pristine environment? You need to start Emacs from a terminal with 'emacs -Q', then load the modus-themes, and then try to check if you can override the relevant parts or not.

If you have not used 'emacs -Q' before, I can write the steps you may follow.

-- Protesilaos Stavrou https://protesilaos.com

teotenn commented 2 weeks ago

The problem was another .el file called by my config and authogeneraed by an old configuration via emacs GUI. I have removed the problem and closed the issue almost immediately as soon as I found out. Anyway thanks for the attention.