aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-07-10 22:19:49 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-07-10 22:19:49 -0400
commit3c4cecc604e839bb2644437a14ed4089dcd3ec02 (patch)
tree0c0ce1466a295368ec09899a751f0e5c742990f2 /init.el
parentPrettify `org-mode` a bit and enable use of LaTeX for math formulas (diff)
downloadmmosmacs-3c4cecc604e839bb2644437a14ed4089dcd3ec02.tar.gz
mmosmacs-3c4cecc604e839bb2644437a14ed4089dcd3ec02.tar.bz2
mmosmacs-3c4cecc604e839bb2644437a14ed4089dcd3ec02.zip
Make `pdf-view-midnight-colors` match Emacs theme
Diffstat (limited to 'init.el')
-rw-r--r--init.el13
1 files changed, 12 insertions, 1 deletions
diff --git a/init.el b/init.el
index a9bc4b3..8cd09b9 100644
--- a/init.el
+++ b/init.el
@@ -740,8 +740,19 @@
740;; Stuff for working with PDF files 740;; Stuff for working with PDF files
741;; --------------------------------- 741;; ---------------------------------
742 742
743(defvar mm/pdf-view-midnight-foreground (face-attribute 'default :foreground)
744 "FOREGROUND to be used by `pdf-view-midnight-colors'.")
745
746(defvar mm/pdf-view-midnight-background (face-attribute 'default :background)
747 "BACKGROUND to be used by `pdf-view-midnight-colors'.")
748
743(use-package pdf-tools 749(use-package pdf-tools
744 :straight t) 750 :straight t
751 :config
752 (setq pdf-view-use-scaling nil
753 doc-view-resolution 144
754 pdf-view-midnight-colors
755 `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background)))
745 756
746 757
747 758