Make tty experience more tolerable

This commit is contained in:
outfoxxed 2023-01-17 17:11:30 -08:00
parent 370c7bd425
commit 0a01dd905a
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 18 additions and 18 deletions

View file

@ -1,8 +1,9 @@
(setq native-comp-speed -1)
;; (setq package-enable-at-startup nil)
;; Anti-flashbang
(custom-set-faces
'(default ((t (:foreground "#b7c9ee" :background "#0d1017")))))
;;(custom-set-faces
;; '(default ((t (:foreground "#b7c9ee" :background "#0d1017")))))
(menu-bar-mode -1)
(tool-bar-mode -1)

View file

@ -9,9 +9,8 @@
(if (plist-get args :bg) (if (nth type (plist-get args :bg))
`(:background ,(nth type (plist-get args :bg)))))))))
`(,face
,`(,(funcall build-face '((class color) (min-colors 257)) 0 args)
,(funcall build-face '((class color) (min-colors 256)) 1 args)
,(funcall build-face '((class color) (min-colors 16)) 2 args))))))
,`(,(funcall build-face '((min-colors 256)) 0 args)
,(funcall build-face '((min-colors 8)) 1 args))))))
(color-join (lambda (list)
(format "#%02x%02x%02x"
(ash (nth 0 list) -8)
@ -49,24 +48,24 @@
(append
`(,(funcall brighten (car color) amount))
(cdr color))))
;; name full 256 16
(common-fg '("#b7c9ee" "white" "white"))
(common-bg '("#0d1017" "black" "black"))
(modeline '("#156570" nil nil))
;; name full 8
(common-fg '("#b7c9ee" "white"))
(common-bg '("#0d1017" "black"))
(modeline '("#156570" "white"))
(highlight (funcall brighten-first common-bg 0.15))
(comment '("#42767d" nil nil))
(doc '("#6a866f" nil nil))
(keyword '("#349672" nil nil))
(preprocessor '("#5ca9af" nil nil))
(function '("#5fc995" nil nil))
(variable '("#6ec5b1" nil nil))
(string '("#15e04a" nil nil))
(type '("#17b343" nil nil))
(comment '("#42767d" "red"))
(doc '("#6a866f" "red"))
(keyword '("#349672" "cyan"))
(preprocessor '("#5ca9af" "cyan"))
(function '("#5fc995" "white"))
(variable '("#6ec5b1" "white"))
(string '("#15e04a" "green"))
(type '("#17b343" "white"))
(lsp-hover-highlight (funcall brighten-first common-bg 0.05))
(company-bg (funcall brighten-first common-bg 0.1))
(peek-code '("#0e151a" nil nil))
(peek-code '("#0e151a" nil))
;; Extra colors #1fa345
)
(custom-theme-set-faces