Questions tagged [themes]

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

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
297 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 ...
5
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/ ...
4
votes
0answers
375 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
73 views

Looking for a theme that takes medical considerations into account

As the title suggests, I am interested in an emacs theme that has been specifically designed for the good of the 24/7 hard-working programmer's eyes. Notice that this question is not opinion-based; I ...
3
votes
1answer
434 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 ...
3
votes
0answers
720 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
77 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
115 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
416 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
79 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
1answer
27 views

How can I make a theme use particular face attributes for a given face in a single buffer?

I'm loading a deftheme theme using (load-theme). I'm very happy with it most cases, but in yaml-mode I'd like to change attributes for font-lock-variable-name-face. How can I make the theme use ...
2
votes
2answers
952 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
0answers
191 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
2k 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
289 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
96 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
29 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
445 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
295 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
518 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
516 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
270 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
312 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 ...
2
votes
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 ...
1
vote
0answers
9 views

Interactively customize theme-tied faces

M-x customize-face is great and custom-theme-set-faces is a great function. Can I have these two tied together easily so that I can interactively customize a face that will be tied to the currently ...
1
vote
0answers
292 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
354 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 ...
1
vote
0answers
81 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
105 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
0answers
465 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
547 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
90 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
81 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
51 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
0answers
544 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
224 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
154 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
802 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
145 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
683 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-...
0
votes
0answers
15 views

Unreadable screen- even when using Doom-one theme

I am new to Doom Emacs, I am using default theme Doom-one which for the most part is fine. The problem I have is when I open any screen after just opening Emacs such as the config files I get this ...
0
votes
0answers
21 views

EmacsLisp comments invisible after switching to Solarized theme

On Arch Linux, running Emacs within Alacritty, comments in .el files are invisible since switching to the Solarized-Light theme. Tinkering with some of the color settings in my alacritty.yml hasn't ...
0
votes
1answer
38 views

Newbie unable to change color scheme

I'm a new Emacs user and am unable to successfully change the color scheme. I have followed numerous guides, YouTube videos but have not been able to load any color scheme, some error always pops up. ...
0
votes
0answers
22 views

How to discard line-number highlight during i-search?

During the i-search if I use dracula theme it highlights the line-number if the searched word is the first in the line. Example view: If I uncomment (load-theme 'dracula t) the example view would be ...
0
votes
0answers
11 views

Different colors for different characters in tty-menu-bar

All I want to do is have a different color for different characters for the tty-menu-bar when in a terminal mode. Lets say I have for the menu bar "File", I want the character "F" ...
0
votes
0answers
151 views

Custom theme problem - invalid face underline

I have a problem with creating my own custom theme. I'm new to doing this and my elisp knowledge is minimal. I've used the customise-create-theme option and it was working well but it seems that at ...
0
votes
0answers
86 views

Open icons are not displaying in the tab of centaur-tab

I want to have my editor work with tabs and I'm using centaur-tabs for that purpose. Below is my emacs config (require 'package) (add-to-list 'package-archives '("melpa" . "https://...
0
votes
0answers
17 views

couldn't install kaolin-themes in emacs

I want to install [kaolin-themes][1] [1]: https://melpa.org/#/kaolin-themes in vanilla emacs. I did M-x package-intall RETURN and entered kaolin-theme in the Install package prompt. I got below error -...
0
votes
0answers
31 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....