├── readme.md ├── rose-pine-dawn-theme.el ├── rose-pine-color-theme.el └── rose-pine-moon-theme.el /readme.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

Rosé Pine for Emacs

4 |

5 | 6 |

All natural pine, faux fur and a bit of soho vibes for the classy minimalist

7 | 8 |

9 | 10 | 11 | 12 |

13 | 14 | ## Usage 15 | 16 | ### Installing with [straight.el](https://github.com/raxod502/straight.el) 17 | ```elisp 18 | (use-package autothemer :ensure t) 19 | 20 | (straight-use-package 21 | '(rose-pine-emacs 22 | :host github 23 | :repo "thongpv87/rose-pine-emacs" 24 | :branch "master")) 25 | (load-theme 'rose-pine-{color-moon-dawn} t) 26 | ``` 27 | 28 | ### Dependencies 29 | 30 | - [autothemer.el](https://github.com/jasonm23/autothemer) lovely emacs package to make themes easier :relaxed: 31 | 32 | ## Gallery 33 | 34 | > Tip: We use [nano-emacs](https://github.com/rougier/nano-emacs) to make our lovely previews 35 | 36 | **Base variant** 37 | 38 | ![Rosé Pine](https://i.imgur.com/JBkPnHi.png) 39 | 40 | **Moon variant** 41 | 42 | ![Rosé Pine Moon](https://cdn.discordapp.com/attachments/743573851685912629/806320126978162708/unknown.png) 43 | 44 | **Dawn variant** 45 | 46 | ![Rosé Pine Dawn](https://cdn.discordapp.com/attachments/743573851685912629/806320359217168424/unknown.png) 47 | 48 | ## Thanks to 49 | 50 | - [Caelie](https://github.com/Caelie) 51 | -------------------------------------------------------------------------------- /rose-pine-dawn-theme.el: -------------------------------------------------------------------------------- 1 | ;;; rose-pine-dawn-theme.el --- All natural pine, faux fur and a bit of soho vibes for the classy minimalist. 2 | 3 | ;; Authors: Israel Romero <@caelie> 4 | ;; URL: http://github.com/caelie/rose-pine-emacs 5 | ;; Version: 0.2 6 | ;; Package-Requires: ((autothemer "0.2")) 7 | 8 | ;;; Commentary: 9 | ;; All natural pine, faux fur and a bit of soho vibes for the classy minimalist 10 | 11 | ;;; Uses Autothemer from 0.2 and is based on nano-emacs for the syntax highlighting 12 | 13 | ;;; Code: 14 | 15 | (require 'autothemer) 16 | 17 | (unless (>= emacs-major-version 26) 18 | (error "Requires Emacs 26 or later")) 19 | 20 | (autothemer-deftheme 21 | rose-pine-dawn "All natural pine, faux fur and a bit of soho vibes for the classy minimalist." 22 | 23 | ((((class color) (min-colors #xFFFFFF))) ;; GUI mode 24 | 25 | ;; Rose Pine Dawn 26 | (text "#575279") ;; foreground 27 | (base "#faf4ed") ;; background 28 | (high "#6e6a86") ;; highlight 29 | (love "#b4637a") ;; critical 30 | (iris "#907aa9") ;; salient 31 | (foam "#56949f") ;; strong 32 | (rose "#d7827e") ;; popout 33 | (subtle "#6e6a86") ;; subtle 34 | (faded "#cecaed") ;; faded 35 | (cursor "#286983")) ;; cursor 36 | 37 | 38 | ;; Faces 39 | ((default (:background base :foreground text)) 40 | 41 | ;; Structural 42 | (bold (:foreground foam)) 43 | (italic (:foreground faded)) 44 | (bold-italic (:foreground foam)) 45 | (region (:background subtle)) 46 | (highlight (:background subtle)) 47 | (fixed-pitch-serif (:foregrund foam)) 48 | (variable-pitch (:foregroud foam)) 49 | (cursor (:background cursor)) 50 | 51 | ;; Modeline 52 | (mode-line (:background base :foreground text)) 53 | (mode-line-inactive (:background base :foreground faded)) 54 | 55 | ;; Windows 56 | (window-divider (:background foam)) 57 | (window-divider-first-pixel (:foreground high)) 58 | (window-divider-last-pixel (:foreground high)) 59 | 60 | ;; Semantic 61 | (shadow (:foreground faded)) 62 | (success (:foreground iris)) 63 | (warning (:foreground rose)) 64 | (error (:foreground love)) 65 | (match (:foreground rose)) 66 | 67 | ;; General 68 | (buffer-menu-buffer (:foreground foam)) 69 | (minibuffer-prompt (:foreground foam)) 70 | (link (:foreground iris)) 71 | (fringe (:foreground faded)) 72 | 73 | (isearch (:foreground foam)) 74 | (isearch-fail (:foreground faded)) 75 | (lazy-highlight (:foreground subtle)) 76 | (trailing-whitespace (:foreground subtle)) 77 | (show-paren-match (:foreground rose)) 78 | (tooltip (:height 0.85)) 79 | (secondary-selection (:foreground subtle)) 80 | (completions-common-part (:foreground faded)) 81 | (completions-first-difference (:foreground rose)) 82 | 83 | 84 | ;; Programmation mode 85 | (font-lock-comment-face (:foreground faded)) 86 | (font-lock-doc-face (:foreground faded)) 87 | (font-lock-string-face (:foreground rose)) 88 | (font-lock-constant-face (:foreground iris)) 89 | (font-lock-warning-face (:foreground rose)) 90 | (font-lock-function-name-face (:foreground foam)) 91 | (font-lock-variable-name-face (:foreground foam)) 92 | (font-lock-builtin-face (:foreground iris)) 93 | (font-lock-type-face (:foreground iris)) 94 | (font-lock-keyword-face (:foreground iris)) 95 | 96 | ;; Highlight line mode 97 | (with-eval-after-load "hl-line" 98 | (set-face-attribute 'hl-line nil 99 | :background high)) 100 | 101 | ;; Buttons 102 | (with-eval-after-load "cus-edit" 103 | (set-face-attribute 'custom-button nil 104 | :foreground (face-foreground 'faded) 105 | :background (face-background 'default) 106 | :box `(:line-width 1 107 | :color ,(face-foreground 'faded) 108 | :style nil)) 109 | (set-face-attribute 'custom-button-mouse nil 110 | :foreground (face-foreground 'faded) 111 | :background (face-background 'subtle) 112 | :box `(:line-width 1 113 | :color ,(face-foreground 'faded) 114 | :style nil)) 115 | (set-face-attribute 'custom-button-pressed nil 116 | :foreground (face-background 'default) 117 | :background (face-foreground 'iris) 118 | :inherit 'iris 119 | :box `(:line-width 1 120 | :color ,(face-foreground 'iris) 121 | :style nil) 122 | :inverse-video nil)) 123 | 124 | ;; Documentation 125 | (with-eval-after-load "info" 126 | (info-menu-header (:foreground foam)) 127 | (info-header-node (:foreground text)) 128 | (info-index-match (:foreground iris)) 129 | (Info-quoted (:foreground faded)) 130 | (info-title-1 (:foreground foam)) 131 | (info-title-2 (:foreground foam)) 132 | (info-title-3 (:foreground foam)) 133 | (info-title-4 (:foreground foam))) 134 | 135 | ;; Bookmarks 136 | (with-eval-after-load "bookmark" 137 | (bookmark-menu-heading (:foreground foam)) 138 | (bookmark-menu-bookmark (:foreground iris))) 139 | 140 | ;; Message 141 | (with-eval-after-load "message" 142 | (message-cited-text (:foreground faded)) 143 | (message-cited-text-1 (:foreground faded)) 144 | (message-cited-text-2 (:foreground faded)) 145 | (message-cited-text-3 (:foreground faded)) 146 | (message-cited-text-4 (:foreground faded)) 147 | (message-header-cc (:foreground text)) 148 | (message-header-name (:foreground foam)) 149 | (message-header-newsgroups (:foreground text)) 150 | (message-header-other (:foreground text)) 151 | (message-header-subject (:foreground iris)) 152 | (message-header-to (:foreground iris)) 153 | (message-header-xheader (:foreground text)) 154 | (message-mml (:foreground rose)) 155 | (message-separator (:foreground faded))) 156 | 157 | ;; Outline 158 | (with-eval-after-load "outline" 159 | (outline-1 (:foreground foam)) 160 | (outline-2 (:foreground foam)) 161 | (outline-3 (:foreground foam)) 162 | (outline-4 (:foreground foam)) 163 | (outline-5 (:foreground foam)) 164 | (outline-6 (:foreground foam)) 165 | (outline-7 (:foreground foam)) 166 | (outline-8 (:foreground foam))) 167 | 168 | ;; Interface 169 | (with-eval-after-load "cus-edit" 170 | (widget-field (:foreground subtle)) 171 | (widget-button (:foreground foam)) 172 | (widget-single-line-field (:foreground subtle)) 173 | (custom-group-subtitle (:foreground foam)) 174 | (custom-group-tag (:foreground foam)) 175 | (custom-group-tag-1 (:foreground foam)) 176 | (custom-comment (:foreground faded)) 177 | (custom-comment-tag (:foreground faded)) 178 | (custom-changed (:foreground iris)) 179 | (custom-modified (:foreground iris)) 180 | (custom-face-tag (:foreground foam)) 181 | (custom-variable-tag (:foreground text)) 182 | (custom-invalid (:foreground love)) 183 | (custom-visibility (:foreground rose)) 184 | (custom-state (:foreground iris)) 185 | (custom-link (:foreground iris))) 186 | 187 | ;;Package 188 | (with-eval-after-load "package" 189 | (package-description (:foreground text)) 190 | (package-help-section-name (:foreground text)) 191 | (package-name (:foreground iris)) 192 | (package-status-avail-obso (:foreground faded)) 193 | (package-status-available (:foreground text)) 194 | (package-status-built-in (:foreground iris)) 195 | (package-status-dependency (:foreground iris)) 196 | (package-status-disabled (:foreground faded)) 197 | (package-status-external (:foreground text)) 198 | (package-status-held (:foreground text)) 199 | (package-status-incompat (:foreground faded)) 200 | (package-status-installed (:foreground iris)) 201 | (package-status-new (:foreground text)) 202 | (package-status-unsigned (:foreground text))) 203 | 204 | 205 | ;; Flyspell 206 | (with-eval-after-load "flyspell" 207 | (flyspell-duplicate (:foreground rose)) 208 | (flyspell-incorrect (:foreground rose))) 209 | 210 | ;; Ido 211 | (with-eval-after-load "ido" 212 | (ido-first-match (:foreground iris)) 213 | (ido-only-match (:foreground faded)) 214 | (ido-subdir (:foreground foam)) 215 | 216 | ;; Eros and Rainbow-delimiters 217 | (eros-result-overlay-face (:foreground text :background base)) 218 | (rainbow-delimiters-base-error-face (:foreground love :background base)) 219 | (rainbow-delimiters-depth-1-face (:foreground foam)) 220 | (rainbow-delimiters-depth-2-face (:foreground text)) 221 | (rainbow-delimiters-depth-3-face (:foreground text)) 222 | (rainbow-delimiters-depth-4-face (:foreground text)) 223 | (rainbow-delimiters-depth-5-face (:foreground text)) 224 | (rainbow-delimiters-depth-6-face (:foreground text)) 225 | (rainbow-delimiters-depth-7-face (:foreground text)) 226 | (rainbow-delimiters-depth-8-face (:foreground text)) 227 | (rainbow-delimiters-depth-9-face (:foreground text)) 228 | 229 | 230 | ;; Diff 231 | (with-eval-after-load "diff-mode" 232 | (diff-header (:foreground faded)) 233 | (diff-file-header (:foreground foam)) 234 | (diff-context (:foreground text))) 235 | (diff-removed (:foreground faded)) 236 | (diff-changed (:foreground rose)) 237 | (diff-added (:foreground iris)) 238 | (diff-refine-added (:background iris :foreground foam)) 239 | (set-face 'diff-refine-changed (:foreground rose)) 240 | (set-face 'diff-refine-removed (:foreground faded)) 241 | (set-face-attribute 'diff-refine-removed nil :strike-through t)) 242 | 243 | ;; Term 244 | (with-eval-after-load "term" 245 | (term-bold (:foreground foam)) 246 | (set-face-attribute 'term-color-black nil 247 | :foreground (face-foreground 'text) 248 | :background (face-foreground 'text)) 249 | (set-face-attribute 'term-color-white nil 250 | :foreground (face-background 'text) 251 | :background (face-background 'text)) 252 | (set-face-attribute 'term-color-blue nil 253 | :foreground "#31748f" 254 | :background "#3783a1") 255 | (set-face-attribute 'term-color-cyan nil 256 | :foreground "#9ccfd8" 257 | :background "#89c6d0") 258 | (set-face-attribute 'term-color-green nil 259 | :foreground "#706e86" 260 | :background "#7c7a92") 261 | (set-face-attribute 'term-color-magenta nil 262 | :foreground "#c4a7e7" 263 | :background "#b692e1") 264 | (set-face-attribute 'term-color-red nil 265 | :foreground "#eb6f92" 266 | :background "#ee85a2") 267 | (set-face-attribute 'term-color-yellow nil 268 | :foreground "#f6c177" 269 | :background "#f4b65f")) 270 | 271 | (with-eval-after-load "calendar" 272 | (calendar-today (:foreground foam))) 273 | 274 | 275 | 276 | ;; org-agenda 277 | (with-eval-after-load "org-agenda" 278 | (org-agenda-calendar-event (:foreground text)) 279 | (org-agenda-calendar-sexp (:foreground iris)) 280 | (org-agenda-clocking (:foreground faded)) 281 | (org-agenda-column-dateline (:foreground faded)) 282 | (org-agenda-current-time (:foreground foam)) 283 | (org-agenda-date (:foreground iris)) 284 | (org-agenda-date-today (:background foam :foreground iris)) 285 | (org-agenda-date-weekend (:foreground faded)) 286 | (org-agenda-diary (:foreground faded)) 287 | (org-agenda-dimmed-todo-face (:foreground faded)) 288 | (org-agenda-done (:foreground faded)) 289 | (org-agenda-filter-category (:foreground faded)) 290 | (org-agenda-filter-effort (:foreground faded)) 291 | (org-agenda-filter-regexp (:foreground faded)) 292 | (org-agenda-filter-tags (:foreground faded)) 293 | (org-agenda-restriction-lock (:foreground faded)) 294 | (org-agenda-structure (:foreground foam))) 295 | 296 | ;; org mode 297 | (with-eval-after-load "org" 298 | (org-archived (:foreground faded)) 299 | (org-block (:foreground faded)) 300 | (org-block-begin-line (:foreground faded)) 301 | (org-block-end-line (:foreground faded)) 302 | (org-checkbox (:foreground faded)) 303 | (org-checkbox-statistics-done (:foreground faded)) 304 | (org-checkbox-statistics-todo (:foreground faded)) 305 | (org-clock-overlay (:foreground faded)) 306 | (org-code (:foreground faded)) 307 | (org-column (:foreground faded)) 308 | (org-column-title (:foreground faded)) 309 | (org-date (:foreground faded)) 310 | (org-date-selected (:foreground faded)) 311 | (org-default (:foreground faded)) 312 | (org-document-info (:foreground faded)) 313 | (org-document-info-keyword (:foreground faded)) 314 | (org-document-title (:foreground faded)) 315 | (org-done (:foreground text)) 316 | (org-drawer (:foreground faded)) 317 | (org-ellipsis (:foreground faded)) 318 | (org-footnote (:foreground faded)) 319 | (org-formula (:foreground faded)) 320 | (org-headline-done (:foreground faded)) 321 | (org-latex-and-related (:foreground faded)) 322 | (org-level-1 (:foreground foam)) 323 | (org-level-2 (:foreground foam)) 324 | (org-level-3 (:foreground iris)) 325 | (org-level-4 (:foreground text)) 326 | (org-level-5 (:foreground text)) 327 | (org-level-6 (:foreground text)) 328 | (org-level-7 (:foreground text)) 329 | (org-level-8 (:foreground text)) 330 | (org-link (:foreground iris)) 331 | (org-list-dt (:foreground faded)) 332 | (org-macro (:foreground faded)) 333 | (org-meta-line (:foreground faded)) 334 | (org-mode-line-clock (:foreground faded)) 335 | (org-mode-line-clock-overrun (:foreground faded)) 336 | (org-priority (:foreground faded)) 337 | (org-property-value (:foreground faded)) 338 | (org-quote (:foreground faded)) 339 | (org-scheduled (:foreground faded)) 340 | (org-scheduled-previously (:foreground faded)) 341 | (org-scheduled-today (:foreground faded)) 342 | (org-sexp-date (:foreground faded)) 343 | (org-special-keyword (:foreground faded)) 344 | (org-table (:foreground faded)) 345 | (org-tag (:foreground faded)) 346 | (org-tag-group (:foreground faded)) 347 | (org-target (:foreground faded)) 348 | (org-time-grid (:foreground faded)) 349 | (org-todo (:foreground iris)) 350 | (org-upcoming-deadline (:foreground faded)) 351 | (org-verbatim (:foreground faded)) 352 | (org-verse (:foreground faded)) 353 | (org-warning (:foreground rose))) 354 | 355 | ;; Mu4e 356 | (with-eval-after-load "mu4e" 357 | (mu4e-attach-number-face (:foreground foam)) 358 | (mu4e-cited-1-face (:foreground faded)) 359 | (mu4e-cited-2-face (:foreground faded)) 360 | (mu4e-cited-3-face (:foreground faded)) 361 | (mu4e-cited-4-face (:foreground faded)) 362 | (mu4e-cited-5-face (:foreground faded)) 363 | (mu4e-cited-6-face (:foreground faded)) 364 | (mu4e-cited-7-face (:foreground faded)) 365 | (mu4e-compose-header-face (:foreground faded)) 366 | (mu4e-compose-separator-face (:foreground faded)) 367 | (mu4e-contact-face (:foreground iris)) 368 | (mu4e-context-face (:foreground faded)) 369 | (mu4e-draft-face (:foreground faded)) 370 | (mu4e-flagged-face (:foreground rose)) 371 | (mu4e-footer-face (:foreground faded)) 372 | (mu4e-forwarded-face (:foreground faded)) 373 | (mu4e-header-face (:foreground text)) 374 | (mu4e-header-highlight-face (:inherit 'hl-line)) 375 | (mu4e-header-key-face (:foreground foam)) 376 | (mu4e-header-marks-face (:foreground faded)) 377 | (mu4e-header-title-face (:foreground foam)) 378 | (mu4e-header-value-face (:foreground text)) 379 | (mu4e-highlight-face (:foreground rose)) 380 | (mu4e-link-face (:foreground iris)) 381 | (mu4e-modeline-face (:foreground faded)) 382 | (mu4e-moved-face (:foreground faded)) 383 | (mu4e-ok-face (:foreground faded)) 384 | (mu4e-region-code (:foreground faded)) 385 | (mu4e-replied-face (:foreground text)) 386 | (mu4e-special-header-value-face (:foreground text)) 387 | (mu4e-system-face (:foreground faded)) 388 | (mu4e-title-face (:foreground foam)) 389 | (mu4e-trashed-face (:foreground faded)) 390 | (mu4e-unread-face (:foreground foam)) 391 | (mu4e-url-number-face (:foreground faded)) 392 | (mu4e-view-body-face (:foreground text)) 393 | (mu4e-warning-face (:foreground rose))) 394 | 395 | ;; Elfeed 396 | (with-eval-after-load "elfeed" 397 | (elfeed-log-date-face (:foreground faded)) 398 | (elfeed-log-info-level-face (:foreground text)) 399 | (elfeed-log-debug-level-face (:foreground text)) 400 | (elfeed-log-warn-level-face (:foreground rose)) 401 | (elfeed-log-error-level-face (:foreground rose)) 402 | (elfeed-search-tag-face (:foreground faded)) 403 | (elfeed-search-date-face (:foreground faded)) 404 | (elfeed-search-feed-face (:foreground iris)) 405 | (elfeed-search-filter-face (:foreground faded)) 406 | (elfeed-search-last-update-face (:foreground iris)) 407 | (elfeed-search-title-face (:foreground text)) 408 | (elfeed-search-tag-face (:foreground faded)) 409 | (elfeed-search-unread-count-face (:foreground foam)) 410 | (elfeed-search-unread-title-face (:foreground foam))) 411 | 412 | 413 | ;; RST mode 414 | (with-eval-after-load "rst" 415 | (rst-adornment (:foreground faded)) 416 | (rst-block (:foreground text)) 417 | (rst-comment (:foreground faded)) 418 | (rst-definition (:foreground iris)) 419 | (rst-directive (:foreground iris)) 420 | (rst-emphasis1 (:foreground faded)) 421 | (rst-emphasis2 (:foreground foam)) 422 | (rst-external (:foreground iris)) 423 | (rst-level-1 (:foreground foam)) 424 | (rst-level-2 (:foreground foam)) 425 | (rst-level-3 (:foreground foam)) 426 | (rst-level-4 (:foreground foam)) 427 | (rst-level-5 (:foreground foam)) 428 | (rst-level-6 (:foreground foam)) 429 | (rst-literal (:foreground iris)) 430 | (rst-reference (:foreground iris)) 431 | (rst-transition (:foreground text))) 432 | 433 | ;; Markdown mode 434 | (with-eval-after-load "markdown-mode" 435 | (markdown-blockquote-face (:foreground text)) 436 | (markdown-bold-face (:foreground foam)) 437 | (markdown-code-face (:foreground text)) 438 | (markdown-comment-face (:foreground faded)) 439 | (markdown-footnote-marker-face (:foreground text)) 440 | (markdown-footnote-text-face (:foreground text)) 441 | (markdown-gfm-checkbox-face (:foreground text)) 442 | (markdown-header-delimiter-face (:foreground faded)) 443 | (markdown-header-face (:foreground foam)) 444 | (markdown-header-face-1 (:foreground foam)) 445 | (markdown-header-face-2 (:foreground foam)) 446 | (markdown-header-face-3 (:foreground foam)) 447 | (markdown-header-face-4 (:foreground foam)) 448 | (markdown-header-face-5 (:foreground foam)) 449 | (markdown-header-face-6 (:foreground foam)) 450 | (markdown-header-rule-face (:foreground text)) 451 | (markdown-highlight-face (:foreground text)) 452 | (markdown-hr-face (:foreground text)) 453 | (markdown-html-attr-name-face (:foreground text)) 454 | (markdown-html-attr-value-face (:foreground text)) 455 | (markdown-html-entity-face (:foreground text)) 456 | (markdown-html-tag-delimiter-face (:foreground text)) 457 | (markdown-html-tag-name-face (:foreground text)) 458 | (markdown-inline-code-face (:foreground rose)) 459 | (markdown-italic-face (:foreground faded)) 460 | (markdown-language-info-face (:foreground text)) 461 | (markdown-language-keyword-face (:foreground text)) 462 | (markdown-line-break-face (:foreground text)) 463 | (markdown-link-face (:foreground iris)) 464 | (markdown-link-title-face (:foreground text)) 465 | (markdown-list-face (:foreground faded)) 466 | (markdown-markup-face (:foreground faded)) 467 | (markdown-math-face (:foreground text)) 468 | (markdown-metadata-key-face (:foreground faded)) 469 | (markdown-metadata-value-face (:foreground faded)) 470 | (markdown-missing-link-face (:foreground text)) 471 | (markdown-plain-url-face (:foreground text)) 472 | (markdown-pre-face (:foreground text)) 473 | (markdown-reference-face (:foreground iris)) 474 | (markdown-strike-through-face (:foreground faded)) 475 | (markdown-table-face (:foreground text)) 476 | (markdown-url-face (:foreground iris))) 477 | 478 | ;; Ivy 479 | (with-eval-after-load "ivy" 480 | (ivy-action (:foreground faded)) 481 | (ivy-completions-annotations (:foreground faded)) 482 | (ivy-confirm-face (:foreground faded)) 483 | (ivy-current-match (:background foam :foreground subtle)) 484 | (ivy-cursor (:foreground foam)) 485 | (ivy-grep-info (:foreground foam)) 486 | (ivy-grep-line-number (:foreground faded)) 487 | (ivy-highlight-face (:foreground foam)) 488 | (ivy-match-required-face (:foreground faded)) 489 | (ivy-minibuffer-match-face-1 (:foreground iris)) 490 | (ivy-minibuffer-match-face-2 (:foreground iris)) 491 | (ivy-minibuffer-match-face-3 (:foreground iris)) 492 | (ivy-minibuffer-match-face-4 (:foreground iris)) 493 | (ivy-minibuffer-match-highlight (:foreground foam)) 494 | (ivy-modified-buffer (:foreground faded)) 495 | (ivy-modified-outside-buffer (:foreground faded)) 496 | (ivy-org (:foreground faded)) 497 | (ivy-prompt-match (:foreground faded)) 498 | (ivy-remote (:foreground text)) 499 | (ivy-separator (:foreground faded)) 500 | (ivy-subdir (:foreground faded)) 501 | (ivy-virtual (:foreground faded)) 502 | (ivy-yanked-word (:foreground faded))) 503 | 504 | 505 | 506 | )) 507 | 508 | ;;;###autoload 509 | (and load-file-name 510 | (boundp 'custom-theme-load-path) 511 | (add-to-list 'custom-theme-load-path 512 | (file-name-as-directory 513 | (file-name-directory load-file-name)))) 514 | 515 | (provide-theme 'rose-pine-dawn) 516 | 517 | ;; End: 518 | 519 | ;;; rose-pine-dawn-theme.el ends here 520 | -------------------------------------------------------------------------------- /rose-pine-color-theme.el: -------------------------------------------------------------------------------- 1 | ;;; rose-pine-color-theme.el --- All natural pine, faux fur and a bit of soho vibes for the classy minimalist. 2 | 3 | ;; Authors: Israel Romero <@caelie> 4 | ;; URL: http://github.com/caelie/rose-pine-emacs 5 | ;; Version: 0.2 6 | ;; Package-Requires: ((autothemer "0.2")) 7 | 8 | ;;; Commentary: 9 | ;; All natural pine, faux fur and a bit of soho vibes for the classy minimalist 10 | 11 | ;;; Uses Autothemer from 0.2 and is based on nano-emacs for the syntax highlighting 12 | 13 | ;;; Code: 14 | (require 'autothemer) 15 | 16 | (unless (>= emacs-major-version 26) 17 | (error "Requires Emacs 26 or later")) 18 | 19 | (autothemer-deftheme 20 | rose-pine-color "All natural pine, faux fur and a bit of soho vibes for the classy minimalist." 21 | 22 | ((((class color) (min-colors #xFFFFFF))) ;; GUI mode 23 | 24 | ;; Rose Pine 25 | (text "#e0def4") ;; foreground 26 | (base "#191724") ;; background 27 | (high "#6e6a86") ;; highlight 28 | (gold "#f6c177") ;; critical 29 | (iris "#c4a7e7") ;; salient 30 | (surface "#555169") ;; strong 31 | (love "#eb6f92") ;; popout 32 | (subtle "#6e6a86") ;; subtle 33 | (faded "#cecaed") ;; faded 34 | (cursor "#e0def4")) ;; cursor 35 | 36 | 37 | ;; Faces 38 | ((default (:background base :foreground text)) 39 | 40 | ;; Structural 41 | (bold (:foreground surface)) 42 | (italic (:foreground faded)) 43 | (bold-italic (:foreground surface)) 44 | (region (:background subtle)) 45 | (highlight (:background subtle)) 46 | (fixed-pitch-serif (:foregrund surface)) 47 | (variable-pitch (:foregroud surface)) 48 | (cursor (:background cursor)) 49 | 50 | ;; Modeline 51 | (mode-line (:background surface :foreground text)) 52 | (mode-line-inactive (:background surface :foreground faded)) 53 | 54 | ;; Windows 55 | (window-divider (:background surface)) 56 | (window-divider-first-pixel (:foreground high)) 57 | (window-divider-last-pixel (:foreground high)) 58 | 59 | ;; Semantic 60 | (shadow (:foreground faded)) 61 | (success (:foreground iris)) 62 | (warning (:foreground love)) 63 | (error (:foreground gold)) 64 | (match (:foreground love)) 65 | 66 | ;; General 67 | (buffer-menu-buffer (:foreground surface)) 68 | (minibuffer-prompt (:foreground surface)) 69 | (link (:foreground iris)) 70 | (fringe (:foreground faded)) 71 | 72 | (isearch (:foreground surface)) 73 | (isearch-fail (:foreground faded)) 74 | (lazy-highlight (:foreground subtle)) 75 | (trailing-whitespace (:foreground subtle)) 76 | (show-paren-match (:foreground love)) 77 | (tooltip (:height 0.85)) 78 | (secondary-selection (:foreground subtle)) 79 | (completions-common-part (:foreground faded)) 80 | (completions-first-difference (:foreground love)) 81 | 82 | 83 | ;; Programmation mode 84 | (font-lock-comment-face (:foreground faded)) 85 | (font-lock-doc-face (:foreground faded)) 86 | (font-lock-string-face (:foreground love)) 87 | (font-lock-constant-face (:foreground iris)) 88 | (font-lock-warning-face (:foreground love)) 89 | (font-lock-function-name-face (:foreground surface)) 90 | (font-lock-variable-name-face (:foreground surface)) 91 | (font-lock-builtin-face (:foreground iris)) 92 | (font-lock-type-face (:foreground iris)) 93 | (font-lock-keyword-face (:foreground iris)) 94 | 95 | ;; Highlight line mode 96 | (with-eval-after-load "hl-line" 97 | (set-face-attribute 'hl-line nil 98 | :background high)) 99 | 100 | ;; Buttons 101 | (with-eval-after-load "cus-edit" 102 | (set-face-attribute 'custom-button nil 103 | :foreground (face-foreground 'faded) 104 | :background (face-background 'default) 105 | :box `(:line-width 1 106 | :color ,(face-foreground 'faded) 107 | :style nil)) 108 | (set-face-attribute 'custom-button-mouse nil 109 | :foreground (face-foreground 'faded) 110 | :background (face-background 'subtle) 111 | :box `(:line-width 1 112 | :color ,(face-foreground 'faded) 113 | :style nil)) 114 | (set-face-attribute 'custom-button-pressed nil 115 | :foreground (face-background 'default) 116 | :background (face-foreground 'iris) 117 | :inherit 'iris 118 | :box `(:line-width 1 119 | :color ,(face-foreground 'iris) 120 | :style nil) 121 | :inverse-video nil)) 122 | 123 | ;; Documentation 124 | (with-eval-after-load "info" 125 | (info-menu-header (:foreground surface)) 126 | (info-header-node (:foreground text)) 127 | (info-index-match (:foreground iris)) 128 | (Info-quoted (:foreground faded)) 129 | (info-title-1 (:foreground surface)) 130 | (info-title-2 (:foreground surface)) 131 | (info-title-3 (:foreground surface)) 132 | (info-title-4 (:foreground surface))) 133 | 134 | ;; Bookmarks 135 | (with-eval-after-load "bookmark" 136 | (bookmark-menu-heading (:foreground surface)) 137 | (bookmark-menu-bookmark (:foreground iris))) 138 | 139 | ;; Message 140 | (with-eval-after-load "message" 141 | (message-cited-text (:foreground faded)) 142 | (message-cited-text-1 (:foreground faded)) 143 | (message-cited-text-2 (:foreground faded)) 144 | (message-cited-text-3 (:foreground faded)) 145 | (message-cited-text-4 (:foreground faded)) 146 | (message-header-cc (:foreground text)) 147 | (message-header-name (:foreground surface)) 148 | (message-header-newsgroups (:foreground text)) 149 | (message-header-other (:foreground text)) 150 | (message-header-subject (:foreground iris)) 151 | (message-header-to (:foreground iris)) 152 | (message-header-xheader (:foreground text)) 153 | (message-mml (:foreground love)) 154 | (message-separator (:foreground faded))) 155 | 156 | ;; Outline 157 | (with-eval-after-load "outline" 158 | (outline-1 (:foreground surface)) 159 | (outline-2 (:foreground surface)) 160 | (outline-3 (:foreground surface)) 161 | (outline-4 (:foreground surface)) 162 | (outline-5 (:foreground surface)) 163 | (outline-6 (:foreground surface)) 164 | (outline-7 (:foreground surface)) 165 | (outline-8 (:foreground surface))) 166 | 167 | ;; Interface 168 | (with-eval-after-load "cus-edit" 169 | (widget-field (:foreground subtle)) 170 | (widget-button (:foreground surface)) 171 | (widget-single-line-field (:foreground subtle)) 172 | (custom-group-subtitle (:foreground surface)) 173 | (custom-group-tag (:foreground surface)) 174 | (custom-group-tag-1 (:foreground surface)) 175 | (custom-comment (:foreground faded)) 176 | (custom-comment-tag (:foreground faded)) 177 | (custom-changed (:foreground iris)) 178 | (custom-modified (:foreground iris)) 179 | (custom-face-tag (:foreground surface)) 180 | (custom-variable-tag (:foreground text)) 181 | (custom-invalid (:foreground love)) 182 | (custom-visibility (:foreground iris)) 183 | (custom-state (:foreground iris)) 184 | (custom-link (:foreground iris))) 185 | 186 | ;;Package 187 | (with-eval-after-load "package" 188 | (package-description (:foreground text)) 189 | (package-help-section-name (:foreground text)) 190 | (package-name (:foreground iris)) 191 | (package-status-avail-obso (:foreground faded)) 192 | (package-status-available (:foreground text)) 193 | (package-status-built-in (:foreground iris)) 194 | (package-status-dependency (:foreground iris)) 195 | (package-status-disabled (:foreground faded)) 196 | (package-status-external (:foreground text)) 197 | (package-status-held (:foreground text)) 198 | (package-status-incompat (:foreground faded)) 199 | (package-status-installed (:foreground iris)) 200 | (package-status-new (:foreground text)) 201 | (package-status-unsigned (:foreground text))) 202 | 203 | 204 | ;; Flyspell 205 | (with-eval-after-load "flyspell" 206 | (flyspell-duplicate (:foreground love)) 207 | (flyspell-incorrect (:foreground love))) 208 | 209 | ;; Ido 210 | (with-eval-after-load "ido" 211 | (ido-first-match (:foreground iris)) 212 | (ido-only-match (:foreground faded)) 213 | (ido-subdir (:foreground surface)) 214 | 215 | ;; Eros and Rainbow-delimiters 216 | (eros-result-overlay-face (:foreground text :background base)) 217 | (rainbow-delimiters-base-error-face (:foreground love :background base)) 218 | (rainbow-delimiters-depth-1-face (:foreground gold)) 219 | (rainbow-delimiters-depth-2-face (:foreground text)) 220 | (rainbow-delimiters-depth-3-face (:foreground text)) 221 | (rainbow-delimiters-depth-4-face (:foreground text)) 222 | (rainbow-delimiters-depth-5-face (:foreground text)) 223 | (rainbow-delimiters-depth-6-face (:foreground text)) 224 | (rainbow-delimiters-depth-7-face (:foreground text)) 225 | (rainbow-delimiters-depth-8-face (:foreground text)) 226 | (rainbow-delimiters-depth-9-face (:foreground text)) 227 | 228 | 229 | ;; Diff 230 | (with-eval-after-load "diff-mode" 231 | (diff-header (:foreground faded)) 232 | (diff-file-header (:foreground surface)) 233 | (diff-context (:foreground text))) 234 | (diff-removed (:foreground faded)) 235 | (diff-changed (:foreground love)) 236 | (diff-added (:foreground iris)) 237 | (diff-refine-added (:background iris :foreground surface)) 238 | (diff-refine-changed (:foreground love)) 239 | (diff-refine-removed (:foreground faded)) 240 | (set-face-attribute 'diff-refine-removed nil :strike-through t)) 241 | 242 | ;; Term 243 | (with-eval-after-load "term" 244 | (term-bold (:foreground surface)) 245 | (set-face-attribute 'term-color-black nil 246 | :foreground (face-foreground 'text) 247 | :background (face-foreground 'text)) 248 | (set-face-attribute 'term-color-white nil 249 | :foreground (face-background 'text) 250 | :background (face-background 'text)) 251 | (set-face-attribute 'term-color-blue nil 252 | :foreground "#31748f" 253 | :background "#3783a1") 254 | (set-face-attribute 'term-color-cyan nil 255 | :foreground "#9ccfd8" 256 | :background "#89c6d0") 257 | (set-face-attribute 'term-color-green nil 258 | :foreground "#706e86" 259 | :background "#7c7a92") 260 | (set-face-attribute 'term-color-magenta nil 261 | :foreground "#c4a7e7" 262 | :background "#b692e1") 263 | (set-face-attribute 'term-color-red nil 264 | :foreground "#eb6f92" 265 | :background "#ee85a2") 266 | (set-face-attribute 'term-color-yellow nil 267 | :foreground "#f6c177" 268 | :background "#f4b65f")) 269 | 270 | (with-eval-after-load "calendar" 271 | (calendar-today (:foreground surface))) 272 | 273 | 274 | 275 | ;; org-agenda 276 | (with-eval-after-load "org-agenda" 277 | (org-agenda-calendar-event (:foreground text)) 278 | (org-agenda-calendar-sexp (:foreground iris)) 279 | (org-agenda-clocking (:foreground faded)) 280 | (org-agenda-column-dateline (:foreground faded)) 281 | (org-agenda-current-time (:foreground surface)) 282 | (org-agenda-date (:foreground iris)) 283 | (org-agenda-date-today (:background surface :foreground iris)) 284 | (org-agenda-date-weekend (:foreground faded)) 285 | (org-agenda-diary (:foreground faded)) 286 | (org-agenda-dimmed-todo-face (:foreground faded)) 287 | (org-agenda-done (:foreground faded)) 288 | (org-agenda-filter-category (:foreground faded)) 289 | (org-agenda-filter-effort (:foreground faded)) 290 | (org-agenda-filter-regexp (:foreground faded)) 291 | (org-agenda-filter-tags (:foreground faded)) 292 | (org-agenda-restriction-lock (:foreground faded)) 293 | (org-agenda-structure (:foreground surface))) 294 | 295 | ;; org mode 296 | (with-eval-after-load "org" 297 | (org-archived (:foreground faded)) 298 | (org-block (:foreground faded)) 299 | (org-block-begin-line (:foreground faded)) 300 | (org-block-end-line (:foreground faded)) 301 | (org-checkbox (:foreground faded)) 302 | (org-checkbox-statistics-done (:foreground faded)) 303 | (org-checkbox-statistics-todo (:foreground faded)) 304 | (org-clock-overlay (:foreground faded)) 305 | (org-code (:foreground faded)) 306 | (org-column (:foreground faded)) 307 | (org-column-title (:foreground faded)) 308 | (org-date (:foreground faded)) 309 | (org-date-selected (:foreground faded)) 310 | (org-default (:foreground faded)) 311 | (org-document-info (:foreground faded)) 312 | (org-document-info-keyword (:foreground faded)) 313 | (org-document-title (:foreground faded)) 314 | (org-done (:foreground text)) 315 | (org-drawer (:foreground faded)) 316 | (org-ellipsis (:foreground faded)) 317 | (org-footnote (:foreground faded)) 318 | (org-formula (:foreground faded)) 319 | (org-headline-done (:foreground faded)) 320 | (org-latex-and-related (:foreground faded)) 321 | (org-level-1 (:foreground surface)) 322 | (org-level-2 (:foreground surface)) 323 | (org-level-3 (:foreground iris)) 324 | (org-level-4 (:foreground text)) 325 | (org-level-5 (:foreground text)) 326 | (org-level-6 (:foreground text)) 327 | (org-level-7 (:foreground text)) 328 | (org-level-8 (:foreground text)) 329 | (org-link (:foreground iris)) 330 | (org-list-dt (:foreground faded)) 331 | (org-macro (:foreground faded)) 332 | (org-meta-line (:foreground faded)) 333 | (org-mode-line-clock (:foreground faded)) 334 | (org-mode-line-clock-overrun (:foreground faded)) 335 | (org-priority (:foreground faded)) 336 | (org-property-value (:foreground faded)) 337 | (org-quote (:foreground faded)) 338 | (org-scheduled (:foreground faded)) 339 | (org-scheduled-previously (:foreground faded)) 340 | (org-scheduled-today (:foreground faded)) 341 | (org-sexp-date (:foreground faded)) 342 | (org-special-keyword (:foreground faded)) 343 | (org-table (:foreground faded)) 344 | (org-tag (:foreground faded)) 345 | (org-tag-group (:foreground faded)) 346 | (org-target (:foreground faded)) 347 | (org-time-grid (:foreground faded)) 348 | (org-todo (:foreground iris)) 349 | (org-upcoming-deadline (:foreground faded)) 350 | (org-verbatim (:foreground faded)) 351 | (org-verse (:foreground faded)) 352 | (org-warning (:foreground love))) 353 | 354 | ;; Mu4e 355 | (with-eval-after-load "mu4e" 356 | (mu4e-attach-number-face (:foreground surface)) 357 | (mu4e-cited-1-face (:foreground faded)) 358 | (mu4e-cited-2-face (:foreground faded)) 359 | (mu4e-cited-3-face (:foreground faded)) 360 | (mu4e-cited-4-face (:foreground faded)) 361 | (mu4e-cited-5-face (:foreground faded)) 362 | (mu4e-cited-6-face (:foreground faded)) 363 | (mu4e-cited-7-face (:foreground faded)) 364 | (mu4e-compose-header-face (:foreground faded)) 365 | (mu4e-compose-separator-face (:foreground faded)) 366 | (mu4e-contact-face (:foreground iris)) 367 | (mu4e-context-face (:foreground faded)) 368 | (mu4e-draft-face (:foreground faded)) 369 | (mu4e-flagged-face (:foreground love)) 370 | (mu4e-footer-face (:foreground faded)) 371 | (mu4e-forwarded-face (:foreground faded)) 372 | (mu4e-header-face (:foreground text)) 373 | (mu4e-header-highlight-face (:inherit 'hl-line)) 374 | (mu4e-header-key-face (:foreground surface)) 375 | (mu4e-header-marks-face (:foreground faded)) 376 | (mu4e-header-title-face (:foreground surface)) 377 | (mu4e-header-value-face (:foreground text)) 378 | (mu4e-highlight-face (:foreground love)) 379 | (mu4e-link-face (:foreground iris)) 380 | (mu4e-modeline-face (:foreground faded)) 381 | (mu4e-moved-face (:foreground faded)) 382 | (mu4e-ok-face (:foreground faded)) 383 | (mu4e-region-code (:foreground faded)) 384 | (mu4e-replied-face (:foreground text)) 385 | (mu4e-special-header-value-face (:foreground text)) 386 | (mu4e-system-face (:foreground faded)) 387 | (mu4e-title-face (:foreground surface)) 388 | (mu4e-trashed-face (:foreground faded)) 389 | (mu4e-unread-face (:foreground surface)) 390 | (mu4e-url-number-face (:foreground faded)) 391 | (mu4e-view-body-face (:foreground text)) 392 | (mu4e-warning-face (:foreground love))) 393 | 394 | ;; Elfeed 395 | (with-eval-after-load "elfeed" 396 | (elfeed-log-date-face (:foreground faded)) 397 | (elfeed-log-info-level-face (:foreground text)) 398 | (elfeed-log-debug-level-face (:foreground text)) 399 | (elfeed-log-warn-level-face (:foreground love)) 400 | (elfeed-log-error-level-face (:foreground love)) 401 | (elfeed-search-tag-face (:foreground faded)) 402 | (elfeed-search-date-face (:foreground faded)) 403 | (elfeed-search-feed-face (:foreground iris)) 404 | (elfeed-search-filter-face (:foreground faded)) 405 | (elfeed-search-last-update-face (:foreground iris)) 406 | (elfeed-search-title-face (:foreground text)) 407 | (elfeed-search-tag-face (:foreground faded)) 408 | (elfeed-search-unread-count-face (:foreground surface)) 409 | (elfeed-search-unread-title-face (:foreground surface))) 410 | 411 | 412 | ;; RST mode 413 | (with-eval-after-load "rst" 414 | (rst-adornment (:foreground faded)) 415 | (rst-block (:foreground text)) 416 | (rst-comment (:foreground faded)) 417 | (rst-definition (:foreground iris)) 418 | (rst-directive (:foreground iris)) 419 | (rst-emphasis1 (:foreground faded)) 420 | (rst-emphasis2 (:foreground surface)) 421 | (rst-external (:foreground iris)) 422 | (rst-level-1 (:foreground surface)) 423 | (rst-level-2 (:foreground surface)) 424 | (rst-level-3 (:foreground surface)) 425 | (rst-level-4 (:foreground surface)) 426 | (rst-level-5 (:foreground surface)) 427 | (rst-level-6 (:foreground surface)) 428 | (rst-literal (:foreground iris)) 429 | (rst-reference (:foreground iris)) 430 | (rst-transition (:foreground text))) 431 | 432 | ;; Markdown mode 433 | (with-eval-after-load "markdown-mode" 434 | (markdown-blockquote-face (:foreground text)) 435 | (markdown-bold-face (:foreground surface)) 436 | (markdown-code-face (:foreground text)) 437 | (markdown-comment-face (:foreground faded)) 438 | (markdown-footnote-marker-face (:foreground text)) 439 | (markdown-footnote-text-face (:foreground text)) 440 | (markdown-gfm-checkbox-face (:foreground text)) 441 | (markdown-header-delimiter-face (:foreground faded)) 442 | (markdown-header-face (:foreground surface)) 443 | (markdown-header-face-1 (:foreground surface)) 444 | (markdown-header-face-2 (:foreground surface)) 445 | (markdown-header-face-3 (:foreground surface)) 446 | (markdown-header-face-4 (:foreground surface)) 447 | (markdown-header-face-5 (:foreground surface)) 448 | (markdown-header-face-6 (:foreground surface)) 449 | (markdown-header-rule-face (:foreground text)) 450 | (markdown-highlight-face (:foreground text)) 451 | (markdown-hr-face (:foreground text)) 452 | (markdown-html-attr-name-face (:foreground text)) 453 | (markdown-html-attr-value-face (:foreground text)) 454 | (markdown-html-entity-face (:foreground text)) 455 | (markdown-html-tag-delimiter-face (:foreground text)) 456 | (markdown-html-tag-name-face (:foreground text)) 457 | (markdown-inline-code-face (:foreground love)) 458 | (markdown-italic-face (:foreground faded)) 459 | (markdown-language-info-face (:foreground text)) 460 | (markdown-language-keyword-face (:foreground text)) 461 | (markdown-line-break-face (:foreground text)) 462 | (markdown-link-face (:foreground iris)) 463 | (markdown-link-title-face (:foreground text)) 464 | (markdown-list-face (:foreground faded)) 465 | (markdown-markup-face (:foreground faded)) 466 | (markdown-math-face (:foreground text)) 467 | (markdown-metadata-key-face (:foreground faded)) 468 | (markdown-metadata-value-face (:foreground faded)) 469 | (markdown-missing-link-face (:foreground text)) 470 | (markdown-plain-url-face (:foreground text)) 471 | (markdown-pre-face (:foreground text)) 472 | (markdown-reference-face (:foreground iris)) 473 | (markdown-strike-through-face (:foreground faded)) 474 | (markdown-table-face (:foreground text)) 475 | (markdown-url-face (:foreground iris))) 476 | 477 | ;; Ivy 478 | (with-eval-after-load "ivy" 479 | (ivy-action (:foreground faded)) 480 | (ivy-completions-annotations (:foreground faded)) 481 | (ivy-confirm-face (:foreground faded)) 482 | (ivy-current-match (:background surface :foreground subtle)) 483 | (ivy-cursor (:foreground surface)) 484 | (ivy-grep-info (:foreground surface)) 485 | (ivy-grep-line-number (:foreground faded)) 486 | (ivy-highlight-face (:foreground surface)) 487 | (ivy-match-required-face (:foreground faded)) 488 | (ivy-minibuffer-match-face-1 (:foreground iris)) 489 | (ivy-minibuffer-match-face-2 (:foreground iris)) 490 | (ivy-minibuffer-match-face-3 (:foreground iris)) 491 | (ivy-minibuffer-match-face-4 (:foreground iris)) 492 | (ivy-minibuffer-match-highlight (:foreground surface)) 493 | (ivy-modified-buffer (:foreground faded)) 494 | (ivy-modified-outside-buffer (:foreground faded)) 495 | (ivy-org (:foreground faded)) 496 | (ivy-prompt-match (:foreground faded)) 497 | (ivy-remote (:foreground text)) 498 | (ivy-separator (:foreground faded)) 499 | (ivy-subdir (:foreground faded)) 500 | (ivy-virtual (:foreground faded)) 501 | (ivy-yanked-word (:foreground faded))) 502 | 503 | 504 | 505 | )) 506 | 507 | ;;;###autoload 508 | (and load-file-name 509 | (boundp 'custom-theme-load-path) 510 | (add-to-list 'custom-theme-load-path 511 | (file-name-as-directory 512 | (file-name-directory load-file-name)))) 513 | 514 | (provide-theme 'rose-pine-color) 515 | 516 | ;; End: 517 | 518 | ;;; rose-pine-color-theme.el ends here 519 | -------------------------------------------------------------------------------- /rose-pine-moon-theme.el: -------------------------------------------------------------------------------- 1 | ;;; rose-pine-dawn-theme.el --- All natural pine, faux fur and a bit of soho vibes for the classy minimalist. 2 | 3 | ;; Authors: Israel Romero <@caelie> 4 | ;; URL: http://github.com/caelie/rose-pine-emacs 5 | ;; Version: 0.2 6 | ;; Package-Requires: ((autothemer "0.2")) 7 | 8 | ;;; Commentary: 9 | ;; All natural pine, faux fur and a bit of soho vibes for the classy minimalist 10 | 11 | ;;; Uses Autothemer from 0.2 and is based on nano-emacs for the syntax highlighting 12 | 13 | ;;; Code: 14 | 15 | (require 'autothemer) 16 | 17 | (unless (>= emacs-major-version 26) 18 | (error "Requires Emacs 26 or later")) 19 | 20 | (autothemer-deftheme 21 | rose-pine-moon "All natural pine, faux fur and a bit of soho vibes for the classy minimalist." 22 | 23 | ((((class color) (min-colors #xFFFFFF))) ;; GUI mode 24 | 25 | ;; Rose Pine Moon 26 | (text "#e0def4") ;; foreground 27 | (base "#232136") ;; background 28 | (high "#393552") ;; highlight 29 | (gold "#f6c177") ;; critical 30 | (iris "#c4a7e7") ;; salient 31 | (surface "#6e6a86") ;; strong 32 | (love "#eb6f92") ;; popout 33 | (subtle "#2a273f") ;; subtle 34 | (faded "#6e6a86") ;; faded 35 | (cursor "#c4a7e7")) ;; cursor 36 | 37 | 38 | ;; Faces 39 | ((default (:background base :foreground text)) 40 | 41 | ;; Structural 42 | (bold (:foreground surface)) 43 | (italic (:foreground faded)) 44 | (bold-italic (:foreground surface)) 45 | (region (:background subtle)) 46 | (highlight (:background subtle)) 47 | (fixed-pitch-serif (:foregrund surface)) 48 | (variable-pitch (:foregroud surface)) 49 | (cursor (:background cursor)) 50 | 51 | ;; Modeline 52 | (mode-line (:background surface :foreground text)) 53 | (mode-line-inactive (:background surface :foreground faded)) 54 | 55 | ;; Windows 56 | (window-divider (:background surface)) 57 | (window-divider-first-pixel (:foreground high)) 58 | (window-divider-last-pixel (:foreground high)) 59 | 60 | ;; Semantic 61 | (shadow (:foreground faded)) 62 | (success (:foreground iris)) 63 | (warning (:foreground love)) 64 | (error (:foreground gold)) 65 | (match (:foreground love)) 66 | 67 | ;; General 68 | (buffer-menu-buffer (:foreground surface)) 69 | (minibuffer-prompt (:foreground surface)) 70 | (link (:foreground iris)) 71 | (fringe (:foreground faded)) 72 | 73 | (isearch (:foreground surface)) 74 | (isearch-fail (:foreground faded)) 75 | (lazy-highlight (:foreground subtle)) 76 | (trailing-whitespace (:foreground subtle)) 77 | (show-paren-match (:foreground love)) 78 | (tooltip (:height 0.85)) 79 | (secondary-selection (:foreground subtle)) 80 | (completions-common-part (:foreground faded)) 81 | (completions-first-difference (:foreground love)) 82 | 83 | 84 | ;; Programmation mode 85 | (font-lock-comment-face (:foreground faded)) 86 | (font-lock-doc-face (:foreground faded)) 87 | (font-lock-string-face (:foreground love)) 88 | (font-lock-constant-face (:foreground iris)) 89 | (font-lock-warning-face (:foreground love)) 90 | (font-lock-function-name-face (:foreground surface)) 91 | (font-lock-variable-name-face (:foreground surface)) 92 | (font-lock-builtin-face (:foreground iris)) 93 | (font-lock-type-face (:foreground iris)) 94 | (font-lock-keyword-face (:foreground iris)) 95 | 96 | ;; Highlight line mode 97 | (with-eval-after-load "hl-line" 98 | (set-face-attribute 'hl-line nil 99 | :background high)) 100 | 101 | ;; Buttons 102 | (with-eval-after-load "cus-edit" 103 | (set-face-attribute 'custom-button nil 104 | :foreground (face-foreground 'faded) 105 | :background (face-background 'default) 106 | :box `(:line-width 1 107 | :color ,(face-foreground 'faded) 108 | :style nil)) 109 | (set-face-attribute 'custom-button-mouse nil 110 | :foreground (face-foreground 'faded) 111 | :background (face-background 'subtle) 112 | :box `(:line-width 1 113 | :color ,(face-foreground 'faded) 114 | :style nil)) 115 | (set-face-attribute 'custom-button-pressed nil 116 | :foreground (face-background 'default) 117 | :background (face-foreground 'iris) 118 | :inherit 'iris 119 | :box `(:line-width 1 120 | :color ,(face-foreground 'iris) 121 | :style nil) 122 | :inverse-video nil)) 123 | 124 | ;; Documentation 125 | (with-eval-after-load "info" 126 | (info-menu-header (:foreground surface)) 127 | (info-header-node (:foreground text)) 128 | (info-index-match (:foreground iris)) 129 | (Info-quoted (:foreground faded)) 130 | (info-title-1 (:foreground surface)) 131 | (info-title-2 (:foreground surface)) 132 | (info-title-3 (:foreground surface)) 133 | (info-title-4 (:foreground surface))) 134 | 135 | ;; Bookmarks 136 | (with-eval-after-load "bookmark" 137 | (bookmark-menu-heading (:foreground surface)) 138 | (bookmark-menu-bookmark (:foreground iris))) 139 | 140 | ;; Message 141 | (with-eval-after-load "message" 142 | (message-cited-text (:foreground faded)) 143 | (message-cited-text-1 (:foreground faded)) 144 | (message-cited-text-2 (:foreground faded)) 145 | (message-cited-text-3 (:foreground faded)) 146 | (message-cited-text-4 (:foreground faded)) 147 | (message-header-cc (:foreground text)) 148 | (message-header-name (:foreground surface)) 149 | (message-header-newsgroups (:foreground text)) 150 | (message-header-other (:foreground text)) 151 | (message-header-subject (:foreground iris)) 152 | (message-header-to (:foreground iris)) 153 | (message-header-xheader (:foreground text)) 154 | (message-mml (:foreground love)) 155 | (message-separator (:foreground faded))) 156 | 157 | ;; Outline 158 | (with-eval-after-load "outline" 159 | (outline-1 (:foreground surface)) 160 | (outline-2 (:foreground surface)) 161 | (outline-3 (:foreground surface)) 162 | (outline-4 (:foreground surface)) 163 | (outline-5 (:foreground surface)) 164 | (outline-6 (:foreground surface)) 165 | (outline-7 (:foreground surface)) 166 | (outline-8 (:foreground surface))) 167 | 168 | ;; Interface 169 | (with-eval-after-load "cus-edit" 170 | (widget-field (:foreground subtle)) 171 | (widget-button (:foreground surface)) 172 | (widget-single-line-field (:foreground subtle)) 173 | (custom-group-subtitle (:foreground surface)) 174 | (custom-group-tag (:foreground surface)) 175 | (custom-group-tag-1 (:foreground surface)) 176 | (custom-comment (:foreground faded)) 177 | (custom-comment-tag (:foreground faded)) 178 | (custom-changed (:foreground iris)) 179 | (custom-modified (:foreground iris)) 180 | (custom-face-tag (:foreground surface)) 181 | (custom-variable-tag (:foreground text)) 182 | (custom-invalid (:foreground love)) 183 | (custom-visibility (:foreground iris)) 184 | (custom-state (:foreground iris)) 185 | (custom-link (:foreground iris))) 186 | 187 | ;;Package 188 | (with-eval-after-load "package" 189 | (package-description (:foreground text)) 190 | (package-help-section-name (:foreground text)) 191 | (package-name (:foreground iris)) 192 | (package-status-avail-obso (:foreground faded)) 193 | (package-status-available (:foreground text)) 194 | (package-status-built-in (:foreground iris)) 195 | (package-status-dependency (:foreground iris)) 196 | (package-status-disabled (:foreground faded)) 197 | (package-status-external (:foreground text)) 198 | (package-status-held (:foreground text)) 199 | (package-status-incompat (:foreground faded)) 200 | (package-status-installed (:foreground iris)) 201 | (package-status-new (:foreground text)) 202 | (package-status-unsigned (:foreground text))) 203 | 204 | 205 | ;; Flyspell 206 | (with-eval-after-load "flyspell" 207 | (flyspell-duplicate (:foreground love)) 208 | (flyspell-incorrect (:foreground love))) 209 | 210 | ;; Ido 211 | (with-eval-after-load "ido" 212 | (ido-first-match (:foreground iris)) 213 | (ido-only-match (:foreground faded)) 214 | (ido-subdir (:foreground surface)) 215 | 216 | ;; Eros and Rainbow-delimiters 217 | (eros-result-overlay-face (:foreground text :background base)) 218 | (rainbow-delimiters-base-error-face (:foreground love :background base)) 219 | (rainbow-delimiters-depth-1-face (:foreground gold)) 220 | (rainbow-delimiters-depth-2-face (:foreground text)) 221 | (rainbow-delimiters-depth-3-face (:foreground text)) 222 | (rainbow-delimiters-depth-4-face (:foreground text)) 223 | (rainbow-delimiters-depth-5-face (:foreground text)) 224 | (rainbow-delimiters-depth-6-face (:foreground text)) 225 | (rainbow-delimiters-depth-7-face (:foreground text)) 226 | (rainbow-delimiters-depth-8-face (:foreground text)) 227 | (rainbow-delimiters-depth-9-face (:foreground text)) 228 | 229 | 230 | ;; Diff 231 | (with-eval-after-load "diff-mode" 232 | (diff-header (:foreground faded)) 233 | (diff-file-header (:foreground surface)) 234 | (diff-context (:foreground text))) 235 | (diff-removed (:foreground faded)) 236 | (diff-changed (:foreground love)) 237 | (diff-added (:foreground iris)) 238 | (diff-refine-added (:background iris :foreground surface)) 239 | (diff-refine-changed (:foreground love)) 240 | (diff-refine-removed (:foreground faded)) 241 | (set-face-attribute 'diff-refine-removed nil :strike-through t)) 242 | 243 | ;; Term 244 | (with-eval-after-load "term" 245 | (term-bold (:foreground surface)) 246 | (set-face-attribute 'term-color-black nil 247 | :foreground (face-foreground 'text) 248 | :background (face-foreground 'text)) 249 | (set-face-attribute 'term-color-white nil 250 | :foreground (face-background 'text) 251 | :background (face-background 'text)) 252 | (set-face-attribute 'term-color-blue nil 253 | :foreground "#31748f" 254 | :background "#3783a1") 255 | (set-face-attribute 'term-color-cyan nil 256 | :foreground "#9ccfd8" 257 | :background "#89c6d0") 258 | (set-face-attribute 'term-color-green nil 259 | :foreground "#706e86" 260 | :background "#7c7a92") 261 | (set-face-attribute 'term-color-magenta nil 262 | :foreground "#c4a7e7" 263 | :background "#b692e1") 264 | (set-face-attribute 'term-color-red nil 265 | :foreground "#eb6f92" 266 | :background "#ee85a2") 267 | (set-face-attribute 'term-color-yellow nil 268 | :foreground "#f6c177" 269 | :background "#f4b65f")) 270 | 271 | (with-eval-after-load "calendar" 272 | (calendar-today (:foreground surface))) 273 | 274 | 275 | 276 | ;; org-agenda 277 | (with-eval-after-load "org-agenda" 278 | (org-agenda-calendar-event (:foreground text)) 279 | (org-agenda-calendar-sexp (:foreground iris)) 280 | (org-agenda-clocking (:foreground faded)) 281 | (org-agenda-column-dateline (:foreground faded)) 282 | (org-agenda-current-time (:foreground surface)) 283 | (org-agenda-date (:foreground iris)) 284 | (org-agenda-date-today (:background surface :foreground iris)) 285 | (org-agenda-date-weekend (:foreground faded)) 286 | (org-agenda-diary (:foreground faded)) 287 | (org-agenda-dimmed-todo-face (:foreground faded)) 288 | (org-agenda-done (:foreground faded)) 289 | (org-agenda-filter-category (:foreground faded)) 290 | (org-agenda-filter-effort (:foreground faded)) 291 | (org-agenda-filter-regexp (:foreground faded)) 292 | (org-agenda-filter-tags (:foreground faded)) 293 | (org-agenda-restriction-lock (:foreground faded)) 294 | (org-agenda-structure (:foreground surface))) 295 | 296 | ;; org mode 297 | (with-eval-after-load "org" 298 | (org-archived (:foreground faded)) 299 | (org-block (:foreground faded)) 300 | (org-block-begin-line (:foreground faded)) 301 | (org-block-end-line (:foreground faded)) 302 | (org-checkbox (:foreground faded)) 303 | (org-checkbox-statistics-done (:foreground faded)) 304 | (org-checkbox-statistics-todo (:foreground faded)) 305 | (org-clock-overlay (:foreground faded)) 306 | (org-code (:foreground faded)) 307 | (org-column (:foreground faded)) 308 | (org-column-title (:foreground faded)) 309 | (org-date (:foreground faded)) 310 | (org-date-selected (:foreground faded)) 311 | (org-default (:foreground faded)) 312 | (org-document-info (:foreground faded)) 313 | (org-document-info-keyword (:foreground faded)) 314 | (org-document-title (:foreground faded)) 315 | (org-done (:foreground text)) 316 | (org-drawer (:foreground faded)) 317 | (org-ellipsis (:foreground faded)) 318 | (org-footnote (:foreground faded)) 319 | (org-formula (:foreground faded)) 320 | (org-headline-done (:foreground faded)) 321 | (org-latex-and-related (:foreground faded)) 322 | (org-level-1 (:foreground surface)) 323 | (org-level-2 (:foreground surface)) 324 | (org-level-3 (:foreground iris)) 325 | (org-level-4 (:foreground text)) 326 | (org-level-5 (:foreground text)) 327 | (org-level-6 (:foreground text)) 328 | (org-level-7 (:foreground text)) 329 | (org-level-8 (:foreground text)) 330 | (org-link (:foreground iris)) 331 | (org-list-dt (:foreground faded)) 332 | (org-macro (:foreground faded)) 333 | (org-meta-line (:foreground faded)) 334 | (org-mode-line-clock (:foreground faded)) 335 | (org-mode-line-clock-overrun (:foreground faded)) 336 | (org-priority (:foreground faded)) 337 | (org-property-value (:foreground faded)) 338 | (org-quote (:foreground faded)) 339 | (org-scheduled (:foreground faded)) 340 | (org-scheduled-previously (:foreground faded)) 341 | (org-scheduled-today (:foreground faded)) 342 | (org-sexp-date (:foreground faded)) 343 | (org-special-keyword (:foreground faded)) 344 | (org-table (:foreground faded)) 345 | (org-tag (:foreground faded)) 346 | (org-tag-group (:foreground faded)) 347 | (org-target (:foreground faded)) 348 | (org-time-grid (:foreground faded)) 349 | (org-todo (:foreground iris)) 350 | (org-upcoming-deadline (:foreground faded)) 351 | (org-verbatim (:foreground faded)) 352 | (org-verse (:foreground faded)) 353 | (org-warning (:foreground love))) 354 | 355 | ;; Mu4e 356 | (with-eval-after-load "mu4e" 357 | (mu4e-attach-number-face (:foreground surface)) 358 | (mu4e-cited-1-face (:foreground faded)) 359 | (mu4e-cited-2-face (:foreground faded)) 360 | (mu4e-cited-3-face (:foreground faded)) 361 | (mu4e-cited-4-face (:foreground faded)) 362 | (mu4e-cited-5-face (:foreground faded)) 363 | (mu4e-cited-6-face (:foreground faded)) 364 | (mu4e-cited-7-face (:foreground faded)) 365 | (mu4e-compose-header-face (:foreground faded)) 366 | (mu4e-compose-separator-face (:foreground faded)) 367 | (mu4e-contact-face (:foreground iris)) 368 | (mu4e-context-face (:foreground faded)) 369 | (mu4e-draft-face (:foreground faded)) 370 | (mu4e-flagged-face (:foreground love)) 371 | (mu4e-footer-face (:foreground faded)) 372 | (mu4e-forwarded-face (:foreground faded)) 373 | (mu4e-header-face (:foreground text)) 374 | (mu4e-header-highlight-face (:inherit 'hl-line)) 375 | (mu4e-header-key-face (:foreground surface)) 376 | (mu4e-header-marks-face (:foreground faded)) 377 | (mu4e-header-title-face (:foreground surface)) 378 | (mu4e-header-value-face (:foreground text)) 379 | (mu4e-highlight-face (:foreground love)) 380 | (mu4e-link-face (:foreground iris)) 381 | (mu4e-modeline-face (:foreground faded)) 382 | (mu4e-moved-face (:foreground faded)) 383 | (mu4e-ok-face (:foreground faded)) 384 | (mu4e-region-code (:foreground faded)) 385 | (mu4e-replied-face (:foreground text)) 386 | (mu4e-special-header-value-face (:foreground text)) 387 | (mu4e-system-face (:foreground faded)) 388 | (mu4e-title-face (:foreground surface)) 389 | (mu4e-trashed-face (:foreground faded)) 390 | (mu4e-unread-face (:foreground surface)) 391 | (mu4e-url-number-face (:foreground faded)) 392 | (mu4e-view-body-face (:foreground text)) 393 | (mu4e-warning-face (:foreground love))) 394 | 395 | ;; Elfeed 396 | (with-eval-after-load "elfeed" 397 | (elfeed-log-date-face (:foreground faded)) 398 | (elfeed-log-info-level-face (:foreground text)) 399 | (elfeed-log-debug-level-face (:foreground text)) 400 | (elfeed-log-warn-level-face (:foreground love)) 401 | (elfeed-log-error-level-face (:foreground love)) 402 | (elfeed-search-tag-face (:foreground faded)) 403 | (elfeed-search-date-face (:foreground faded)) 404 | (elfeed-search-feed-face (:foreground iris)) 405 | (elfeed-search-filter-face (:foreground faded)) 406 | (elfeed-search-last-update-face (:foreground iris)) 407 | (elfeed-search-title-face (:foreground text)) 408 | (elfeed-search-tag-face (:foreground faded)) 409 | (elfeed-search-unread-count-face (:foreground surface)) 410 | (elfeed-search-unread-title-face (:foreground surface))) 411 | 412 | 413 | ;; RST mode 414 | (with-eval-after-load "rst" 415 | (rst-adornment (:foreground faded)) 416 | (rst-block (:foreground text)) 417 | (rst-comment (:foreground faded)) 418 | (rst-definition (:foreground iris)) 419 | (rst-directive (:foreground iris)) 420 | (rst-emphasis1 (:foreground faded)) 421 | (rst-emphasis2 (:foreground surface)) 422 | (rst-external (:foreground iris)) 423 | (rst-level-1 (:foreground surface)) 424 | (rst-level-2 (:foreground surface)) 425 | (rst-level-3 (:foreground surface)) 426 | (rst-level-4 (:foreground surface)) 427 | (rst-level-5 (:foreground surface)) 428 | (rst-level-6 (:foreground surface)) 429 | (rst-literal (:foreground iris)) 430 | (rst-reference (:foreground iris)) 431 | (rst-transition (:foreground text))) 432 | 433 | ;; Markdown mode 434 | (with-eval-after-load "markdown-mode" 435 | (markdown-blockquote-face (:foreground text)) 436 | (markdown-bold-face (:foreground surface)) 437 | (markdown-code-face (:foreground text)) 438 | (markdown-comment-face (:foreground faded)) 439 | (markdown-footnote-marker-face (:foreground text)) 440 | (markdown-footnote-text-face (:foreground text)) 441 | (markdown-gfm-checkbox-face (:foreground text)) 442 | (markdown-header-delimiter-face (:foreground faded)) 443 | (markdown-header-face (:foreground surface)) 444 | (markdown-header-face-1 (:foreground surface)) 445 | (markdown-header-face-2 (:foreground surface)) 446 | (markdown-header-face-3 (:foreground surface)) 447 | (markdown-header-face-4 (:foreground surface)) 448 | (markdown-header-face-5 (:foreground surface)) 449 | (markdown-header-face-6 (:foreground surface)) 450 | (markdown-header-rule-face (:foreground text)) 451 | (markdown-highlight-face (:foreground text)) 452 | (markdown-hr-face (:foreground text)) 453 | (markdown-html-attr-name-face (:foreground text)) 454 | (markdown-html-attr-value-face (:foreground text)) 455 | (markdown-html-entity-face (:foreground text)) 456 | (markdown-html-tag-delimiter-face (:foreground text)) 457 | (markdown-html-tag-name-face (:foreground text)) 458 | (markdown-inline-code-face (:foreground love)) 459 | (markdown-italic-face (:foreground faded)) 460 | (markdown-language-info-face (:foreground text)) 461 | (markdown-language-keyword-face (:foreground text)) 462 | (markdown-line-break-face (:foreground text)) 463 | (markdown-link-face (:foreground iris)) 464 | (markdown-link-title-face (:foreground text)) 465 | (markdown-list-face (:foreground faded)) 466 | (markdown-markup-face (:foreground faded)) 467 | (markdown-math-face (:foreground text)) 468 | (markdown-metadata-key-face (:foreground faded)) 469 | (markdown-metadata-value-face (:foreground faded)) 470 | (markdown-missing-link-face (:foreground text)) 471 | (markdown-plain-url-face (:foreground text)) 472 | (markdown-pre-face (:foreground text)) 473 | (markdown-reference-face (:foreground iris)) 474 | (markdown-strike-through-face (:foreground faded)) 475 | (markdown-table-face (:foreground text)) 476 | (markdown-url-face (:foreground iris))) 477 | 478 | ;; Ivy 479 | (with-eval-after-load "ivy" 480 | (ivy-action (:foreground faded)) 481 | (ivy-completions-annotations (:foreground faded)) 482 | (ivy-confirm-face (:foreground faded)) 483 | (ivy-current-match (:background surface :foreground subtle)) 484 | (ivy-cursor (:foreground surface)) 485 | (ivy-grep-info (:foreground surface)) 486 | (ivy-grep-line-number (:foreground faded)) 487 | (ivy-highlight-face (:foreground surface)) 488 | (ivy-match-required-face (:foreground faded)) 489 | (ivy-minibuffer-match-face-1 (:foreground iris)) 490 | (ivy-minibuffer-match-face-2 (:foreground iris)) 491 | (ivy-minibuffer-match-face-3 (:foreground iris)) 492 | (ivy-minibuffer-match-face-4 (:foreground iris)) 493 | (ivy-minibuffer-match-highlight (:foreground surface)) 494 | (ivy-modified-buffer (:foreground faded)) 495 | (ivy-modified-outside-buffer (:foreground faded)) 496 | (ivy-org (:foreground faded)) 497 | (ivy-prompt-match (:foreground faded)) 498 | (ivy-remote (:foreground text)) 499 | (ivy-separator (:foreground faded)) 500 | (ivy-subdir (:foreground faded)) 501 | (ivy-virtual (:foreground faded)) 502 | (ivy-yanked-word (:foreground faded))) 503 | 504 | 505 | 506 | )) 507 | 508 | 509 | 510 | ;;;###autoload 511 | (and load-file-name 512 | (boundp 'custom-theme-load-path) 513 | (add-to-list 'custom-theme-load-path 514 | (file-name-as-directory 515 | (file-name-directory load-file-name)))) 516 | 517 | (provide-theme 'rose-pine-moon) 518 | 519 | ;; End: 520 | 521 | ;;; rose-pine-moon-theme.el ends here 522 | --------------------------------------------------------------------------------