Questions tagged [themes]

Questions about using, creating, and modifying color themes and custom themes.

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
290 views

Looking for a better way of tweaking rainbow delimiters

I'm a big fan of rainbow-delimiters. Even when I do not code in Lisp I can quickly and easily find matching bracket just looking at the code. My method works better on dark backgrounds, but can be ...
3
votes
0answers
624 views

My theme is behaving weird

I'm using GTK Spacemacs on Linux and I have a script that basically creates a new theme and updates it according to my global colorscheme (I'm using pywal to generate colorschemes from my wallpaper). ...
3
votes
0answers
65 views

Loading a theme and fontifying in batch mode

Loading a theme in batch mode seems to not set face attributes: $ emacs -Q --eval "(load-theme 'tango t)" \ --eval "(prin1 (face-attribute 'font-lock-keyword-face :foreground)))" "#346604" ...
3
votes
0answers
2k views

How can I correct an “Invalid face” error?

Issuing M-x org-html-htmlize-generate-css gives the error Invalid face: font-lock-string What does this error mean and how can I correct it? Issuing $ grep -r "font-lock-string[^-]" ~/.emacs.d/ ...
3
votes
0answers
109 views

How to hide the extra period in linum mode when you have whitespace mode enabled?

I have linum mode and whitespace mode enabled. This works great except that I want padding in linum mode (which uses a space) and so, instead of there being a space (or a different colored space as I ...
3
votes
0answers
378 views

How to apply `load-theme-buffer-local` with “default” theme?

I used this answer to try to get eww to use more readable colours for me in my configuration, which uses the monokai theme: https://emacs.stackexchange.com/a/3523/5495 That answer uses load-theme-...
3
votes
0answers
71 views

Embed a font definition in an emacs theme?

As far as I can tell, emacs can only use fonts installed on the operating system. Is it possible to define a font directly in emacs lisp? This would allow one to directly embed a font definition in ...
2
votes
0answers
101 views

Change theme when OS dark mode changes?

VS Code recently added the ability to switch themes when macOS's dark mode changes. Presumably they use the Electron API, which internally uses the Objective-C API of subscribing to the ...
2
votes
2answers
606 views

(orgmode) Coloring the line for the whole heading

I want the entire line containing a heading in orgmode to be the background color of that heading. So for instance right now I have is what is shown in Heading 1 and 2, but what I want looks like ...
2
votes
1answer
345 views

Themes in emacs-nox displaying bottom part of frame black instead of background color

Edit: I tried many themes and it was an issue for all of them so this is not a Zenburn specific issue. Edit: Docker is not part of the issue as there is the same behavior when this is done using just ...
2
votes
0answers
169 views

ANSI TERM via `M-x TERM`: How to change line highlighting color?

How do you change the line-highlighting color in an ANSI-TERM?: I am using PDB++'s sticky mode for Python debugging. This is how to appears on a regular terminal (lubuntu 17.04): Notice the word ...
2
votes
1answer
1k views

Reloading .Xresources colors on the fly

I use pywal on Linux which is really cool and works on everything I use except for Firefox (gotta tinker with it) and (GTK) Emacs. For Emacs the author recommends this which is awesome but requires me ...
2
votes
0answers
283 views

using theming to adjust theme in spacemacs

I'm trying to use theming to make adjustments to an existing theme. Under dotspacemacs/user-init I have the following section: (setq-default theming-modifications '((tao-yang (...
2
votes
0answers
91 views

How to make minor customization to emacs theme colors

I'm a fan of gruvbox, but would like to slightly change the white colors to make them less intense. Is there any easy way of changing this line: (gruvbox-light0 "#fdf4c1" "#ffffaf") to this: (...
2
votes
0answers
28 views

“Catch-all” rule for faces in theme definition

I am writing my own custom Emacs theme and I would like to express "if a face isn't explicitly listed above, don't color it". Many modes have their own custom faces (e.g., Tuareg or Erlang mode) and ...
2
votes
0answers
443 views

What is the emacs theme that is used on org-mode site?

What is the emacs theme that is used on org-mode site? http://orgmode.org/img/main.jpg
2
votes
0answers
238 views

Faces not set immediately after load-theme

I'm trying to set the faces of highlight-indent-guides automatically whenever a new theme is loaded by making small adjustments to the background color of the default face. I have everything working ...
2
votes
0answers
437 views

Native mac scrollbar in emacs?

Emacs comes with it's own solution for scrollbars(rather than using native macOS scrollbar) and honestly, I find them kinda intrusive and ugly. Can I somehow configure scrollbars to use native mac ...
2
votes
0answers
409 views

Changing linum-mode face background uniformly

I've been trying to change my line numbers background to be a different colour other than the background colour of my frames and it ended up looking like so :- How can I change the line numbers ...
2
votes
0answers
236 views

How can I change the font face for source code blocks in org-mode?

I tried to change both org-code and org-verbatim without success. Here is the relevant part of my theme: '(org-verbatim ((nil (:inherit 'fixed-pitch)))) '(org-code ((nil (:inherit 'fixed-pitch)))) ...
2
votes
0answers
303 views

Spacemacs not using the theme for tooltips after resizing the window

I'm using Spacemacs with Solarized dark theme on Arch linux using i3wm, and I'm having some issues with tooltips. If I open Emacs so it only covers part of the screen, the tooltips shows up with the ...
1
vote
1answer
43 views

How to write a theme from all known faces?

I'd like to write a theme from all known faces (face colors and styles - as one would typically find in a theme). There is a way to write themes customize-create-theme, however it only writes some ...
1
vote
0answers
101 views

Activate doom mode line theme on non doom theme

I would like to use a non doom theme on Emacs but I like the doom mode line. The problem is if I use a non doom dark theme, say Charcoal-Black, and activate doom mode line, then doom mode line is ...
1
vote
1answer
234 views

How to activate leuven-dark-theme?

I have installed leuven with melpa a while ago and updated it as of 31st of August 2019. I found out there is a dark version. How do I activate it at loading of Emacs? I have tried: (add-to-list '...
1
vote
0answers
58 views

Disable GTK faces in Emacs

My Emacs version is GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10). My region face looks like this. Two things stand out: The region face is unreadable. The DistantForeground ...
1
vote
0answers
57 views

I want the color-theme to highlight the text in the buffers but not change the colors in the menu bar

I loaded a color-theme (manoj-dark) to highlight text in the buffers but it also changed the color of the menu bar. Now the menu bar icons are setting in a black background and the title bar of the ...
1
vote
1answer
452 views

running emacs as a daemon does not load custom-set-faces?

I am starting with emacs --daemon in my session, and it seems to trigger some odd behavior regarding themes and faces. I am using this solarized theme but I have found it to have weird cursor issues. ...
1
vote
0answers
289 views

tabbar with theme

I want to remove a white border of the tabbar. (The strange color choice is only for checking the configuration of faces.) As you can see, the right part of tabbar has a white border and I can not ...
1
vote
0answers
391 views

Syntax highlighting not working in Emacs (in Python mode)

When I Python-mode I have noticed that occasionally my syntax highlighting is not working. I have noticed this when using the Cyberpunk theme as well as the Tango-Dark theme. Closing and reopening ...
1
vote
0answers
86 views

When M-x desktop-read, theme elements incorrectly restored / displayed: previous theme saved into desktop file?

I'm a new Emacs user, and I've come across a quirk: I use a light theme during the day, and I've configured theme-changer to switch to a dark theme after sundown; it works wonders. However, when I ...
1
vote
0answers
75 views

Emacs lines displaced/shifted for no reason

I tought, the problem would be solved, from not using a theme anymore. But actually there are displaced lines, whenever I'm using emacs with files, which where edited on another system. So probably my ...
1
vote
0answers
46 views

Running emacsclient causes some flashing effect to happen on other frames

I picked up this code from: Is there any way to run a hook function only once? (setq myGraphicModeHash (make-hash-table :test 'equal :size 2)) (puthash "gui" t myGraphicModeHash) (puthash "term" t ...
1
vote
0answers
73 views

Unable to tweak theme settings unless I start a new session

I have this code in my init.el file, mainly to apply the theme correctly when running emacs server: ;; This will make sure the theme loads well in emacs daemon (setq myGraphicModeHash (make-...
1
vote
1answer
445 views

Where should I put a custom theme in Aquamacs?

I found a vivid chalk color scheme here that I want to use with Aquamacs. After poking around, I discovered that Aquamacs stores its custom color schemes here: /Applications/Aquamacs.app/Contents/...
1
vote
0answers
458 views

Running an M-X command automatically

Every time I open emacs I run the following set of commands: M-X load-theme danneskjold I wanted to set things up so this happens automatically I put the following things ~/emacs.d/init.el file (...
1
vote
0answers
220 views

How to put theme modifications into a personal layer?

For example I want to put (setq spacemacs-theme-org-height nil) into a personal layer, but that doesn't work. I can only put the setting into dotspacemacs/user-init. The reason seems to be Spacemace ...
1
vote
0answers
146 views

Fontification by AUCTeX is great, but font locking for ConTeXt code, any idea?

I wasn't sure where to post this question, but I count on the Emax community when it comes to font-locking and fontification. We all know that AUCTeX is the way to go when writing a document in LaTeX,...
1
vote
0answers
677 views

Restore default colors (black text on a white background)

I played around with elpy and after following the tutorial, it changed the emacs theme to a black background. When trying to revert this, I managed to get a white font on a white background ...
1
vote
0answers
125 views

How do I make faces combine correctly?

Example: How do I make faces combine correctly? I am not opposed to providing a separate set of instructions for each combination (per theme), but do not know how to do that.
1
vote
2answers
562 views

Unable to load color “color-235” when using `gruvbox` theme

I have the following line in my .emacs to load the gruvbox theme: (load-theme 'gruvbox t) When opening Emacs, I get the following error Unable to load color "color-235" However, when I call load-...
1
vote
1answer
1k views

Emacs theme won't change

I am trying to change my emacs theme to spacegray because my current one is not the most appealing but when i to M-x load-theme spacegray the theme only loads on the line numbers, and when i reload ...
0
votes
0answers
16 views

M-x customize-themes [no match]

I'm new to Emacs and trying to change the color scheme so that there is no blue text on a black background, but when I try instructions online on how to do so, I keep getting [no match] error messages....
0
votes
1answer
30 views

How to associate a theme to a file extension?

It is kind of similar to this question How do I automatically load a mode for a specific set of file extensions? So I am in a situation where, when I want to write in TeX, I want to use 'whiteboard' ...
0
votes
0answers
328 views

Change the color of delimiters of agenda view

I use the theme "doom-one" which displays the org-agenda-view as: The color delimiters is gray which not very obvious to distinguish every range. On the theme of doom-dark+, the delimiter is of ...
0
votes
0answers
36 views

How to make helm matching faces inherit from ivy?

I like Ivy face when matching better than helm for the particular theme I am using. When listing all faces: list-faces-display I see that I want helm matching to be exactly like: ivy-minibuffer-...
0
votes
0answers
41 views

Are both `load-file-name` and `custom-theme-load-path` needed here?

This is a bit of code I saw in a custom theme file, and at first glance it looks (to me) overly defensive, checking that both load-file-name and custom-theme-load-path are set. ;;;###autoload (and ...
0
votes
1answer
142 views

Required color-theme file missing in Emacs 26

After upgrading my OS (Ubuntu, from 18.04 to 19.04), my favorite text editor was automatically upgraded from Emacs 25 to Emacs 26. I then encountered a familiar error message at start-up: File is ...
0
votes
0answers
27 views

Org-mode source blocks are not fontified same as the corresponding language

i am using Zerodark theme and in my org files I noticed that source blocks (emacs-lisp) are not fontified same as when opening an actual lisp file. I already have this setting: (setq org-src-...
0
votes
0answers
31 views

Can a theme set faces normally provided by another package?

I want to produce a custom theme. I understand how to set built-in faces, like font-lock-nnn ones, modeline, etc. I wonder if I can provide colors for faces that are defined by other packages, e.g. ...
0
votes
0answers
655 views

Cannot set default theme. Dark theme even if loaded without .emacs and without .emacs.d

When I load emacs without any configuration I see a dark theme: There is no way for me to get back to the default theme. I tried the following: M-x disable-theme: no theme is enabled M-x ...