From: "Samuel Banya" <sbanya@fastmail.com>
To: "Emanuel Berg" <help-gnu-emacs@gnu.org>
Subject: Issues With Trying To Create My Own Theme For Emacs
Date: Sat, 19 Feb 2022 16:55:54 -0500 [thread overview]
Message-ID: <84ea8b5d-8cc5-4cf3-a5b0-3e9c1835d0ef@www.fastmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
Hey there,
So I have been trying to create my own theme for Emacs, and have a ton of ideas for more of them.
However, when I try to load it with 'M-x load-theme' and specify the name of the theme, aka 'Morrowind Menu Theme', I get the following error:
helm-M-x-execute-command: Symbol’s value as variable is void: Menu
Updating buffer list...
Formats have changed, recompiling...done
Updating buffer list...done
I am attaching the theme I am currently working on right now.
With this in mind, I have 3 questions:
Q1. How do I fix this issue / is this an issue with Helm itself not being catered towards the theme I made?
Q2. How could I make this theme be compatible with Helm itself and 'Spacemodeline'?
Q3. How could I load this theme via my existing Emacs config with a direct command instead of having to use 'M-x load-theme'
Thanks :)
Sam
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Morrowind Menu Theme-theme.el --]
[-- Type: text/x-emacs-lisp; name="Morrowind Menu Theme-theme.el", Size: 3395 bytes --]
(deftheme Morrowind Menu Theme
"Created 2022-02-19.")
(custom-theme-set-faces
'Morrowind Menu Theme
'(default ((t (:inherit nil :extend nil :stipple nil :background "#735229" :foreground "#c9a557" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 128 :width normal :foundry "SRC" :family "Hack"))))
'(cursor ((t (:background "#000000"))))
'(fixed-pitch ((t (:family "Monospace"))))
'(variable-pitch ((((type w32)) (:foundry "outline" :family "Arial")) (t (:family "Sans Serif"))))
'(escape-glyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown"))))
'(homoglyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown"))))
'(minibuffer-prompt ((t (:inherit bold :foreground "#c9a557"))))
'(highlight ((t (:foreground "#b2b2b2" :background "#222"))))
'(region ((t (:extend t :background "#212a63"))))
'(shadow ((t (:foreground "#704e29"))))
'(secondary-selection ((t (:extend t :background "#100a14"))))
'(trailing-whitespace ((t (:background "#9d3115"))))
'(font-lock-builtin-face ((t (:foreground "#283bb4"))))
'(font-lock-comment-delimiter-face ((default (:inherit (font-lock-comment-face)))))
'(font-lock-comment-face ((t (:background "#292e34" :foreground "#12249a" :slant normal))))
'(font-lock-constant-face ((t (:foreground "#0f6331"))))
'(font-lock-doc-face ((t (:foreground "#9f8766"))))
'(font-lock-function-name-face ((t (:foreground "#027731" :inherit bold))))
'(font-lock-keyword-face ((t (:slant normal :foreground "#c9a557" :inherit bold))))
'(font-lock-negation-char-face ((t (:foreground "#0f6331"))))
'(font-lock-preprocessor-face ((t (:foreground "#0a803a"))))
'(font-lock-regexp-grouping-backslash ((t (:inherit (bold)))))
'(font-lock-regexp-grouping-construct ((t (:inherit (bold)))))
'(font-lock-string-face ((t (:foreground "#2d9574"))))
'(font-lock-type-face ((t (:inherit bold :foreground "#a48954"))))
'(font-lock-variable-name-face ((t (:foreground "#5a6cdd"))))
'(font-lock-warning-face ((t (:background "#292b2e" :foreground "#e85100"))))
'(button ((t (:inherit (link)))))
'(link ((t (:foreground "#12249a" :underline t))))
'(link-visited ((t (:foreground "#128c43" :underline t))))
'(fringe ((t (:foreground "#b2b2b2" :background "#292b2e"))))
'(header-line ((t (:background "#212026"))))
'(tooltip ((t (:background "#212a63" :foreground "#c9a557" :underline nil :slant normal :weight normal))))
'(mode-line ((t (:box (:line-width 1 :color "#5d4d7a" :style nil) :foreground "#b2b2b2" :background "#222226"))))
'(mode-line-buffer-id ((t (:foreground "#027731" :inherit bold))))
'(mode-line-emphasis ((t (:weight bold))))
'(mode-line-highlight ((((class color) (min-colors 88)) (:box (:line-width 2 :color "grey40" :style released-button))) (t (:inherit (highlight)))))
'(mode-line-inactive ((t (:box (:line-width 1 :color "#5d4d7a" :style nil) :foreground "#b2b2b2" :background "#292b2e"))))
'(isearch ((t (:background "#058535" :foreground "#292b2e"))))
'(isearch-fail ((t (:background "#9d3115"))))
'(lazy-highlight ((t (:background "#004316" :weight normal))))
'(match ((t (:background "#444155" :foreground "#06a81b"))))
'(next-error ((t (:inherit (region)))))
'(query-replace ((t (:inherit (isearch))))))
(provide-theme 'Morrowind Menu Theme)
next reply other threads:[~2022-02-19 21:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-19 21:55 Samuel Banya [this message]
2022-02-22 12:52 ` Issues With Trying To Create My Own Theme For Emacs Eric S Fraga
2022-02-22 14:00 ` Stephen Berman
2022-02-22 14:16 ` Eric S Fraga
2022-02-22 18:19 ` Samuel Banya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84ea8b5d-8cc5-4cf3-a5b0-3e9c1835d0ef@www.fastmail.com \
--to=sbanya@fastmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.