diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index c48b7fb..5e09729 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -1,6 +1,6 @@ ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-05-27T14:02:27+0200> +;; Time-stamp: <2020-06-02T15:16:39+0200> ;;; Commentary: ;; * Setup scratch buffer. @@ -106,10 +106,11 @@ (use-package volatile-highlights :demand t :diminish volatile-highlights-mode - :after (doom-themes display-line-numbers) + :after (doom-themes display-line-numbers hexrgb) :config (progn (set-face-background 'vhl/default-face - (face-foreground 'line-number)) + (hexrgb-increment-equal-rgb + (face-background 'default) 2 8)) (volatile-highlights-mode))) (provide 'basics/buffers) diff --git a/init.d/misc/libs.el b/init.d/misc/libs.el new file mode 100644 index 0000000..7559b74 --- /dev/null +++ b/init.d/misc/libs.el @@ -0,0 +1,11 @@ +;;; libs.el --- Libraries -*- lexical-binding: t; -*- + +;;; Commentary: +;;; Code: + +;; Functions to manipulate colors, including RGB hex strings. +(use-package hexrgb + :commands (hexrgb-increment-equal-rgb)) + +(provide 'misc/libs) +;;; libs.el ends here diff --git a/init.el b/init.el index 16133b0..2a03dcc 100644 --- a/init.el +++ b/init.el @@ -1,6 +1,6 @@ ;;; init.el --- tastytea's Emacs init file. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-05-29T17:22:23+0200> +;; Time-stamp: <2020-06-02T15:07:00+0200> ;;; Commentary: ;; Requires at least Emacs 26. @@ -34,6 +34,7 @@ (require 'misc/documentation) (require 'misc/email) (require 'misc/misc) +(require 'misc/libs) (require 'programming/common) (require 'programming/lsp)