mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
Finished doom emacs stylix theming
This commit is contained in:
parent
890dd7c339
commit
4cf31a76a7
|
@ -21,7 +21,8 @@
|
||||||
"k" 'evil-previous-visual-line)
|
"k" 'evil-previous-visual-line)
|
||||||
|
|
||||||
;; Theme and font
|
;; Theme and font
|
||||||
(setq doom-theme 'doom-old-hope)
|
(setq custom-theme-directory "~/.emacs.d/themes")
|
||||||
|
(setq doom-theme 'doom-stylix)
|
||||||
(setq doom-font (font-spec :family "Inconsolata" :size 20))
|
(setq doom-font (font-spec :family "Inconsolata" :size 20))
|
||||||
|
|
||||||
;; Transparent background
|
;; Transparent background
|
||||||
|
|
|
@ -73,7 +73,8 @@ I use this functionality to load my private config file with non-public informat
|
||||||
"k" 'evil-previous-visual-line)
|
"k" 'evil-previous-visual-line)
|
||||||
|
|
||||||
;; Theme and font
|
;; Theme and font
|
||||||
(setq doom-theme 'doom-old-hope)
|
(setq custom-theme-directory "~/.emacs.d/themes")
|
||||||
|
(setq doom-theme 'doom-stylix)
|
||||||
(setq doom-font (font-spec :family "Inconsolata" :size 20))
|
(setq doom-font (font-spec :family "Inconsolata" :size 20))
|
||||||
|
|
||||||
;; Transparent background
|
;; Transparent background
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
;;; doom-stylix-theme.el --- stylix template created from doom-one -*- lexical-binding: t; no-byte-compile: t; -*-
|
;;; doom-stylix-theme.el --- stylix template created from doom-one -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||||
;;
|
;;
|
||||||
;; Added: May 23, 2016 (28620647f838)
|
|
||||||
;; Author: Emmet K <https://gitlab.com/librephoenix>
|
;; Author: Emmet K <https://gitlab.com/librephoenix>
|
||||||
;; Maintainer: Henrik Lissner <https://gitlab.com/librephoenix>
|
;; Maintainer: Emmet K <https://gitlab.com/librephoenix>
|
||||||
;; Source: https://github.com/doomemacs/themes
|
;; Source: https://github.com/doomemacs/themes
|
||||||
;;
|
;;
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
@ -59,12 +58,12 @@ Can be an integer to determine the exact padding."
|
||||||
;; dark grey, base0 should be white and base8 should be black.
|
;; dark grey, base0 should be white and base8 should be black.
|
||||||
(base0 '("#{{base00-hex}}" "black" "black" ))
|
(base0 '("#{{base00-hex}}" "black" "black" ))
|
||||||
(base1 '("#{{base01-hex}}" "#1e1e1e" "brightblack" ))
|
(base1 '("#{{base01-hex}}" "#1e1e1e" "brightblack" ))
|
||||||
(base2 '("#{{base02-hex}}" "#2e2e2e" "brightblack" ))
|
(base2 '("#{{base01-hex}}" "#2e2e2e" "brightblack" ))
|
||||||
(base3 '("#{{base03-hex}}" "#262626" "brightblack" ))
|
(base3 '("#{{base02-hex}}" "#262626" "brightblack" ))
|
||||||
(base4 '("#{{base04-hex}}" "#3f3f3f" "brightblack" ))
|
(base4 '("#{{base03-hex}}" "#3f3f3f" "brightblack" ))
|
||||||
(base5 '("#{{base05-hex}}" "#525252" "brightblack" ))
|
(base5 '("#{{base04-hex}}" "#525252" "brightblack" ))
|
||||||
(base6 '("#{{base06-hex}}" "#6b6b6b" "brightblack" ))
|
(base6 '("#{{base05-hex}}" "#6b6b6b" "brightblack" ))
|
||||||
(base7 '("#{{base07-hex}}" "#979797" "brightblack" ))
|
(base7 '("#{{base06-hex}}" "#979797" "brightblack" ))
|
||||||
(base8 '("#{{base07-hex}}" "#dfdfdf" "white" ))
|
(base8 '("#{{base07-hex}}" "#dfdfdf" "white" ))
|
||||||
|
|
||||||
(grey base4)
|
(grey base4)
|
||||||
|
@ -156,6 +155,9 @@ Can be an integer to determine the exact padding."
|
||||||
(markdown-markup-face :foreground base5)
|
(markdown-markup-face :foreground base5)
|
||||||
(markdown-header-face :inherit 'bold :foreground red)
|
(markdown-header-face :inherit 'bold :foreground red)
|
||||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||||
|
;;;; org-mode
|
||||||
|
(org-block :background (doom-darken bg 0.05 ) :extend t)
|
||||||
|
(org-code :background (doom-darken bg 0.05 ) :extend t)
|
||||||
;;;; rjsx-mode
|
;;;; rjsx-mode
|
||||||
(rjsx-tag :foreground red)
|
(rjsx-tag :foreground red)
|
||||||
(rjsx-attr :foreground orange)
|
(rjsx-attr :foreground orange)
|
||||||
|
|
Loading…
Reference in a new issue