Make tty experience more tolerable
This commit is contained in:
parent
370c7bd425
commit
0a01dd905a
|
@ -1,8 +1,9 @@
|
||||||
(setq native-comp-speed -1)
|
(setq native-comp-speed -1)
|
||||||
|
;; (setq package-enable-at-startup nil)
|
||||||
|
|
||||||
;; Anti-flashbang
|
;; Anti-flashbang
|
||||||
(custom-set-faces
|
;;(custom-set-faces
|
||||||
'(default ((t (:foreground "#b7c9ee" :background "#0d1017")))))
|
;; '(default ((t (:foreground "#b7c9ee" :background "#0d1017")))))
|
||||||
(menu-bar-mode -1)
|
(menu-bar-mode -1)
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,8 @@
|
||||||
(if (plist-get args :bg) (if (nth type (plist-get args :bg))
|
(if (plist-get args :bg) (if (nth type (plist-get args :bg))
|
||||||
`(:background ,(nth type (plist-get args :bg)))))))))
|
`(:background ,(nth type (plist-get args :bg)))))))))
|
||||||
`(,face
|
`(,face
|
||||||
,`(,(funcall build-face '((class color) (min-colors 257)) 0 args)
|
,`(,(funcall build-face '((min-colors 256)) 0 args)
|
||||||
,(funcall build-face '((class color) (min-colors 256)) 1 args)
|
,(funcall build-face '((min-colors 8)) 1 args))))))
|
||||||
,(funcall build-face '((class color) (min-colors 16)) 2 args))))))
|
|
||||||
(color-join (lambda (list)
|
(color-join (lambda (list)
|
||||||
(format "#%02x%02x%02x"
|
(format "#%02x%02x%02x"
|
||||||
(ash (nth 0 list) -8)
|
(ash (nth 0 list) -8)
|
||||||
|
@ -49,24 +48,24 @@
|
||||||
(append
|
(append
|
||||||
`(,(funcall brighten (car color) amount))
|
`(,(funcall brighten (car color) amount))
|
||||||
(cdr color))))
|
(cdr color))))
|
||||||
;; name full 256 16
|
;; name full 8
|
||||||
(common-fg '("#b7c9ee" "white" "white"))
|
(common-fg '("#b7c9ee" "white"))
|
||||||
(common-bg '("#0d1017" "black" "black"))
|
(common-bg '("#0d1017" "black"))
|
||||||
(modeline '("#156570" nil nil))
|
(modeline '("#156570" "white"))
|
||||||
(highlight (funcall brighten-first common-bg 0.15))
|
(highlight (funcall brighten-first common-bg 0.15))
|
||||||
(comment '("#42767d" nil nil))
|
(comment '("#42767d" "red"))
|
||||||
(doc '("#6a866f" nil nil))
|
(doc '("#6a866f" "red"))
|
||||||
(keyword '("#349672" nil nil))
|
(keyword '("#349672" "cyan"))
|
||||||
(preprocessor '("#5ca9af" nil nil))
|
(preprocessor '("#5ca9af" "cyan"))
|
||||||
(function '("#5fc995" nil nil))
|
(function '("#5fc995" "white"))
|
||||||
(variable '("#6ec5b1" nil nil))
|
(variable '("#6ec5b1" "white"))
|
||||||
(string '("#15e04a" nil nil))
|
(string '("#15e04a" "green"))
|
||||||
(type '("#17b343" nil nil))
|
(type '("#17b343" "white"))
|
||||||
|
|
||||||
(lsp-hover-highlight (funcall brighten-first common-bg 0.05))
|
(lsp-hover-highlight (funcall brighten-first common-bg 0.05))
|
||||||
(company-bg (funcall brighten-first common-bg 0.1))
|
(company-bg (funcall brighten-first common-bg 0.1))
|
||||||
|
|
||||||
(peek-code '("#0e151a" nil nil))
|
(peek-code '("#0e151a" nil))
|
||||||
;; Extra colors #1fa345
|
;; Extra colors #1fa345
|
||||||
)
|
)
|
||||||
(custom-theme-set-faces
|
(custom-theme-set-faces
|
||||||
|
|
Loading…
Reference in a new issue