Questions tagged [themes]

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

53 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
224 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
499 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
63 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
102 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
339 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
67 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
138 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
830 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
258 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
87 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
1answer
764 views

How to customize org-agenda-* faces in .emacs file?

I am trying to customize org-agenda-* faces such as org-agenda-date, org-agenda-date-today, and org-agenda-date-weekend in my .emacs file. Normally, I install the use-package package to lazily load ...
2
votes
0answers
418 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
179 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
376 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
327 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
204 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
1k 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/ ...
2
votes
0answers
276 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
0answers
31 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
27 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
197 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
2answers
336 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 ...
1
vote
0answers
193 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
203 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
1answer
229 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 ...
1
vote
0answers
68 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
70 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
40 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
67 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
394 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
358 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
211 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
134 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
538 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
95 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
458 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
868 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
1answer
37 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 '...
0
votes
0answers
14 views

Why is my custom theme properties for evil-search-highlight-persist-highlight-face not being reflected on that face?

I am using spacemacs with evil mode. If I type /example, then ENTER, I will see all words matching example highlighted on the page. If I move my cursor within one of those example words and type ...
0
votes
0answers
26 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
1answer
132 views

custom-theme-set-faces does not work in emacs 27

I have some custom theme settings like (package-initialize) (load-theme 'leuven t) (custom-theme-set-faces 'leuven '(Man-overstrike ((t (:foreground "red3" :bold t))) t) '(Man-underline ((t (...
0
votes
0answers
293 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 ...
0
votes
0answers
185 views

Spacemacs — themes won't load after adding to config layers

I'm probably not understanding something basic... Following the docs, I've added themes-megapack to dotspacemacs-configuration-layers '(...), but typing space f-e-R I'm told that themes-megapack has ...
0
votes
1answer
618 views

List of themes available in Spacemacs

helm-themes loads the themes present in custom-load-themes which are coming from custom-theme-load-path (as per C-h f helps) After installing themes mega-pack, the list is the following : Available ...
0
votes
0answers
42 views

Change the color of the file-name as it appears on an Emacs buffer mode line

I just downloaded the hemisu theme for Emacs which works very nicely. One flipside of the theme is that the file-name shows up in very lightly colored letters, and so becomes difficult to read. This ...
0
votes
1answer
188 views

Retain system color scheme when running without GUI

I'm typically running emacs -nw: problem is that Emacs overrides terminal (bash) color scheme and uses it's own default one which is in some cases unreadable. I would like emacs to use default ...
0
votes
0answers
193 views

Which mode-line package(s) is/are most extendable?

My question: Hi, lately I've been looking into various mode-line customization packages such as Smart Mode Line, Powerline, Spaceline, or Telephone Line. I'd like to write a package that works ...
0
votes
0answers
249 views

Not able to load a color theme from 'init.el' or using 'M-x color-theme-select'

I am trying to get emacs(emacs24) to load with another colortheme (looking to have a 'dark' theme). In my init.el file I have the lines: (eval-after-load "color-theme" '(progn (color-theme-...
0
votes
0answers
122 views

How to specify a color theme specifically for Latex editing (the buffers with .tex files)?

I am using Emacs and there are various 'themes', eg. link to examples, but they do not appear to be dedicated to Latex. Some have modes for Latex, but I am wondering if there are theme files that can ...