

GitHub - idlip/haki: ๐จ Pleasant, Dark theme in Modern Sense for Emacs
source link: https://github.com/idlip/haki
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

๐ Haki - An Elegant, High-contrast Dark Theme in Modern sense
๐จ Table of Palette
Info
This is not any normal theme that looks โhuhโ.
This is tailored for Emacs in modern sense, with each element to look distinguishable and go in sync.
There is not much science or principle here, itโs just a theme and its your eyes, if they go in sync, whoami to stop?
As a new theme, I have two things in my mind:
- If community or many users, like the theme, I might go tweak and add more goodies.
- If there is not much appreciation, I might modify and improve some pastel colors.
Modes Supported
Packages & Modes
Gallery
Installation
Theme is available in MELPA.
;; Option 1: Simply do (make sure it is in 'custom-theme-directory')
(setq haki-region "#2e8b6d")
(load-theme 'haki t)
;; Option 2: with 'use-package'
(use-package haki-theme
:config
(setq haki-region "#2e8b6d"
;; If you skip setting this, it will use 'default' font.
haki-heading-font "Comic Mono"
haki-sans-font "Iosevka Comfy Motion"
haki-title-font "Impress BT"
haki-link-font "VictorMono Nerd Font" ;; or Maple Mono looks good
haki-code-font "Maple Mono") ;; inline code/verbatim (org,markdown..)
;; For meow/evil users (change border of mode-line according to modal states)
(add-hook 'post-command-hook #'haki-modal-mode-line)
(load-theme 'haki t))
Tips
Since its new, there is not much, but I do have some surprise!
- Since regions cover everywhere, you can customize it to your preference.
Use M-x #'haki-change-region
to choose and set a color for haki-region
.
To make it persist on sessions, you need to add (setq haki-region "#hexvalue")
- Emacs on Terminal should support 24-bit colors.
It displays all colors for me on foot
terminal.
If you have issue, You can try setting โCOLORTERMโ environment variable to โtrue-colorโ :
export COLORTERM=truecolor
- Heading level will be similar everywhere (org,markdown,eww,shr,info,news..), every heading faces inherit corresponding org-level. Editing org-level face will follow to all modes having heading, define your choice of font for heading.
; Font for each level
(set-face-attribute 'org-level-1 nil :font "Impress BT")
; Add fg and a face
(set-face-attribute 'org-level-1 nil :font "Excalibur Stone" :foreground "#ab82ff")
- For meow/evil users, there is
#'haki-modal-mode-line
which can change the border (:box
) of the mode-line according to the meow-states, with this hook:(add-hook 'post-command-hook #'haki-modal-mode-line)
- Just like a theme, if you are looking to try new font. I can suggest you to check Recursive font I use (fork) them patched with nerd icons in OnePiece style naming, check out Code D Font
๐ Contributing
Thereโs always a space for improvement.
- If you want to open an issue, Please attach a pic of the issue state.
- If you want to make a PR, Please attach pic of before and after effects.
This will allow me to consider and evaluate.
Inspiration
- Protโs themes - Iโm a fan of
modus-vivendi
, but it lacked something for me, it simply lead me to create this theme. Nonetheless, Modus themes is a Masterpiece. - Minad - If it were not for his packages, I wouldnโt have loved Emacs this much to create a theme.
Absolute gem! Most of the themeโs customization is based on his packages.
Recommend
-
128
Atom One Dark Theme for Emacs This is a port of the Atom One Dark theme from Atom.io. The original One Dark theme for Atom can be found here: This is a work in progress. I have yet to...
-
69
GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
-
72
README.md Dracula for Emacs A dark theme for Emacs.
-
40
README.md .Xresources-theme This theme reads its colors from your ~/.Xresources file, so that you can easily keep your emacs theme in sync...
-
98
README.md ?????? ?????
-
41
vim-smooth-scroll About vim-smooth-scroll makes scrolling in Vim nice and smooth. Find yourself completely lost every time you use Ctrl-f
-
31
README.md ๐ ๐จ๐ซ๐๐ฌ๐ญ ๐๐ข๐ ๐ก๐ญ
-
49
๐๐ฏ๐๐ซ๐๐จ๐ซ๐๐ฌ๐ญ ๐๐๐ซ๐ค ๐๐ข๐ ๐ก๐ญ ๐๐๐ซ๐ ๐๐๐๐ข๐ฎ๐ฆ ๐๐จ๐๐ญ Introduction Everforest is a green based color scheme, it's designed to be warm and soft in order to protect developers' eyes. Features Green based but warm...
-
10
WebFrame A massive helper F# framework for making rapid prototyping with ASP.NET Core pleasant. Fast Travel Introduction - A Story Time Some long time ago I used to write web stuff using Python frameworks su...
-
3
Haki: Gallery Show Specs Font: Recursive Font, Formerly was using Comic Code Emacs: 29 with Pure-Gtk WM: Hyprland (wayland)...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK