Questions tagged [themes]

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

Emacs may contain any combination of specifications for , , , , and . Some are optimized for a specific . Besides tagging with , specify as many related tags as possible when asking questions or searching for answers in .

251 questions
34
votes
5 answers

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 init.el file: (custom-set-variables ;;…
user2249626
  • 661
  • 1
  • 5
  • 6
29
votes
2 answers

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 and also previous versions using color-theme. Is…
hatmatrix
  • 1,046
  • 9
  • 18
24
votes
5 answers

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 ?
Running Turtle
  • 467
  • 1
  • 4
  • 7
22
votes
1 answer

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 looks: Is there any way I could change the…
caisah
  • 4,056
  • 1
  • 23
  • 43
21
votes
4 answers

Different themes for terminal and graphical frames when using Emacs daemon

I'm trying to achieve the following behavior in Emacs24: I like to use a different theme (solarized-dark vs. solarized-light) depending on whether I connect to the running server with a terminal frame % emacsclient -t or with a gtk frame %…
andreas-h
  • 1,559
  • 13
  • 22
19
votes
3 answers

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 reach with the cursor; mode-line, header-line,…
remvee
  • 561
  • 6
  • 13
19
votes
1 answer

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/Emacs -nw the colors for the theme get all wonky. I…
djh
  • 325
  • 1
  • 2
  • 7
16
votes
4 answers

Run a Function Only Once, Though a Hook Many Times

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 this SO answer): (if (daemonp) (add-hook…
joe di castro
  • 370
  • 3
  • 12
12
votes
2 answers

Is there a transparent theme?

I've been looking for themes which are transparent, but I didn't find any. Is there someone who uses a transparent theme?
Vivian Maya
  • 787
  • 1
  • 6
  • 17
12
votes
9 answers

Make a function to toggle themes

How could I make an interactive function to toggle in between two color themes? From what I have been able to find there is no variable set to what color theme is currently in use, in fact several can be loaded simultaneously? Also, in order to…
Jborg
  • 189
  • 1
  • 6
12
votes
2 answers

Emacs always ask to trust colour theme at startup

My Emacs always prompts me if it should trust selected colour theme or not. I always answer y and y to trust and remember my choice. I'm loading colour theme manually: (load-theme 'my-favourite-theme) I suppose this is because easy customizations…
Geradlus_RU
  • 625
  • 7
  • 17
11
votes
2 answers

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 (:foreground "green3" :underline t)))) ;; ...…
Saddle Point
  • 481
  • 7
  • 23
11
votes
2 answers

How to change the mouse pointer colour?

I am using the ample theme and I quite like it, but I can't see the mouser pointer when moving over emacs and emacs is activated; as the emacs background and the mouse pointer are black, I would like to have the mouse pointer in e.g. red. How can I…
Rainer
  • 897
  • 10
  • 16
11
votes
1 answer

Stop emacs asking if a theme is safe

I set my theme with load-theme in a use-package macro loaded at startup. The theme has also been installed with use-package, from the repository. At each start emacs asks me if I really want to load the theme in case it's not safe, how can I tell…
9
votes
1 answer

Adding box around text without changing the text width

The documentation of Face Attributes suggests that adding a line-width of -n to the box attribute will draw a line of width n whose top and bottom parts occupy the space of the underlying text, thus avoiding any increase in the character …
Pouya
  • 203
  • 1
  • 10
1
2 3
16 17