如题,刚买了个大上,还没有找到特别合适的主题
自己搞的,paperlike theme, 看名字就应该知道用途了吧。。。。
4 个赞
之前根modus theme的作者提了个feature让modus支持颜色饱和度调节,虽然作者最终没有内置到modus里面,不过写了一个简单的函数:
(defun my-modus-themes-saturate (percent)
"Saturate current Modus theme palette overrides by PERCENT."
(interactive
(list (read-number "Saturation by percent: ")))
(let* ((theme (modus-themes--current-theme))
(palette (pcase theme
('modus-operandi modus-themes-operandi-colors)
('modus-vivendi modus-themes-vivendi-colors)
(_ (error "No Modus theme is active"))))
(overrides (pcase theme
('modus-operandi 'modus-themes-operandi-color-overrides)
('modus-vivendi 'modus-themes-vivendi-color-overrides)
(_ (error "No Modus theme is active")))))
(let (name cons colors)
(dolist (cons palette)
(setq name (color-saturate-name (cdr cons) percent))
(setq name (format "%s" name))
(setq cons `(,(car cons) . ,name))
(push cons colors))
(set overrides colors))
(pcase theme
('modus-operandi (modus-themes-load-operandi))
('modus-vivendi (modus-themes-load-vivendi)))))
(setq modus-themes-bold-constructs t) ;;;推荐设置
(my-modus-themes-saturate 0) ;;;default
(my-modus-themes-saturate -100) ;;; minimal satruraion
效果对比: 默认饱和度
最低饱和度
2 个赞
dao 主題 稍微改一下也不錯