Don*_*die 5 colors emacs theme
我正在使用 GUI Emacs。无论我加载哪个自定义主题,我的背景颜色都保持不变。这可能无关紧要,但是当我加载不同的主题时,我总是收到消息:
message [sml] sml/theme set to automatic
Run Code Online (Sandbox Code Playgroud)
在小缓冲区中。可能相关的elisp是:
(require 'powerline)
.
.
.
(setq sml/theme 'powerline)
(sml/setup)
Run Code Online (Sandbox Code Playgroud)
我使用稍微修改过的solarized-light 作为我的主题。在我的.emacs
文件中,我有:
(load-theme 'my-solarized-light 1)
;; (set-background-color "#fffff0") ;; not necessary because theme was customized
Run Code Online (Sandbox Code Playgroud)
solarized-light
和之间的唯一区别my-solarized-light
是我将背景颜色设置为#FFFFF0 而不是#FDF6E3。我遇到的一个问题是我不记得我是如何做到的。
在我的.emacs
文件顶部附近,在 下custom-set-variables
,是
'(custom-enabled-themes (quote (my-solarized-light)))
Run Code Online (Sandbox Code Playgroud)
如何使“加载主题”再次正常工作?
小智 9
我有同样的问题。
我修改了一些字体设置,通过describe-face
它们custom-set-faces
在我的 .spacemacs 文件中设置了值。
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-table ((t (:background "black" :foreground "#586e75" :weight bold)))))
Run Code Online (Sandbox Code Playgroud)
这似乎是将背景颜色应用于所有主题。删除此自定义并重新启动 spacemacs 解决了问题。
归档时间: |
|
查看次数: |
2180 次 |
最近记录: |