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 .

254 questions
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,086
  • 2
  • 9
  • 18
12
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
  • 486
  • 8
  • 24
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
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…
5
votes
1 answer

Emacs Can't Find Theme File

(add-to-list 'custom-theme-load-path "~/.emacs.d") (load-theme 'sanityinc-solarized-dark-theme) I have these two lines in my .emacs file, and those theme files in the listed directory, yet emacs still does not detect the theme file. I've seen other…
CodeSammich
  • 365
  • 3
  • 12
5
votes
3 answers

Inverting colors in emacs

Is there any extension or easy way to invert colors in emacs? I tend to show code a lot through screen sharing and often a light theme is better while the dark is more comfortable for me to work alone.
Rafa de Castro
  • 1,231
  • 10
  • 14
4
votes
0 answers

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 tweaked to work on light backgrounds as well. The…
ruby_object
  • 437
  • 2
  • 12
3
votes
1 answer

Porting a VSCode theme to Emacs?

Does anyone know of an easy way to port a VSCode theme to emacs? I found a Python program that converts a json file created from terminal.sexy into a doom-theme, but have not been able to find an easy way to export the VSCode color theme to…
Dargscisyhp
  • 420
  • 2
  • 12
3
votes
2 answers

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 'custom-theme-load-path "…
3
votes
2 answers

Emacs Terminal vs Emacs GUI: different look & feel for the same theme

Whenever I install a theme, I notice it odes not appear exactly the same way on Emacs Terminal and Emacs GUI. For example, I installed this theme recently, and it behaves as the previous ones I installed: In this situation, for example, I prefer…
Billal Begueradj
  • 375
  • 1
  • 5
  • 19
3
votes
2 answers

Finding a specify Org-mode Color Theme

I've been searching for a while the following org-mode color theme on the net, which replace asterisk by circle, but I can't find it. Anyone happens to know the name of this theme? Thanks
seb
  • 101
  • 6
2
votes
1 answer

How this guy do glow(neon) text

I think everything is clear from this video. https://vimeo.com/22798433 I am interested in how to make the text exactly like that. Here's another example but this is vs code https://youtu.be/cxjP4731Av8?t=111
user28876
2
votes
1 answer

Custom theme only loads changes every second start-up

Using Emacs 26.3. I made a theme file. If I change the theme, then restart Emacs the change is not applied. I have to close Emacs a second time, and then only on the second start up does the change take effect. init.el: (load-theme 'foo…
user27072
2
votes
1 answer

Prevent current line from being underlined

I switched from the default theme to wombat and now the current line is highlighted and underlined. With the default theme, it is only highlighted My init.el file has: (global-hl-line-mode 1) How do I only highlight the current line and not…
Saurabh
  • 213
  • 1
  • 10
2
votes
1 answer

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 emacs with c-x c-c the previous theme comes back…
1
2 3