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

Weird inverse color for some faces #100

Open
milouse opened this issue Sep 15, 2023 · 1 comment
Open

Weird inverse color for some faces #100

milouse opened this issue Sep 15, 2023 · 1 comment

Comments

@milouse
Copy link
Member

milouse commented Sep 15, 2023

Originally posted by @dungnq271 in #59 (comment)

Hi I accidentally (set-face-background 'default "#2" nil ) and the background worked.
But in a tmux session I don't know why some of the words are highlighted in blue. The colours work ok outside tmux.
image

@milouse
Copy link
Member Author

milouse commented Sep 15, 2023

@dungnq271 Please continue the discussion here.

I’m not sure your new background is for something here. It looks like two faces are "inverted": font-lock-builtin-face and font-lock-type-face. But the later actually inherit the configuration of the former. Thus I think you just have an issue with font-lock-builtin-face. Can you just check that you didn’t accidentally also put it as inverse-video?

If you do a M-x describe-face RET font-lock-builtin-face you should have the following result:

Face: font-lock-builtin-face (sample) (customize this face)

Documentation:
Font Lock mode face used to highlight builtins.

Defined in ‘font-lock.el’.


           Family: unspecified
          Foundry: unspecified
            Width: unspecified
           Height: unspecified
           Weight: unspecified
            Slant: italic
       Foreground: #8be9fd
DistantForeground: unspecified
       Background: unspecified
        Underline: unspecified
         Overline: unspecified
   Strike-through: unspecified
              Box: unspecified
          Inverse: unspecified
          Stipple: unspecified
             Font: unspecified
          Fontset: unspecified
           Extend: unspecified
          Inherit: unspecified

If the Inverse line shows anything else than "unspecified", you must found what might have changed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant