在最新的Lispworks 8.0中,IDE已经支持深色主题,其主要的颜色都是粉色的。根据此调性,参考VScode 的night-pink主题,做了一个Lispworks的颜色主题。
颜色主题修改的文件,参考github的 https://github.com/40ants/lw-color-theme
下载文件后,在其中增加一段
(define-color-theme "night-pink" ()
:foreground (color:make-rgb 1s0 0.76s0 0.94s0)
:background (color:make-rgb 0.1s0 0.1s0 0.1s0)
:region '(:foreground :color_highlighttext
:background :color_highlight)
:show-point-face `(:background ,(color:make-rgb 0.6275s0 0.1255s0 0.9412s0))
:interactive-input-face '(:foreground :pink)
:highlight '(:bold-p t)
:non-focus-complete-face '(:background :tweak_background)
:font-lock-function-name-face `(:foreground ,(color:make-rgb 0.86s0 0.31s0 0.63s0))
:font-lock-comment-face `(:foreground ,(color:make-rgb 0.65s0 0.66s0 0.69s0))
:font-lock-type-face `(:foreground ,(color:make-rgb 0.82s0 0.42s0 0.58s0))
:font-lock-variable-name-face `(:foreground ,(color:make-rgb 1.0s0 1.0s0 1.0s0))
:font-lock-string-face `(:foreground ,(color:make-rgb 1.0s0 0.6275s0 0.6275s0))
:font-lock-keyword-face `(:foreground ,(color:make-rgb 0.67s0 0.30s0 0.52s0))
:font-lock-builtin-face `(:foreground ,(color:make-rgb 0.92s0 0.33s0 0.67s0))
:compiler-note-highlight '(:foreground :magenta)
:compiler-warning-highlight '(:foreground :orange)
:compiler-error-highlight '(:foreground :red))
效果如图
截屏2022-01-25 下午5.26.18.png
网友评论