Closed romanakmath closed 4 years ago
A simple way to add your own doom theme is to:
doom-acario-light-theme.el
to ~/.doom.d/themes/my-acario-light-theme.el
.my-acario-light-theme.el
; this way there are no conflicts:-(def-doom-theme doom-acario-light-theme
+(def-doom-theme my-acario-light-theme
(setq doom-theme 'my-acario-light)
to ~/.doom.d/config.el
.You don't need to mess with custom-theme-load-path
. custom-theme-directory
is already set to ~/.doom.d/themes
and is already in custom-theme-load-path
.
Thank you a lot for the hint. One interesting thing happens when I use my theme against the original one, the background changes, even though I haven't edited the theme: acario-light original: acario-light custom: What is the reason for this? I use a symbolic link for .doom.d directory, but I don't think it matters.
This is perhaps because load-theme
doesn't disable previously enabled themes. As of 0e2c9e8cb this should be fixed. Let me know if that is the case.
This problem occurs only if I switch to another theme and then back to the my-acario-light
theme. If I start with my theme everything is normal. Since I am not changing themes during emacs sessions I will close the issue.
What are you trying to achieve? Good day, I come from spacemacs and would like to create a custom theme based on some doom-theme. Let's say I want to take doom-acario-light theme as a base and change the background under the cursor either by having an extra theme selectable
doom-mycustomtheme
or by (less preferable) changingdoom-acario-light theme
. Or, to be more specific, the background in the ivy buffer has almost the same color as the highlighting, I would really like to change it.What have you tried? I looked at the destination of doom-themes. For me they are located in
~/.emacs.d/.local/straight/repos/emacs-doom-themes/themes
. My guess is that I could copy andoom-acario-light-theme.el
file. I am not sure however, if this is how it is intended to be done and if it will be automatically recognized. Placing some themes in my~/.doom.d/themes
and invoking them by(add-to-list 'custom-theme-load-path "~/.doom.d/themes")
in my config file resulted in having wrong background and other artifacts when using this theme, which is why I would like to do it the "proprietary" doom way.In brief: I want to have a custom theme based on a doom themes, which keeps its nice properties like solaire mode and has some different color choises and I am not sure how to achieve this.
Additional information Examplery themes file
System information