Questions tagged [themes]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 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-...
1
vote
2answers
49 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 ...
1
vote
0answers
31 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 ...
0
votes
0answers
38 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
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 (:...
1
vote
1answer
30 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 ...
1
vote
1answer
82 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 ...
0
votes
1answer
29 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 ...
1
vote
1answer
101 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 ...
0
votes
1answer
125 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 ...
2
votes
1answer
106 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/...
0
votes
1answer
49 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-...
0
votes
1answer
112 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 ...
0
votes
0answers
33 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 ...
3
votes
0answers
80 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 ...
0
votes
1answer
75 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:...
0
votes
0answers
36 views

EmacsLisp comments invisible after switching to Solarized theme

On Arch Linux, running Emacs within Alacritty, comments in .el files are invisible since switching to the Solarized-Light theme. Tinkering with some of the color settings in my alacritty.yml hasn't ...
0
votes
1answer
87 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. ...
0
votes
0answers
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 ...
0
votes
0answers
14 views

Different colors for different characters in tty-menu-bar

All I want to do is have a different color for different characters for the tty-menu-bar when in a terminal mode. Lets say I have for the menu bar "File", I want the character "F" ...
2
votes
1answer
39 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 ...
0
votes
1answer
50 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 ...
0
votes
1answer
235 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.
1
vote
2answers
187 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 ...
0
votes
0answers
302 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 ...
0
votes
1answer
56 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) ...
0
votes
1answer
147 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 ...
1
vote
0answers
12 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 ...
0
votes
1answer
157 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).
1
vote
1answer
80 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 ...
0
votes
1answer
130 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' ...
1
vote
0answers
363 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 ...
2
votes
1answer
109 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 ...
0
votes
1answer
214 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 ...
5
votes
2answers
448 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 ...
1
vote
1answer
461 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 ...
0
votes
0answers
61 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-...
0
votes
1answer
139 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 ...
2
votes
2answers
611 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 '...
1
vote
1answer
130 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 ...
1
vote
0answers
98 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 ...
0
votes
0answers
36 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
125 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, ...
2
votes
1answer
313 views

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 ...
1
vote
1answer
644 views

emacs ediff show all buffer diff word-wise (like vimdiff)

Issue description When launching Ediff color scheme is very poor and i do not have word wise diff highlight. It seems that diff color faces are not activated at ediff startup. I use emacs -Q to ...
9
votes
2answers
2k 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 (...
1
vote
2answers
396 views

Org-mode: How to display current time record in another color?

I'm still very new to emacs and currently use it on the terminal to track my work time in org-mode. ** Save the world :LOGBOOK: CLOCK: [2019-02-14 Do 10:24] CLOCK: [2019-02-14 Do 08:51]--[2019-02-14 ...
2
votes
2answers
216 views

Different color theme for scratch buffer

I'd like my *scratch* buffer to have it's own color theme, different to the one I use elsewhere, so that I know when I'm working there. How can I do this?
0
votes
0answers
994 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 ...

1
2 3 4 5