diff options
author | ThanosApollo <[email protected]> | 2022-10-11 07:23:38 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-11 07:23:38 +0300 |
commit | 9c7b18e2958de74066a6af1ce38fba04d82607c8 (patch) | |
tree | a859f02629ca708469c626383f9379eaf75ef8f9 /.config/doom | |
parent | 597ea11c783a9ab3dd4097fe6392f98e330c7019 (diff) |
Change font size,theme,org-dir, add monokai pro
Diffstat (limited to '.config/doom')
-rw-r--r-- | .config/doom/config.el | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el index 6c7040b..cf386f8 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -19,7 +19,7 @@ ;; See 'C-h v doom-font' for documentation and more examples of what they ;; accept. For example: ;; -(setq doom-font (font-spec :family "JetBrains Mono" :size 13) +(setq doom-font (font-spec :family "JetBrains Mono" :size 15) doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15) doom-big-font (font-spec :family "JetBrains Mono" :size 24)) (after! doom-themes @@ -36,7 +36,7 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-one) +(setq doom-theme 'doom-vibrant) (setq modus-themes-mode-line '(accented boarderless)) (setq modus-themes-region '(bg-only)) @@ -52,7 +52,6 @@ ;; If you use `org' and don't want your org files in the default location below, ;; change `org-directory'. It must be set before org loads! -(setq org-directory "~/Med") ;; Whenever you reconfigure a package, make sure to wrap your config in an @@ -252,11 +251,11 @@ '(javascript-jshint json-jsonlist))) (after! org - (setq org-directory "~/nc/Org/" - org-agenda-files '("~/nc/Org/agenda.org") + (setq org-directory "~/Org/" + org-agenda-files '("~/Org/agenda.org") org-default-notes-file (expand-file-name "notes.org" org-directory) org-ellipsis " ▼ " - org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆") + org-superstar-headline-bullets-list '("◉" "●" "✶" "◆" "●" "○" "◆") org-superstar-itembullet-alist '((?+ . ?➤) (?- . ?✦)) ; changes +/- symbols in item lists org-log-done 'time org-hide-emphasis-markers t @@ -281,20 +280,37 @@ "CANCELLED(c)" )))) ; Task has been cancelled (defun apollo/org-colors-primary () - "My custom org colors" + "My custom org colors for doom themes" (interactive) (dolist (face '((org-level-1 1.70 "#51afef" ultra-bold) - (org-level-2 1.55 "#51afef" extra-bold) + (org-level-2 1.55 "#7FBCD2" extra-bold) (org-level-3 1.40 "#da8548" bold) (org-level-4 1.20 "#da8548" semi-bold) (org-level-5 1.20 "#5699af" normal) (org-level-6 1.20 "#a9a1e1" normal) (org-level-7 1.10 "#46d9ff" normal) (org-level-8 1.00 "#ff6c6b" normal))) - (set-face-attribute (nth 0 face) nil :font doom-font :height (nth 1 face) :foreground (nth 2 face))) + (set-face-attribute (nth 0 face) nil :font doom-font :weight (nth 3 face) :height (nth 1 face) :foreground (nth 2 face))) (set-face-attribute 'org-table nil :font doom-font :weight 'normal :height 1.0 :foreground "#A66CFF" )) +(defun apollo/org-colors-monokai-pro () + "Enable Monokai Pro colors for Org headers." + (interactive) + (dolist + (face + '((org-level-1 1.7 "#78dce8" ultra-bold) + (org-level-2 1.6 "#ab9df2" extra-bold) + (org-level-3 1.5 "#a9dc76" bold) + (org-level-4 1.4 "#fc9867" semi-bold) + (org-level-5 1.3 "#ff6188" normal) + (org-level-6 1.2 "#ffd866" normal) + (org-level-7 1.1 "#78dce8" normal) + (org-level-8 1.0 "#ab9df2" normal))) + (set-face-attribute (nth 0 face) nil :font doom-variable-pitch-font :weight (nth 3 face) :height (nth 1 face) :foreground (nth 2 face))) + (set-face-attribute 'org-table nil :font doom-font :weight 'normal :height 1.0 :foreground "#bfafdf")) + (apollo/org-colors-primary) + |