From 65f6036a359a200e1f57a8c646696f5a7de7603b Mon Sep 17 00:00:00 2001 From: Blendoit Date: Sat, 7 Nov 2020 21:33:19 -0800 Subject: Trying to get `header-line-format' right. --- custom.el | 4 +-- smart-documents.org | 63 ++++++++++++++++------------------------- smart-documents.pdf | Bin 255818 -> 257463 bytes themes/blendoit-light-theme.el | 27 +++++++++--------- 4 files changed, 40 insertions(+), 54 deletions(-) diff --git a/custom.el b/custom.el index 3708c2c..1b53fa9 100644 --- a/custom.el +++ b/custom.el @@ -15,7 +15,7 @@ '(company-quickhelp-color-foreground "#DCDCCC") '(custom-enabled-themes nil) '(custom-safe-themes - '("95d9ebc003d2b41dce57c8a041d2fa5cc491ea239cbb8f14b04f77b86c971a50" "438eb17cf6540064f18b637e72d1d78f2df20dbbcc67ad67d2c6223eae23ff22" "778e41ae5e76bd91f457ce36244e6216a3f69b1cad236b0181eece15126f33cb" "e0577b022b2c27c558e1bb0cf1f56be92447b6d090865fd5e61be7f2245ac3b0" "ec6717222f527932ca0c00f54a77f6b1f0e9f81907bbb5bf338903608b1300a5" "2f35de225ab5e3ac7deea3f04b651ba579bdd6fa868502d0697938aa861909df" "98a8aeac4cd2648def2bb6fad797386c4bb05b2ee7cbe3a159b70fd68c51b2bf" "8404572e02baf9edb07cd902bf4ffb106e6996d2bc2f6a32e8058246f0d58850" "bfd4c07f80d3728cef2788018f4b045c17036b186e80055a01411ab4d69bb63e" "3edf9758c11e033496ff39fc699c4695d8a8e82f4d90af1be9b75de2d5106f02" "e5bdcd5a2822d56add3cb9928bd3a092ddb678c6588bf9dc3f34acd6bf24d781" "eacdea86fda91bba189912a6264450ecff73a95350a6e568324a673d9e8b0f16" "caaf410113356a930620a9e945994694c7834927669cb96083e7d94de8807f08" "3bfaf89f737e52e2500ed632428ce5d6e2dc399edef16d5dcd0c2c9606ed97d1" "187dedddb0f12642ef312de2a4ffadf6397747f0743bad6f6872f068129f0613" "b28fe360b938be2211f3525fa95f0ecfbb2759031ae66d2241207e86de83e951" "55e87047e7428fbd710f29f71a495a1bb3ea73f1b9b4c10def334838e3705c7b" "25e7750ab75809e94756b7039f83c65478a1ef895220dedda6b3f327df9fca65" "9760950e1c151f97b8ed0321c8577f216e1e6c09454c940e5d0f53255586c6f4" "0f350253da94e9a06abfdd48fe892f4e42da3b3d543bb1da62b5f415e29546cc" "6e69643e2c21e28b2e9d169fad1d4b149e191b836faf26541c3a7af8da920728" "3fa3799babafb468bbb17c6946bd5c831dbf32b3ac9b22d92f27188c1aee6057" "93b390eae98d60e363af65188220cc0b7fd8813ffca85915708a14661d3f79a7" "9397d802c0ce3108b13d2f23b579296ae63919f32a6436b8f2ec6d0d1b7853c1" "7999805b40f3dc59bda5822ae5f773e9ab6b9fe69931efc9265c083490c60dfc" "28aaafce20205c00c1c5afcd59d9553a621570f74d7ea4214d073a488bf4619c" "ee2934f60c0193ed7ac95a213ae90dba1504b9fc8bb20f54f4876d073f710844" "79ddf9c24ff10afdeeb2778f56c900f329e5b405d234d783cea67730f4a20c17" "dd6543577ed3e750b830635a7c2071343c8cd4b624f00b7e3470c9233fdc2252" "e5511d44e3a5c6a5039999cab6bd2696fddfe1e7f6500f2846b0c0a6b8c4f9e7" "8bc595fa3d4cde8770ec075aa939bff9ba28f3e70fe34292a43e22690bc63c76" "ab538dce25085abac8ab09b184e9cef8273082a1b2a792f1bf1bf08ecc30056a" "0326fd263f840b21da906e36c54976e211cfcc252800e6ee7dad4a7eb5a3e819" "77dfce3ef0bdf852a7a1b3527aa384c3c895eec7792a68c2d694b7341364da26" "1692d3b1f4bf5c6c55dd090d6a10c613c0b213510892ae305c1f2518cb1a3ab3" "7ddce903be67800840ef2660310123e2ee11c8ec716ac54333d961307389ccde" "95ea953c58a6510531acf2231d9bddad92015214dce68e8ffe216b51237a3a5f" "47ff07593ae6fc4069b49ee32b0f7422239ad3b6619dc37358b9e76c4b014e81" "8a7a94e776727c6ff6ac14ae88826281eea80c687ffee71a8b188e415b737525" "566f33a94ac1f29db041d55a22fb677b1f9abd02a3ea529ac2b67b93624247ac" "bac014130231bcb21409a5ba0368ae6a437d36cb3cd710a814c2b8399dacd0a3" "3db2664cf7a2f3ca8add66736e8b432ad7aed88159c74dc220ffdc0580d37ffa" "41d8c624783c3bf1624ac595936a6968fbd7297ffdc40a0c9b080fa750027df0" "abf6e5f8aa2af79ac329a7bfcac3111dab0025ce3eaea24e424fb9e3e77e1162" "6dd0e1980e88c5bc5c4c9ab1e8b16b13287a4fa5a2e11970c0d26dfbcf2d62f3" "e479b796a220addcd20678fbb95018e4945ca574ba9900b54d107ed1569c704c" "46d1602c1e28e6223fec2bcd008312bc57a08e5ccc8c2ac35c40e6a5d2a20244" "57c9cc95433eb236e74a3b501d3bebb2716e1988cf633c47384d33d8a83a7940" "1229a1fe390f71ddeec71efd61129af285d032364a1957f9954845a6c5f617a1" "42350b596ca9d6a283ce13efb9bbb7774064d917e04ea3220ebf32b95a677d60" "07b0edb4d75390504029f7905ca8add46af2c8bb13cec46efb0d880de014464c" "884b3999dfeff6d4f45859239a46b84399ab1b3602dd2ee6d11f3a3e39fe088d" "0c5c0078062fafd063a227b4cebb49b65434ea6e9557e3aaf8bc3212ba986512" "469032293efae7c0c86a95c39cab8b0ff8883cf4af3f2c292313cf6a71195b40" "8fb0949f4229860cf19034b924eb99c664327c9250fb92a2633bdf4b4abaf060" "c3a2a37e84e474c73c2b468553f9b5b73341419f72bbc1f4a4bcc1230ef86c85" "6495716176be0ced4142593b94a410135e0b373b686a869637824260d2f1ca11" "4467b1c8d7cc78fe98345c9c63eb62cf37844dc6868630add365494bde455715" "faeef63cb31f796b4bdf22f38e614934ab34d7deacaeb89b3e9cccf70aac5a85" "370fb305168fea1614535dc9ca30f496918eaca754b6c8969dd77fa872bec695" "e9f0c0c3397d07eb1c6c3551d67fd151e24bc6d72ec678841623ed572677c97a" "5c32236ef318adafe4102f627f330fa8f448046dfd838eef5cc09c7f682cf71f" "e343fecfb8d681186d594002c9b44ce48c2061599d7e4ec635cf1ca2a277a47a" "302dc61dc55600c7424f945dce9e74fba7df19f4a7bfb72aefd93193fa82ede4" "58f1f85248ba913387d1e7ed02a867161b315cfb5acff0c234e013ffd2577d22" "a256abf590bbc3257cc11d91a312e9fe8487dc1b95a5b7b732dd2f96a7fe5a45" "30368d6195cae9298304e6ac0534b90c85b1655965f1206c5c624270f0f46002" "311aa5df3223b5b4a7c638aad3befb4de9c7f46360d52acd1fa2cd2232b1dcbd" default)) + '("64e58ce36d361c8c0ba0fdaabd491f6d54828a1c4003bf5c7b85d1fa5e0a191f" "2c485aebc587aceca2cea4958381bdba92b9e974edb8ce8fbcde69399d9c45b0" "b0c4d8a7f261d7897373ec3b39fce87eaeeff278438ddbae5776fa9df4e550d1" "e85674d358ab59d5e14ba769bca4a58f267838a24f1285f53eab231d00671d1d" "2d32d272e79fd9b06855a26eedfbe8a1ff2c58a68219aa3fda6afb1c5094e6a4" "eb904e8bfc363aa8a342604329edd62f2b2effbb345941aa68448b50c26e3083" "57e8e75716473cb3234b52ef469c35ade301e4c928d53a21236b6c0a2bfda044" "2dd3f3f6397fb640c4ce13dfd9843a67ce32f329458f7d3e728d301bf7538c96" "a90216962b4117ecf26f1de9c87c995b2e0534a5a18565137f0bc0c38a454de4" "b60f26dbf84b1c93449cb65d6b61fbbc275d193739da66de1be1d0ba52996f1e" "d83c2da10ecbcc3d88f7f175741f5ba4ded9501bd87af69d3728cf8b02d98b17" "f272e2a066f881384f30cddc0be4067b36250fbfaf4a35a768327373e5b4a6f9" "bcfd4a063a9d86ad2a20c4ba8666738a332b1ffda8c6bb9c1ef951d27836dfa2" "a385bb05d1cbdfa62d01afbd7b67a6354c4f6d2ff5190ae4061d720bb5584524" "797fc9c1f596603b8559566dffcdd32b265b95f66db11c80cf819c9e764ccf1a" "95d9ebc003d2b41dce57c8a041d2fa5cc491ea239cbb8f14b04f77b86c971a50" "438eb17cf6540064f18b637e72d1d78f2df20dbbcc67ad67d2c6223eae23ff22" "778e41ae5e76bd91f457ce36244e6216a3f69b1cad236b0181eece15126f33cb" "e0577b022b2c27c558e1bb0cf1f56be92447b6d090865fd5e61be7f2245ac3b0" "ec6717222f527932ca0c00f54a77f6b1f0e9f81907bbb5bf338903608b1300a5" "2f35de225ab5e3ac7deea3f04b651ba579bdd6fa868502d0697938aa861909df" "98a8aeac4cd2648def2bb6fad797386c4bb05b2ee7cbe3a159b70fd68c51b2bf" "8404572e02baf9edb07cd902bf4ffb106e6996d2bc2f6a32e8058246f0d58850" "bfd4c07f80d3728cef2788018f4b045c17036b186e80055a01411ab4d69bb63e" "3edf9758c11e033496ff39fc699c4695d8a8e82f4d90af1be9b75de2d5106f02" "e5bdcd5a2822d56add3cb9928bd3a092ddb678c6588bf9dc3f34acd6bf24d781" "eacdea86fda91bba189912a6264450ecff73a95350a6e568324a673d9e8b0f16" "caaf410113356a930620a9e945994694c7834927669cb96083e7d94de8807f08" "3bfaf89f737e52e2500ed632428ce5d6e2dc399edef16d5dcd0c2c9606ed97d1" "187dedddb0f12642ef312de2a4ffadf6397747f0743bad6f6872f068129f0613" "b28fe360b938be2211f3525fa95f0ecfbb2759031ae66d2241207e86de83e951" "55e87047e7428fbd710f29f71a495a1bb3ea73f1b9b4c10def334838e3705c7b" "25e7750ab75809e94756b7039f83c65478a1ef895220dedda6b3f327df9fca65" "9760950e1c151f97b8ed0321c8577f216e1e6c09454c940e5d0f53255586c6f4" "0f350253da94e9a06abfdd48fe892f4e42da3b3d543bb1da62b5f415e29546cc" "6e69643e2c21e28b2e9d169fad1d4b149e191b836faf26541c3a7af8da920728" "3fa3799babafb468bbb17c6946bd5c831dbf32b3ac9b22d92f27188c1aee6057" "93b390eae98d60e363af65188220cc0b7fd8813ffca85915708a14661d3f79a7" "9397d802c0ce3108b13d2f23b579296ae63919f32a6436b8f2ec6d0d1b7853c1" "7999805b40f3dc59bda5822ae5f773e9ab6b9fe69931efc9265c083490c60dfc" "28aaafce20205c00c1c5afcd59d9553a621570f74d7ea4214d073a488bf4619c" "ee2934f60c0193ed7ac95a213ae90dba1504b9fc8bb20f54f4876d073f710844" "79ddf9c24ff10afdeeb2778f56c900f329e5b405d234d783cea67730f4a20c17" "dd6543577ed3e750b830635a7c2071343c8cd4b624f00b7e3470c9233fdc2252" "e5511d44e3a5c6a5039999cab6bd2696fddfe1e7f6500f2846b0c0a6b8c4f9e7" "8bc595fa3d4cde8770ec075aa939bff9ba28f3e70fe34292a43e22690bc63c76" "ab538dce25085abac8ab09b184e9cef8273082a1b2a792f1bf1bf08ecc30056a" "0326fd263f840b21da906e36c54976e211cfcc252800e6ee7dad4a7eb5a3e819" "77dfce3ef0bdf852a7a1b3527aa384c3c895eec7792a68c2d694b7341364da26" "1692d3b1f4bf5c6c55dd090d6a10c613c0b213510892ae305c1f2518cb1a3ab3" "7ddce903be67800840ef2660310123e2ee11c8ec716ac54333d961307389ccde" "95ea953c58a6510531acf2231d9bddad92015214dce68e8ffe216b51237a3a5f" "47ff07593ae6fc4069b49ee32b0f7422239ad3b6619dc37358b9e76c4b014e81" "8a7a94e776727c6ff6ac14ae88826281eea80c687ffee71a8b188e415b737525" "566f33a94ac1f29db041d55a22fb677b1f9abd02a3ea529ac2b67b93624247ac" "bac014130231bcb21409a5ba0368ae6a437d36cb3cd710a814c2b8399dacd0a3" "3db2664cf7a2f3ca8add66736e8b432ad7aed88159c74dc220ffdc0580d37ffa" "41d8c624783c3bf1624ac595936a6968fbd7297ffdc40a0c9b080fa750027df0" "abf6e5f8aa2af79ac329a7bfcac3111dab0025ce3eaea24e424fb9e3e77e1162" "6dd0e1980e88c5bc5c4c9ab1e8b16b13287a4fa5a2e11970c0d26dfbcf2d62f3" "e479b796a220addcd20678fbb95018e4945ca574ba9900b54d107ed1569c704c" "46d1602c1e28e6223fec2bcd008312bc57a08e5ccc8c2ac35c40e6a5d2a20244" "57c9cc95433eb236e74a3b501d3bebb2716e1988cf633c47384d33d8a83a7940" "1229a1fe390f71ddeec71efd61129af285d032364a1957f9954845a6c5f617a1" "42350b596ca9d6a283ce13efb9bbb7774064d917e04ea3220ebf32b95a677d60" "07b0edb4d75390504029f7905ca8add46af2c8bb13cec46efb0d880de014464c" "884b3999dfeff6d4f45859239a46b84399ab1b3602dd2ee6d11f3a3e39fe088d" "0c5c0078062fafd063a227b4cebb49b65434ea6e9557e3aaf8bc3212ba986512" "469032293efae7c0c86a95c39cab8b0ff8883cf4af3f2c292313cf6a71195b40" "8fb0949f4229860cf19034b924eb99c664327c9250fb92a2633bdf4b4abaf060" "c3a2a37e84e474c73c2b468553f9b5b73341419f72bbc1f4a4bcc1230ef86c85" "6495716176be0ced4142593b94a410135e0b373b686a869637824260d2f1ca11" "4467b1c8d7cc78fe98345c9c63eb62cf37844dc6868630add365494bde455715" "faeef63cb31f796b4bdf22f38e614934ab34d7deacaeb89b3e9cccf70aac5a85" "370fb305168fea1614535dc9ca30f496918eaca754b6c8969dd77fa872bec695" "e9f0c0c3397d07eb1c6c3551d67fd151e24bc6d72ec678841623ed572677c97a" "5c32236ef318adafe4102f627f330fa8f448046dfd838eef5cc09c7f682cf71f" "e343fecfb8d681186d594002c9b44ce48c2061599d7e4ec635cf1ca2a277a47a" "302dc61dc55600c7424f945dce9e74fba7df19f4a7bfb72aefd93193fa82ede4" "58f1f85248ba913387d1e7ed02a867161b315cfb5acff0c234e013ffd2577d22" "a256abf590bbc3257cc11d91a312e9fe8487dc1b95a5b7b732dd2f96a7fe5a45" "30368d6195cae9298304e6ac0534b90c85b1655965f1206c5c624270f0f46002" "311aa5df3223b5b4a7c638aad3befb4de9c7f46360d52acd1fa2cd2232b1dcbd" default)) '(electric-indent-mode t) '(fci-rule-color "#383838") '(fringe-mode 0 nil (fringe)) @@ -32,7 +32,7 @@ '(org-log-done-with-time nil) '(org-startup-align-all-tables t) '(package-selected-packages - '(semantic-refactor org-pretty-table mode-icons dashboard undo-tree hungry-delete smooth-scroll smooth-scrolling delight yasnippet-snippets yasnippet org-sticky-header awesome-tab tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init)) + '(olivetti semantic-refactor org-pretty-table mode-icons dashboard undo-tree hungry-delete smooth-scroll smooth-scrolling delight yasnippet-snippets yasnippet org-sticky-header awesome-tab tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init)) '(pdf-view-midnight-colors '("#DCDCCC" . "#383838")) '(save-place-mode t) '(send-mail-function 'smtpmail-send-it) diff --git a/smart-documents.org b/smart-documents.org index 9d10803..972cc5d 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -52,7 +52,7 @@ paper within Emacs itself: You can always press ~f1~ to access Emacs built-in help. -* TODO First-time setup +* First-time setup The following code blocks are normally evaluated once---upon starting Emacs for the first time. @@ -525,7 +525,7 @@ We prevent Org mode from overriding preferred navigation keys. (global-set-key (kbd "C-c f") 'customize-face) #+END_SRC -** TODO One-click workflows +** One-click workflows A major advantage of the Emacs document production system: arbitrarily complicated functions can be assigned to very simple keybindings. This means we @@ -847,6 +847,10 @@ We replace the standard welcome screen with our own. #+END_SRC *** Sidebar +:PROPERTIES: +:sd-unpack-path: sd-sidebar.el +:END: + Get inspiration from ~ibuffer-sidebar~ and create a better sidebar. #+BEGIN_SRC emacs-lisp :tangle yes @@ -855,14 +859,6 @@ Get inspiration from ~ibuffer-sidebar~ and create a better sidebar. (message "Foobius Peter.")) #+END_SRC -# *** Icons - -# Icon fonts - -# #+BEGIN_SRC emacs-lisp :tangle yes -# (use-package all-the-icons) -# #+END_SRC - *** Better parentheses #+BEGIN_SRC emacs-lisp :tangle yes @@ -971,19 +967,22 @@ properties]]). *** Document properties -#+BEGIN_SRC emacs-lisp :tangle no +#+BEGIN_SRC emacs-lisp :tangle yes (defun org-property-value (property) "Return the value of a given Org document property." +(interactive) (save-excursion (goto-char (point-min)) - (when (re-search-forward + (re-search-forward (concat "^[[:space:]]*#\\+" property ":[[:space:]]*\\(.*?\\)[[:space:]]*$") nil t) - (match-string 1)))) +(nth 3 (car (cdr (org-element-at-point)))))) +#+END_SRC +#+BEGIN_SRC emacs-lisp :tangle no (defun sd-document-properties () "Open separate buffer to edit Org mode properties." (interactive) @@ -994,9 +993,6 @@ properties]]). (print date)))) #+END_SRC -#+RESULTS: -: sd-document-properties - #+BEGIN_SRC emacs-lisp :tangle yes (add-hook 'org-src-mode-hook '(lambda () @@ -1197,7 +1193,7 @@ This reimplements the most common Org mode export: Org \rightarrow LaTeX (org-open-file (org-latex-export-to-pdf))) #+END_SRC -** TODO Beautify buffer +** Beautify buffer Binding defined in Section [[Indent buffer]]. @@ -1216,6 +1212,7 @@ Binding defined in Section [[Indent buffer]]. (when (eq major-mode 'org-mode) (sd-indent-buffer))) #+END_SRC + * Editing preferences These customizations enhance editor usability. They also encompass cosmetic @@ -1255,11 +1252,13 @@ portions of the header and mode line. #+NAME: sd-line-render #+BEGIN_SRC emacs-lisp :tangle yes -(defun sd-line-render (left right) - "Return a string of `window-width' length - containing LEFT, and RIGHT aligned respectively." - (let* ((available-width (- (window-width) (length left) 3))) - (format (format " %%s %%%ds " available-width) left right))) + (defun sd-line-render (left right) + "Return a string of `window-width' length + containing LEFT, and RIGHT aligned respectively." + (let ((available-width (- (window-total-width) + (+ (length (format-mode-line left)) + (length (format-mode-line right)))))) + (format (format " %%s %%%ds " available-width) left right))) #+END_SRC **** TODO Header line @@ -1267,25 +1266,14 @@ portions of the header and mode line. In Org mode, the document header line will be the title of the document we are working on currently. -#+BEGIN_SRC emacs-lisp :tangle yes - (defun sd-title () - "Find the #+TITLE property of the SD." - (interactive) - (save-excursion - (goto-char (point-min)) - (when (re-search-forward - "^[[:space:]]*#\\+TITLE:[[:space:]]*\\(.*?\\)[[:space:]]*$" - nil t) - (match-string 1)))) +todo unfontify org-document-title. +#+BEGIN_SRC emacs-lisp :tangle yes (add-hook 'org-mode-hook (lambda () "Set the header line to show #+TITLE and section name." (setq header-line-format - '(:eval - (sd-line-render - (sd-title) - (nth 4 (org-heading-components))))))) + '(:eval (org-property-value "TITLE"))))) #+END_SRC **** Mode line @@ -1358,8 +1346,7 @@ checkbox lists. (push '("[ ]" . "○") prettify-symbols-alist) ; Unchecked item (push '("[X]" . "◉" ) prettify-symbols-alist) ; Checked item (push '("[-]" . "◎" ) prettify-symbols-alist) ; Partially checked item - (push '("TODO" . "☐" ) prettify-symbols-alist) ; TODO headings - (push '("DONE" . "☑" ) prettify-symbols-alist) ; DONE headings + (push '("-" . "⁃" ) prettify-symbols-alist) ; DONE headings (prettify-symbols-mode)))) #+END_SRC diff --git a/smart-documents.pdf b/smart-documents.pdf index 83afcdc..ddb3a56 100644 Binary files a/smart-documents.pdf and b/smart-documents.pdf differ diff --git a/themes/blendoit-light-theme.el b/themes/blendoit-light-theme.el index 8b2836d..6a0b1b7 100644 --- a/themes/blendoit-light-theme.el +++ b/themes/blendoit-light-theme.el @@ -29,13 +29,13 @@ '(font-lock-variable-name-face ((t (:foreground "sienna")))) '(font-lock-warning-face ((t (:inherit (error))))) '(fringe ((t (:background "grey95")))) - '(header-line ((t (:weight semi-bold :height 1.4 :family "Jost*")))) + '(header-line ((t (:weight extra-bold :height 2.0 :family "Jost*")))) '(tooltip ((t (:inherit variable-pitch :background "lightyellow" :foreground "black")))) - '(mode-line ((t (:box (:line-width -1 :style released-button) :foreground "white" :background "steel blue" :height 1.2 :family "Hack")))) + '(mode-line ((t (:family "Hermit" :background "steel blue" :foreground "white" :box (:line-width -1 :style released-button))))) '(mode-line-buffer-id ((t (:weight bold)))) '(mode-line-emphasis ((t (:weight bold)))) '(mode-line-highlight ((t (:box (:line-width 2 :color "grey40" :style released-button))))) - '(mode-line-inactive ((t (:box (:line-width -1 :color "gainsboro") :foreground "gainsboro" :background "SteelBlue4" :height 1.2 :family "Hermit")))) + '(mode-line-inactive ((t (:family "Hermit" :background "SteelBlue4" :foreground "gainsboro" :box (:line-width -1 :color "gainsboro"))))) '(isearch ((t (:background "DodgerBlue1" :foreground "white")))) '(isearch-fail ((t (:background "RosyBrown1")))) '(lazy-highlight ((t (:foreground "DodgerBlue1" :box 2)))) @@ -57,11 +57,11 @@ '(org-document-info-keyword ((t (:inherit org-meta-line)))) '(org-code ((t (:background "light grey" :foreground "black" :height 0.9 :family "Hack")))) '(org-verbatim ((t (:foreground "DodgerBlue1" :height 0.9 :foundry "Hack")))) - '(font-lock-doc-face ((t (:foreground "black" :height 1.1 :inherit variable-pitch)))) + '(font-lock-doc-face ((t (:inherit variable-pitch :foreground "black")))) '(org-document-info ((t (:weight bold)))) '(org-table ((t (:height 0.8 :family "Hack")))) - '(org-block ((t (:inherit fixed-pitch :background "smoke" :foreground "light slate blue" :height 0.8)))) - '(org-special-keyword ((t (:inherit org-meta-line :weight bold :background "white")))) + '(org-block ((t (:foreground "light slate blue" :background "smoke" :inherit fixed-pitch)))) + '(org-special-keyword ((t (:background "white" :weight bold :inherit org-meta-line)))) '(org-level-1 ((t (:weight bold :height 1.6 :family "Jost*")))) '(org-level-2 ((t (:weight bold :height 1.4)))) '(org-level-3 ((t (:weight bold :height 1.2)))) @@ -70,18 +70,17 @@ '(org-level-6 ((t (:inherit org-level-5)))) '(org-level-7 ((t (:inherit org-level-5)))) '(org-level-8 ((t (:inherit org-level-5)))) - '(org-checkbox ((t (:inherit org-meta-line :weight bold)))) - '(org-date ((t (:inherit link)))) + '(org-checkbox ((t (:weight bold :inherit org-meta-line)))) + '(org-date ((t (:inherit link : nil)))) '(Info-quoted ((t (:inherit org-block)))) '(org-priority ((t (:inherit org-meta-line)))) '(org-drawer ((t (:inherit org-meta-line)))) - '(tab-line ((t (:background "gainsboro" :family "Hack")))) '(org-quote ((t (:inherit variable-pitch :slant italic)))) '(org-ellipsis ((t (:inherit shadow :background "white")))) - '(org-footnote ((t (:inherit link)))) - '(org-todo ((t (:inherit org-checkbox)))) - '(org-done ((t (:inherit org-checkbox)))) - '(default ((t (:background "white" :foreground "black" :height 140 :family "Hack")))) - '(git-commit-summary ((t (:inherit varialbe-pitch))))) + '(org-footnote ((t (:inherit (link variable-font))))) + '(org-todo ((t (:background "coral" :foreground "white" :weight bold :height 1.2 :family "Hermit")))) + '(org-done ((t (:background "forest green" :foreground "white" :weight bold :height 1.2 :family "hermit")))) + '(link ((t (:foreground "RoyalBlue3" :underline "RoyalBlue3" :family "Hack")))) + '(default ((t (:background "white" :foreground "black" :height 140 :family "Hack"))))) (provide-theme 'blendoit-light) -- cgit v1.2.3