- Enable native code block fontification - Add htmlize package for HTML export - Add custom theme faces for markdown-mode headers, code and tables - Remove Emacs 31+ tree-sitter mode remapping
89 lines
5.1 KiB
EmacsLisp
89 lines
5.1 KiB
EmacsLisp
;;; my-base16-dark-theme.el --- Base16 Dark Theme -*- lexical-binding: t -*-
|
|
|
|
;;; Commentary:
|
|
;; A green base16 dark theme base on solarized-theme
|
|
|
|
;;; Code:
|
|
|
|
(require 'solarized)
|
|
(require 'my-base16-palette)
|
|
(eval-when-compile
|
|
(require 'solarized-palettes))
|
|
|
|
(deftheme my-base16-dark "A Base16 dark theme using Solarized framework.")
|
|
|
|
(solarized-with-color-variables-with-palette
|
|
'dark
|
|
'my-base16-dark
|
|
my-base16-dark-core-palette
|
|
'((custom-theme-set-faces
|
|
theme-name
|
|
`(org-level-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
|
|
`(org-level-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
|
|
`(org-level-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
|
|
`(org-level-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
|
|
`(org-level-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
|
|
`(org-level-6 ((,class (:foreground ,green :height 1.0 :weight normal))))
|
|
`(org-level-7 ((,class (:foreground ,orange :height 1.0 :weight normal))))
|
|
`(org-level-8 ((,class (:foreground ,blue :height 1.0 :weight normal))))
|
|
`(org-document-title ((,class (:foreground ,base0 :height 1.0 :weight bold))))
|
|
`(org-done ((,class (:foreground ,green :weight bold))))
|
|
`(org-headline-done ((,class (:foreground ,green))))
|
|
`(org-block-begin-line ((,class (:foreground ,base01 :slant italic))))
|
|
`(org-block-end-line ((,class (:foreground ,base01 :slant italic))))
|
|
`(org-priority ((,class (:foreground ,green :weight bold))))
|
|
`(org-checkbox ((,class (:foreground ,base0 :weight bold))))
|
|
`(denote-journal-calendar ((,class (:foreground ,cyan :slant italic))))
|
|
`(calendar-month-header ((,class (:foreground ,base0 :weight bold))))
|
|
`(holiday ((,class (:underline (:style line :color ,yellow)))))
|
|
`(cal-china-x-important-holiday-face ((,class (:underline (:style line :color ,red)))))
|
|
`(cal-china-x-general-holiday-face ((,class (:underline (:style line :color ,yellow)))))
|
|
`(holiday ((,class (:underline (:style line :color ,yellow)))))
|
|
`(markdown-header-face-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
|
|
`(markdown-header-face-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
|
|
`(markdown-header-face-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
|
|
`(markdown-header-face-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
|
|
`(markdown-header-face-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
|
|
`(markdown-header-face-6 ((,class (:foreground ,green :height 1.0 :weight normal))))
|
|
`(markdown-code-face ((,class (:foreground ,base0))))
|
|
`(markdown-table-face ((,class (:foreground ,green))))
|
|
`(font-lock-keyword-face ((,class (:foreground ,cyan :weight bold))))
|
|
`(font-lock-doc-face ((,class (:foreground ,green :slant normal))))
|
|
`(font-lock-string-face ((,class (:foreground ,green))))
|
|
`(dashboard-footer-face ((,class (:foreground ,blue))))
|
|
`(dashboard-text-banner ((,class (:foreground ,green))))
|
|
`(dashboard-heading ((,class (:foreground ,green :weight bold))))
|
|
`(dirvish-file-time ((,class (:foreground ,base01))))
|
|
`(dired-header ((,class (:foreground ,green))))
|
|
`(dired-async-mode-message ((,class (:foreground ,red))))
|
|
`(dired-async-message ((,class (:foreground ,yellow))))
|
|
`(consult-file ((,class (:foreground ,green))))
|
|
`(consult-notes-name ((,class (:foreground ,base01 :weight bold))))
|
|
`(consult-notes-time ((,class (:foreground ,base01 :weight thin))))
|
|
`(consult-notes-size ((,class (:foreground ,base01 :weight thin))))
|
|
`(denote-faces-keywords ((,class (:foreground ,cyan))))
|
|
`(mode-line ((,class (:foreground ,base0 :background ,base02))))
|
|
`(mode-line-inactive ((,class (:foreground ,base01 :background ,base03))))
|
|
`(display-time-date-and-time ((,class (:foreground ,base1 :bold t))))
|
|
`(jinx-misspelled ((,class (:underline (:style line :color ,yellow)))))
|
|
`(geiser-font-lock-repl-output ((,class (:foreground ,green))))
|
|
`(geiser-font-lock-doc-link ((,class (:foreground ,blue :underline t))))
|
|
`(geiser-font-lock-error-link ((,class (:foreground ,orange :underline t))))
|
|
`(vertico-current ((,class (:background ,base02 :extend t :underline nil))))
|
|
`(vundo-saved ((,class (:foreground ,green))))
|
|
`(vundo-last-saved ((,class (:foreground ,green :weight bold))))
|
|
`(vundo-highlight ((,class (:foreground ,cyan :weight bold))))
|
|
`(vundo-node ((,class (:foreground ,base01))))
|
|
`(vundo-stem ((,class (:foreground ,base01))))
|
|
`(transient-key-stay ((,class (:foreground ,cyan :inherit transient-key))))
|
|
`(transient-key-return ((,class (:foreground ,violet :inherit transient-key))))
|
|
`(transient-key-exit ((,class (:foreground ,blue :inherit transient-key))))
|
|
`(transient-key-stack ((,class (:foreground ,magenta :inherit transient-key))))
|
|
`(transient-key-recurse ((,class (:foreground ,blue :inherit transient-key))))
|
|
`(transient-key-noop ((,class (:foreground ,base01 :inherit transient-key))))
|
|
`(keycast-key ((,class (:foreground ,green :weight bold)))))))
|
|
|
|
(provide-theme 'my-base16-dark)
|
|
|
|
;;; my-base16-dark-theme.el ends here
|