Questions tagged [themes]

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

Filter by
Sorted by
Tagged with
8
votes
4answers
2k views

Change mode-line-buffer-id face for inactive windows

Is there an Emacs face that can be used to control the colour of inactive buffer names? Normally when setting the face mode-line-buffer-id all windows are affected. In this example the mode-line ...
4
votes
1answer
3k views

Why does load-theme reset the custom-theme-load-path?

For some reason, I need to manually update the custom-theme-load-path list after every update of a theme like smart-mode-line or leuven-theme. Looking for a solution, I came across this SO post. Here ...
7
votes
1answer
1k views

How to change face in particular theme locally?

The title says it all. How to change face in specific color theme locally, in my configuration?
27
votes
2answers
8k views

How to reset color theme?

When I'm trying different color themes out, it seems if a particular element is not defined in the new theme the old theme value is retained, and this leads to some clashing. This happens in emacs 24 ...
22
votes
1answer
1k views

How to customize background color for some web pages opened with eww?

I just installed emacs 24.4 and I've started using eww. But one annoying thing is that when I visit google.com I get a grey background which makes text really hard to read for my theme. This is how it ...
16
votes
3answers
2k views

Is there any way to run a hook function only once?

The context I'm using the after-make-frame-functions hook to load properly the themes in an emacs client/server configuration. Specifically this is the code snippet that I use to make that (based in ...
7
votes
1answer
914 views

Is there a universal 'after-theme-load' hook?

I would like to set several face variables for use with any theme in my personal init-file. Is there a hook I could use to insure it is theme independent?
0
votes
1answer
104 views

How to change color of Python “None” and Booleans for digital-ofs1 color theme

I'm trying to change the color of Python None and Boolean variables in the digital-ofs1 color scheme, but can't find which variable to change. I've Googled around to no avail and can't seem to solve ...
27
votes
5answers
40k views

Emacs won't load theme on startup

I've installed the solarized theme package via MELPA. I can select one of the two solarized themes via `customize-theme and it activates it. When I save the theme settings it adds the following to my ...
23
votes
5answers
10k views

How do I change portions of a custom theme?

I'm using one of the pre-defined custom themes that come bundled with Spacemacs (zenburn). How can I modify specific portions of the theme, for example just change the font color used for comments ?
18
votes
1answer
10k views

Different theme for -nw (terminal)

I am running emacs (24.5.1) on Mac osx and using the solarized theme. For the gui version, the theme works well. If I run the application with the -nw flag: /Applications/Emacs.app/Contents/MacOS/...
7
votes
2answers
2k views

Use a different color theme for eww buffers

I saw this question: How to customize background color for some web pages opened with eww? but this won't work for me. I'm trying to read Wikipedia pages and in many places Wikipedia uses images to ...
6
votes
2answers
434 views

Using different theme on tramp buffers (and buffer-related themes in general)?

Is it possible to configure emacs so it uses different theme for tramp buffers than for defaults? Say, I use twilight by default, but while editing sth via ssh I'd like to switch to pastels-on-dark... ...
4
votes
1answer
379 views

Emacs theme not covering up the entire terminal window. The Ubuntu purple terminal background is showing on the edges

At the bottom of the screen when emacs is open there is a strip of purple, meaning that emacs in terminal isnt maximizing to the full size that the terminal window allows and thus the background from ...
3
votes
1answer
3k views

Emacs won't load theme installed from MELPA

I just installed the seti-theme from MELPA and no errors occurred. Than I ran M-x load-theme and after a few questions nothing would hapen and emacs would throw the following error: Warning (...
2
votes
1answer
729 views

Custom theme based on major mode or file type

How can I customize emacs to use a different theme based on major mode or file-type? And, could it work to have different themes active in different windows? My use case would be: have (1) one ...
2
votes
1answer
479 views

Org Agenda faces do not appear after applying themes

In my Org Agenda all text except for priorities use the "default" face. Until recently I would see colourful text for say, todo status. I was playing around with custom themes, so I may have broken ...
1
vote
1answer
1k views

How to overwrite properly a face for a particular theme

I use the monokai theme by default in my Emacs configurations. But sometimes I use other themes too, particularly light themes like leuven if the light in the room is more suitable for that. But I don'...
18
votes
3answers
831 views

describe-face character not under / unreachable by the cursor

I like using a combination of describe-face and customize-face to adjust the appearance of my working environment. Sometime this workflow fails when I want to change the face of a location I can not ...
6
votes
3answers
962 views

Different themes in different modes

I would like to do the following: load some theme when working on a particular kind of source file (say, Haskell), but elsewhere use a different "default" theme. I naively imagine that this is ...
4
votes
3answers
1k views

Helm color theme gets mixed results

I am using the Tomorrow-Eighties color theme from the color-theme-sanityinc-tomorrow package. Unfortunately when using Helm, not all of the correct colors seem to be applied. I've had an interaction ...
8
votes
2answers
1k 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 (...
7
votes
1answer
3k views

Emacs (as daemon) doesn't load theme

Related: Emacs: GUI with emacs --daemon not loading fonts correctly My init.el contains the following lines: (require 'darktooth-theme) (load-theme 'darktooth t) If I start Emacs with $ emacs ... ...
3
votes
3answers
399 views

The background color can't fill the buffer completely

I used a theme in emacs 24, but recently, the background color just filled area where characters are instead of the buffer completely. Even though I killed the orignal ~/.emacs, and used command like ...
2
votes
1answer
2k views

Orgmode: Extra vertical space between level 1 and previous line

new to emacs, so if I'm mistaken with vocabulary, please excuse me. I'm using orgmode, and I wish to modify the way it displays, specifically I wish to have some extra vertical distance before a ...