运行node ./convertTheme.js命令后,就会把你放在vscodeThemes目录下所有VSCode的主题文件转换成Monaco Editor的主题文件并输出到public/themes目录下,然后我们在代码里直接通过fetch来请求主题文件并使用defineTheme方法定义主题即可: // 请求OneDarkPro主题文件 const themeData = await ( await fetch(`${base}themes/One...
Emacs的界面已经几十年不变了,所以换一个清新的界面,也是必须的。在这里,我推荐Atom风格的,也可以使用Sublime Text风格的,我自己使用的是Atom风格,在包管理中下载atom-one-dark(如果是想用Sublime Text的,就下载monokai),然后在配置中设置 (load-theme'atom-one-darkt) 这个时候,Emacs跟Atom是不是很像了,很有...
emacs提供了很多主题,有一个网站https://emacsthemes.com/专门收集这些主题。 个人之前用的是atom和idea,所以安装darcula,atom-one-dark也备用(最后还是用了atom主题皮肤) mkdir -p ~/.emacs.d/themes cd $_ wget https://raw.githubusercontent.com/dracula/emacs/62df5de68c73d34faaa0191a92ce3ebce589bf24/...
(monokai-yellow-light"#F8F8F2")) (custom-theme-set-faces'monokai;; Frame `(default((t (:foreground ,monokai-yellow-light :background ,monokai-grey-dark))) `(cursor ((t (:foreground ,monokai-magenta))) `(hl-line ((t (:background ,monokai-gray-darkest))) `(minibuffer-prompt ((t (...
;; with 2 themesvariants, one dark and one light) dotspacemacs-themes'(solarized-light solarized-dark ) 如果我需要的主题还没有安装,那么会自动联网安装。但是有一个问题就是我后期安装的主题如果不用会被自动删除。 找到的解决方案是增加一个可以安装上百款theme的layer,具体修改配置: ...
(monokai-yellow-dark"#75715E") (monokai-yellow-light"#F8F8F2")) (custom-theme-set-faces'monokai;; Frame `(default((t (:foreground ,monokai-yellow-light :background ,monokai-grey-dark))) `(cursor ((t (:foreground ,monokai-magenta))) `(...
Vim 和 Emacs 的侧重点其实是不一样的。Vim 是一个在「编辑」做到了极致的工具,它最核心的优势是「...
(setqcustom-nw-file(expand-file-name"custom-nw.el"user-emacs-directory))(setqcustom-gui-file(expand-file-name"custom-gui.el"user-emacs-directory))(if(display-graphic-p)(progn(setqcustom-filecustom-gui-file); (add-to-list 'default-frame-alist '(ns-appearance . dark)) ; macOS 下让窗口...
A dark theme forEmacs. Install All instructions can be found atdraculatheme.com/emacs. Some aspects of this theme are customizable. You can change them either by doingM-x customize-group draculaor setting one or more of the following values in your Emacs init file. Note that these variables...
;; In your packages.el (package! auto-dark) ;; In your config.el (after! doom-ui ;; set your favorite themes (setq! auto-dark-themes '((doom-one) (doom-one-light))) (auto-dark-mode)) Notes for MacOS users From the box, this package takes advantage of some built-in functionalit...