Questions tagged [themes]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Changing background colour when using Emacs Help

Have got emacs running on a dark background. Would like to change the background to orange colour when I am using Emacs Help. Can this be done?
user avatar
  • 107
0 votes
1 answer
17 views

How can I get the name of the loaded theme?

I'm trying to set different visual settings for different themes. In my .emacs.el file, I want to have conditional statements. For that, I need to programmatically get the name of the current loaded ...
user avatar
0 votes
0 answers
22 views

Specifying TODO formatting in a theme file

I have just created my first custom theme for Emacs using autothemer. In my theme file, I specify all the faces I'd like to use, including those used by org-mode. I notice now that my theming is split ...
user avatar
  • 191
2 votes
1 answer
36 views

By elisp how to change backgound color when specific theme is activated?

How do we set "white" background when only "adwaita" theme is activated. The following does not work. (when (equal 'custom-enabled-themes "adwaita") (set-background-...
user avatar
  • 21
1 vote
1 answer
81 views

Cannot enable FACE attributes with (custom-theme-set-faces!)

config.el (custom-theme-set-faces! 'doom-ir-black '(mode-line :foreground "blue") ;;'(mode-line :foreground t) ;; also doesn't work ;;'(mode-line :foreground "#000000&...
user avatar
  • 90
0 votes
1 answer
37 views

How to apply a different theme for files in a specific directory

How can I use a different theme (or color scheme) for files in a specific directory? Currently in my system, a single theme is applied to all buffers. The theme is chosen in ~/.emacs as (load-theme '...
user avatar
  • 101
0 votes
1 answer
24 views

Customize face can use some theme faces, but not all

This is my theme config. I am trying to modify the face list-matching-lines-buffer-name-face, which is part of the result window of occur (see replace.el.gz). Using customize-option on list-matching-...
user avatar
  • 387
1 vote
1 answer
186 views

Why does Doom Emacs have different background colors for different windows?

I've noticed that for some themes, different windows have different background colors. I suspect this has to do with the major mode of the window, but I'm not sure. Here's an example of what I'm ...
user avatar
0 votes
0 answers
42 views

Doom Emacs Loads Kaolin-Ocean Theme but Doesn't Recognize Theme When Setting Custom Face

I am using Doom Emacs, and have the following snippet in my config.el: (if (display-graphic-p) (setq doom-theme 'kaolin-ocean) (setq doom-theme 'doom-vibrant)) (let ((custom--inhibit-theme-...
user avatar
1 vote
2 answers
92 views

Can the menubar and scrollbar be customized?

In GTK versions of Emacs (or more generally any GUI version of Emacs), can the scrollbar and menubar colors be customized? I can probably change the look of ALL my GTK applications, but when running ...
user avatar
  • 389
1 vote
0 answers
61 views

Themes and other options not loading from MELPA

While following a tutorial on editing python using Emacs (https://realpython.com/emacs-the-best-python-editor/) I've been unable to install better-defaults, line numbers and any themes or return to ...
user avatar
  • 11
0 votes
1 answer
192 views

Auto-detect system dark mode or light mode and select themes based on that

Is there a way on linux (Ubuntu 20, Gnome) to detect changes in system's dark mode vs light mode and change emacs themes to a dark theme or light theme that I specify? I see this question Change theme ...
user avatar
2 votes
0 answers
65 views

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 ...
user avatar
0 votes
0 answers
32 views

How to set Variables in config.el [duplicate]

I would like to use a color-palette in my theme-file... there it is: (deftheme TEST) (let ((col1 "red" ) (col2 "blue" )) (custom-theme-set-faces 'TEST '(cursor ((t (:...
user avatar
1 vote
1 answer
40 views

Building custom theme based on another

Since the first time I set a custom theme in Emacs and then later attempted to modify some faces, I learned how to do it dynamically with the currently loaded and enabled theme. Now, I am finally ...
user avatar
  • 1,083
2 votes
1 answer
102 views

company-mode popups and magit current region are dark while current theme is light

I've been successfully using lsp-mode and magit for a while with a light theme (leuven). Today I was messing with something seemingly unrelated (company-mode and auto-complete settings in my ~/.emacs ...
user avatar
0 votes
1 answer
47 views

Effect of doom themes in tabulated list header line is visually confusing

I am on the process of moving from prelude [1] to a stand-alone config I have created from scratch [2], though by largely copying other people's .emacs. It seems I have inadvertently changed the ...
user avatar
1 vote
1 answer
197 views

Changing Terminal Emacs Theme

I have to run some C and Fortran programs over SSH, and need to edit the source files on the shell. I think Emacs is the right tool for such a task, and it was preinstalled on the server. Though when ...
user avatar
  • 11
0 votes
1 answer
254 views

Set the default background color in spacemacs

I'm trying to set the default background color to black in spacemacs. I'm setting the following theme in my init.el file: dotspacemacs-themes '(afternoon molokai) In my user-config.el file I've ...
user avatar
  • 266
2 votes
1 answer
173 views

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/...
user avatar
0 votes
1 answer
75 views

changing default emacs theme to downloaded theme

I have just downloaded a matrix theme name matrix-theme-source-code.el and I want to install it on my emacs, I have read that I should do the following thing in my .emacs :- (add-to-list 'custom-theme-...
user avatar
0 votes
1 answer
221 views

How can I install and enable this theme?

I have been using this solarized theme for many years now: https://github.com/sellout/emacs-color-theme-solarized. This theme used to be available in the MELPA repos, but it is no longer available ...
user avatar
0 votes
0 answers
51 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 ...
user avatar
3 votes
0 answers
82 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 ...
user avatar
0 votes
1 answer
96 views

Can't disable font-lock-mode

If I have font-lock on and I do M-x find-library RET simple RET, I have colours: If I then M-x font-lock-mode to disable the mode, the colours disappear in the currently-visible portion of the buffer:...
user avatar
  • 620
0 votes
1 answer
149 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. ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 1,066
2 votes
1 answer
60 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 ...
user avatar
  • 237
0 votes
1 answer
64 views

How can I set and retain font size of the solarized-theme?

I like the solarized (light) theme in emacs but i have a 27" mac so the font is too small. I know I can enlarge with C-x C-+ but I do not know how to set the font size and retain that setting so ...
user avatar
  • 103
0 votes
1 answer
410 views

How to change cursor color in emacs 27?

Note that I'm using a theme (not sure if that changes things). I have (set-cursor-color "White") But my cursor is still yellow.
user avatar
1 vote
2 answers
352 views

(load-theme) at the bottom of .emacs, or manually renders a different screen

Adding this line at the very end of the .emacs file, that loads a default theme coming with the Emacs package, (load-theme 'tsdh-dark) the (main) screen looks like Note the black-on-dark text, the ...
user avatar
  • 133
0 votes
0 answers
445 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 ...
user avatar
  • 51
0 votes
1 answer
65 views

org-mode-hook is always evaluated

I'd like org-mode to use a particular theme. To this end, I've put the following in my init.el: ;; Setup org-mode theme (defun org_setup() "Setup org-mode" (load-theme 'doom-laserwave) ...
user avatar
  • 191
0 votes
1 answer
172 views

Emacs 27.1 daemon segfaulting when loading theme as emacsclient connects

Emacs 27.1 from: Homebrew/Linuxbrew, compiled from source, on either RHEL 6.10 or Ubuntu 16.04 Xenial. EVM, using pre-compiled Travis binaries on Ubuntu 16.04 Xenial. crashes for me with a ...
user avatar
1 vote
0 answers
13 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 ...
user avatar
  • 433
0 votes
1 answer
201 views

Display a horizontal underline on every line

I recently saw this image on r/unixporn. How can I recreate the 'notebook' effect: the broad line-height and underline of each line, but in Emacs (iiuc this is achieved using rxvt + pixmaps in Linux).
user avatar
1 vote
1 answer
97 views

How to write a theme from all known faces?

I'd like to write a theme from all known faces (face colors and styles - as one would typically find in a theme). There is a way to write themes customize-create-theme, however it only writes some ...
user avatar
  • 7,179
0 votes
1 answer
171 views

How to associate a theme to a file extension?

It is kind of similar to this question How do I automatically load a mode for a specific set of file extensions? So I am in a situation where, when I want to write in TeX, I want to use 'whiteboard' ...
user avatar
1 vote
0 answers
422 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 ...
user avatar
  • 285
2 votes
1 answer
144 views

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 ...
user avatar
0 votes
1 answer
256 views

Customize variable: custom-theme-load-path[no match]

I followed instruction here to erase customization. however, it returns [no-match]. am i doing anything wrong here? The reason that I was trying to erase the custom-theme-load-path is that I failed ...
user avatar
  • 85
5 votes
2 answers
633 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 ...
user avatar
  • 151
1 vote
1 answer
543 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 ...
user avatar
0 votes
0 answers
96 views

Org-mode source blocks are not fontified same as the corresponding language

i am using Zerodark theme and in my org files I noticed that source blocks (emacs-lisp) are not fontified same as when opening an actual lisp file. I already have this setting: (setq org-src-...
user avatar
  • 554
0 votes
1 answer
157 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 ...
user avatar
2 votes
2 answers
715 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 '...
user avatar
1 vote
1 answer
155 views

how to tell a Custom Theme vs Color Theme?

I am considering changing the look of my emacs (just default state right now). I've read that Color Theme is an older approach but has its own advantages compared to Custom Theme (newer approach). One ...
user avatar
  • 154
1 vote
0 answers
106 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 ...
user avatar
0 votes
0 answers
37 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. ...
user avatar
  • 467
0 votes
1 answer
151 views

How to remove a sub-theme?

Is it possible to remove a sub-theme so that it does not appear in the theme list when invoking load-theme or customize-themes? For instance removing only doom-spacegrey from the doom theme-set, ...
user avatar
  • 175

1
2 3 4 5