Skip to content
Ogden Webb edited this page Feb 18, 2019 · 43 revisions

kaolin-logo

Kaolin is a set of eye pleasing themes for GNU Emacs with support a large number of modes and external packages.
Kaolin themes are based on the pallete that was originally inspired by Sierra theme for vim with adding some extra colors.

This package includes the following themes

All the screenshots above use Roboto Mono font.

Configuration example

(require 'kaolin-themes)
(load-theme 'kaolin-dark t)
;; Apply treemacs customization for Kaolin themes, requires the all-the-icons package.
(kaolin-treemacs-theme)

;; Or if you have use-package installed
(use-package kaolin-themes
  :config
  (load-theme 'kaolin-dark t)
  (kaolin-treemacs-theme))                                         

Custom theme settings

;; The following set to t by default                               
(setq kaolin-themes-bold t       ; If nil, disable the bold style.        
      kaolin-themes-italic t     ; If nil, disable the italic style.      
      kaolin-themes-underline t) ; If nil, disable the underline style.

;; If you want to disable mode-line border, set kaolin-themes-modeline-border to nil
(setq kaolin-themes-modeline-border nil)   

Some extra theme features (disabled by default)

;; If t, use the wave underline style instead of regular underline.
(setq kaolin-themes-underline-wave t)

;; If t, enable italic style in comments.
(setq kaolin-themes-italic-comments  t)
  
;; When t, will display colored hl-line style instead monochrome.     
(setq kaolin-themes-hl-line-colored t)       

;; Enable distinct background for fringe and line numbers.
(setq kaolin-themes-distinct-fringe t)  

;; Enable distinct colors for company popup scrollbar.
(setq kaolin-themes-distinct-company-scrollbar t)

;; Show git-gutter indicators as solid lines
(setq kaolin-themes-git-gutter-solid t)           

Treemacs theme

kaolin-treemacs

D2Coding font

Custom options

  • kaolin-themes-treemacs-hl-line - Remap hl-line face for treemacs, uses distinct foreground and default background, t by default.
  • kaolin-themes-treemacs-icons - enable predefined icons from the all-the-icons pack, t by default.
  • kaolin-themes-treemacs-line-spacing - defines line-spacing for treemacs buffer, by default is 1.

Face customization

You can change some faces via custom-theme-set-faces (put your theme name instead of kaolin-dark):

(custom-theme-set-faces
 'kaolin-dark
 '(default ((t (:background "#131b23" :foreground "#e6e6e8"))))
 '(font-lock-keyword-face ((t (:foreground "#f5c791")))))

Additional information about face options you can find in GNU Emacs Lisp Reference Manual on the Face Attributes page.

To find face name and its attributes under mouse cursor, you could use M-x describe-face.
Also you can call M-x customize-face - hit RET to customize the face at point

The end of the path is the beginning.
Clone this wiki locally