Adição de arquivos do elegance.el
This commit is contained in:
parent
324de8dbd1
commit
149f0c3e65
|
@ -0,0 +1,611 @@
|
|||
;;; ------------------------------------------------------------------
|
||||
;; Um tema mínimo porém consistente. Baseado no elegance.el.
|
||||
;; Copyright 2020 Aabm
|
||||
;;; ------------------------------------------------------------------
|
||||
;; LICENSE
|
||||
;; Copyright © 2020 Aabm <aabm@disroot.org>
|
||||
;; Author: Aabm <aabm@disroot.org>
|
||||
;; URL: <https://git.snopyta.org/aabm/emacs-humanities/>
|
||||
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;; This program is free software: you can redistribute it and/or
|
||||
;; modify it under the terms of the GNU General Public License as
|
||||
;; published by the Free Software Foundation, either version 3 of the
|
||||
;; License, or (at your option) any later version.
|
||||
;;
|
||||
;; This program is distributed in the hope that it will be useful, but
|
||||
;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
;; General Public License for more details.
|
||||
;;
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with this program, see the file LICENSE. If not, see
|
||||
;; <http://www.gnu.org/licenses/>
|
||||
;;; ------------------------------------------------------------------
|
||||
;; Uma tradução não oficial para português brasileiro da licensa
|
||||
;; acima pode ser encontrada em:
|
||||
;; <http://licencas.softwarelivre.org/gpl-3.0.pt-br.html>
|
||||
;;; ------------------------------------------------------------------
|
||||
|
||||
;; Only necessary for the splash screen mockup
|
||||
;; -------------------------------------------------------------------
|
||||
(with-eval-after-load 'org
|
||||
(setq org-display-inline-images t)
|
||||
(setq org-redisplay-inline-images t)
|
||||
(setq org-startup-with-inline-images "inlineimages")
|
||||
(setq org-hide-emphasis-markers t)
|
||||
(setq org-confirm-elisp-link-function nil)
|
||||
(setq org-link-frame-setup '((file . find-file))))
|
||||
;; -------------------------------------------------------------------
|
||||
|
||||
|
||||
;; Font and frame size
|
||||
(set-face-font 'default "Iosevka 12")
|
||||
(setq default-frame-alist
|
||||
(append (list '(vertical-scroll-bars . nil)
|
||||
'(internal-border-width . 24)
|
||||
'(font . "Iosevka 12"))))
|
||||
(set-frame-parameter (selected-frame)
|
||||
'internal-border-width 24)
|
||||
|
||||
;; Line spacing, can be 0 for code and 1 or 2 for text
|
||||
(setq-default line-spacing 1)
|
||||
|
||||
;; Underline line at descent position, not baseline position
|
||||
(setq x-underline-at-descent-line t)
|
||||
|
||||
;; No ugly button for checkboxes
|
||||
;;(setq widget-image-enable nil)
|
||||
|
||||
;; Line cursor and no blink
|
||||
(blink-cursor-mode 0)
|
||||
|
||||
;; No sound
|
||||
(setq visible-bell t)
|
||||
(setq ring-bell-function 'ignore)
|
||||
|
||||
;; No Tooltips
|
||||
;;(tooltip-mode 0)
|
||||
|
||||
;; Paren mode is part of the theme
|
||||
(show-paren-mode t)
|
||||
|
||||
;; No fringe but nice glyphs for truncated and wrapped lines
|
||||
(fringe-mode '(0 . 0))
|
||||
(defface fallback '((t :family "Iosevka"
|
||||
:inherit 'face-faded)) "Fallback")
|
||||
(set-display-table-slot standard-display-table 'truncation
|
||||
(make-glyph-code ?… 'fallback))
|
||||
(set-display-table-slot standard-display-table 'wrap
|
||||
(make-glyph-code ?↩ 'fallback))
|
||||
(set-display-table-slot standard-display-table 'selective-display
|
||||
(string-to-vector " …"))
|
||||
|
||||
|
||||
;; When we set a face, we take care of removing any previous settings
|
||||
(defun set-face (face style)
|
||||
"Reset a face and make it inherit style."
|
||||
(set-face-attribute face nil
|
||||
:foreground 'unspecified :background 'unspecified
|
||||
:family 'unspecified :slant 'unspecified
|
||||
:weight 'unspecified :height 'unspecified
|
||||
:underline 'unspecified :overline 'unspecified
|
||||
:box 'unspecified :inherit style))
|
||||
|
||||
;; A theme is fully defined by these six faces
|
||||
(defgroup elegance nil
|
||||
"Faces for the elegance theme"
|
||||
:prefix "face-")
|
||||
|
||||
;; Do not show prefix when displaying the elegance group
|
||||
(setq custom-unlispify-remove-prefixes t)
|
||||
|
||||
(defface face-critical nil
|
||||
"Critical face is for information that requires immediate action.
|
||||
It should be of high constrast when compared to other faces. This
|
||||
can be realized (for example) by setting an intense background
|
||||
color, typically a shade of red. It must be used scarcely."
|
||||
:group 'elegance)
|
||||
|
||||
(defface face-popout nil
|
||||
"Popout face is used for information that needs attention.
|
||||
To achieve such effect, the hue of the face has to be
|
||||
sufficiently different from other faces such that it attracts
|
||||
attention through the popout effect."
|
||||
:group 'elegance)
|
||||
|
||||
(defface face-strong nil
|
||||
"Strong face is used for information of a structural nature.
|
||||
It has to be the same color as the default color and only the
|
||||
weight differs by one level (e.g., light/regular or
|
||||
regular/bold). IT is generally used for titles, keywords,
|
||||
directory, etc."
|
||||
:group 'elegance)
|
||||
|
||||
(defface face-salient nil
|
||||
"Salient face is used for information that are important.
|
||||
To suggest the information is of the same nature but important,
|
||||
the face uses a different hue with approximately the same
|
||||
intensity as the default face. This is typically used for links."
|
||||
|
||||
:group 'elegance)
|
||||
|
||||
(defface face-faded nil
|
||||
"Faded face is for information that are less important.
|
||||
It is made by using the same hue as the default but with a lesser
|
||||
intensity than the default. It can be used for comments,
|
||||
secondary information and also replace italic (which is generally
|
||||
abused anyway)."
|
||||
:group 'elegance)
|
||||
|
||||
(defface face-subtle nil
|
||||
"Subtle face is used to suggest a physical area on the screen.
|
||||
It is important to not disturb too strongly the reading of
|
||||
information and this can be made by setting a very light
|
||||
background color that is barely perceptible."
|
||||
:group 'elegance)
|
||||
|
||||
|
||||
;; Mode line (this might be slow because of the "☰" that requires substitution)
|
||||
;; This line below makes things a bit faster
|
||||
(set-fontset-font "fontset-default" '(#x2600 . #x26ff) "Iosevka 14")
|
||||
|
||||
(define-key mode-line-major-mode-keymap [header-line]
|
||||
(lookup-key mode-line-major-mode-keymap [mode-line]))
|
||||
|
||||
(defun mode-line-render (left right)
|
||||
(let* ((available-width (- (window-width) (length left) )))
|
||||
(format (format "%%s %%%ds" available-width) left right)))
|
||||
(setq-default mode-line-format
|
||||
'((:eval
|
||||
(mode-line-render
|
||||
(format-mode-line (list
|
||||
(propertize "☰" 'face `(:inherit mode-line-buffer-id)
|
||||
'help-echo "Mode(s) menu"
|
||||
'mouse-face 'mode-line-highlight
|
||||
'local-map mode-line-major-mode-keymap)
|
||||
" %b "
|
||||
(if (and buffer-file-name (buffer-modified-p))
|
||||
(propertize "(modified)" 'face `(:inherit face-faded)))))
|
||||
(format-mode-line
|
||||
(propertize "%4l:%2c " 'face `(:inherit face-faded)))))))
|
||||
|
||||
|
||||
;; Comment if you want to keep the modeline at the bottom
|
||||
(setq-default header-line-format mode-line-format)
|
||||
(setq-default mode-line-format'(""))
|
||||
|
||||
|
||||
;; Vertical window divider
|
||||
(setq window-divider-default-right-width 3)
|
||||
(setq window-divider-default-places 'right-only)
|
||||
(window-divider-mode)
|
||||
|
||||
;; Modeline
|
||||
(defun set-modeline-faces ()
|
||||
|
||||
;; Mode line at top
|
||||
(set-face 'header-line 'face-strong)
|
||||
(set-face-attribute 'header-line nil
|
||||
:underline (face-foreground 'default))
|
||||
(set-face-attribute 'mode-line nil
|
||||
:height 10
|
||||
:underline (face-foreground 'default)
|
||||
:overline nil
|
||||
:box nil
|
||||
:foreground (face-background 'default)
|
||||
:background (face-background 'default))
|
||||
(set-face 'mode-line-inactive 'mode-line)
|
||||
|
||||
;; Mode line at bottom
|
||||
;; (set-face 'header-line 'face-strong)
|
||||
;; (set-face-attribute 'mode-line nil
|
||||
;; :height 1.0
|
||||
;; :overline (face-background 'default)
|
||||
;; :underline nil
|
||||
;; :foreground (face-foreground 'default)
|
||||
;; :background (face-background 'face-subtle)
|
||||
;; :box `(:line-width 2
|
||||
;; :color ,(face-background 'face-subtle)
|
||||
;; :style nil))
|
||||
;; (set-face 'mode-line-highlight '(face-popout mode-line))
|
||||
;; (set-face 'mode-line-emphasis 'face-strong)
|
||||
;; (set-face-attribute 'mode-line-buffer-id nil :weight 'regular)
|
||||
;; (set-face-attribute 'mode-line-inactive nil
|
||||
;; :height 1.0
|
||||
;; :overline (face-background 'default)
|
||||
;; :underline nil
|
||||
;; :foreground (face-foreground 'face-faded)
|
||||
;; :background (face-background 'face-subtle)
|
||||
;; :box `(:line-width 2
|
||||
;; :color ,(face-background 'face-subtle)
|
||||
;; :style nil))
|
||||
|
||||
|
||||
(set-face-attribute 'cursor nil
|
||||
:background (face-foreground 'default))
|
||||
(set-face-attribute 'window-divider nil
|
||||
:foreground (face-background 'mode-line))
|
||||
(set-face-attribute 'window-divider-first-pixel nil
|
||||
:foreground (face-background 'default))
|
||||
(set-face-attribute 'window-divider-last-pixel nil
|
||||
:foreground (face-background 'default))
|
||||
)
|
||||
|
||||
;; Buttons
|
||||
(defun set-button-faces ()
|
||||
(set-face-attribute 'custom-button nil
|
||||
:foreground (face-foreground 'face-faded)
|
||||
:background (face-background 'face-subtle)
|
||||
:box `(:line-width 1
|
||||
:color ,(face-foreground 'face-faded)
|
||||
:style nil))
|
||||
(set-face-attribute 'custom-button-mouse nil
|
||||
:foreground (face-foreground 'default)
|
||||
;; :background (face-foreground 'face-faded)
|
||||
:inherit 'custom-button
|
||||
:box `(:line-width 1
|
||||
:color ,(face-foreground 'face-subtle)
|
||||
:style nil))
|
||||
(set-face-attribute 'custom-button-pressed nil
|
||||
:foreground (face-background 'default)
|
||||
:background (face-foreground 'face-salient)
|
||||
:inherit 'face-salient
|
||||
:box `(:line-width 1
|
||||
:color ,(face-foreground 'face-salient)
|
||||
:style nil)
|
||||
:inverse-video nil))
|
||||
|
||||
;; Light theme
|
||||
(defun elegance-light ()
|
||||
(setq frame-background-mode 'light)
|
||||
(set-background-color "#ffffff")
|
||||
(set-foreground-color "#333333")
|
||||
(set-face-attribute 'default nil
|
||||
:foreground (face-foreground 'default)
|
||||
:background (face-background 'default))
|
||||
(set-face-attribute 'face-critical nil :foreground "#ffffff"
|
||||
:background "#ff6347")
|
||||
(set-face-attribute 'face-popout nil :foreground "#ffa07a")
|
||||
(set-face-attribute 'face-strong nil :foreground "#333333"
|
||||
:weight 'regular)
|
||||
(set-face-attribute 'face-salient nil :foreground "#00008b"
|
||||
:weight 'light)
|
||||
(set-face-attribute 'face-faded nil :foreground "#999999"
|
||||
:weight 'light)
|
||||
(set-face-attribute 'face-subtle nil :background "#f0f0f0")
|
||||
|
||||
(set-modeline-faces)
|
||||
|
||||
(with-eval-after-load 'cus-edit (set-button-faces)))
|
||||
|
||||
;; Dark theme
|
||||
(defun elegance-dark ()
|
||||
(setq frame-background-mode 'dark)
|
||||
(set-background-color "#3f3f3f")
|
||||
(set-foreground-color "#dcdccc")
|
||||
(set-face-attribute 'default nil
|
||||
:foreground (face-foreground 'default)
|
||||
:background (face-background 'default))
|
||||
(set-face-attribute 'face-critical nil :foreground "#385f38"
|
||||
:background "#f8f893")
|
||||
(set-face-attribute 'face-popout nil :foreground "#f0dfaf")
|
||||
(set-face-attribute 'face-strong nil :foreground "#dcdccc"
|
||||
:weight 'regular)
|
||||
(set-face-attribute 'face-salient nil :foreground "#dca3a3"
|
||||
:weight 'light)
|
||||
(set-face-attribute 'face-faded nil :foreground "#777767"
|
||||
:weight 'light)
|
||||
(set-face-attribute 'face-subtle nil :background "#4f4f4f")
|
||||
(set-modeline-faces)
|
||||
(with-eval-after-load 'cus-edit (set-button-faces)))
|
||||
|
||||
;; Set theme
|
||||
(elegance-dark)
|
||||
|
||||
;; Structural
|
||||
(set-face 'bold 'face-strong)
|
||||
(set-face 'italic 'face-faded)
|
||||
(set-face 'bold-italic 'face-strong)
|
||||
;;(set-face 'region 'face-subtle)
|
||||
(set-face 'highlight 'face-subtle)
|
||||
(set-face 'fixed-pitch 'default)
|
||||
(set-face 'fixed-pitch-serif 'default)
|
||||
(set-face 'variable-pitch 'default)
|
||||
(set-face 'cursor 'default)
|
||||
|
||||
;; Semantic
|
||||
(set-face 'shadow 'face-faded)
|
||||
(set-face 'success 'face-salient)
|
||||
(set-face 'warning 'face-popout)
|
||||
(set-face 'error 'face-critical)
|
||||
|
||||
;; General
|
||||
(set-face 'buffer-menu-buffer 'face-strong)
|
||||
(set-face 'minibuffer-prompt 'face-strong)
|
||||
(set-face 'link 'face-salient)
|
||||
(set-face 'fringe 'face-faded)
|
||||
(set-face 'isearch 'face-strong)
|
||||
(set-face 'isearch-fail 'face-faded)
|
||||
(set-face 'lazy-highlight 'face-subtle)
|
||||
(set-face 'trailing-whitespace 'face-subtle)
|
||||
(set-face 'show-paren-match 'face-popout)
|
||||
(set-face 'show-paren-mismatch 'face-normal)
|
||||
(set-face-attribute 'tooltip nil :height 0.85)
|
||||
|
||||
;; Programmation mode
|
||||
(set-face 'font-lock-comment-face 'face-faded)
|
||||
(set-face 'font-lock-doc-face 'face-faded)
|
||||
(set-face 'font-lock-string-face 'face-popout)
|
||||
(set-face 'font-lock-constant-face 'face-salient)
|
||||
(set-face 'font-lock-warning-face 'face-popout)
|
||||
(set-face 'font-lock-function-name-face 'face-strong)
|
||||
(set-face 'font-lock-variable-name-face 'face-strong)
|
||||
(set-face 'font-lock-builtin-face 'face-salient)
|
||||
(set-face 'font-lock-type-face 'face-salient)
|
||||
(set-face 'font-lock-keyword-face 'face-salient)
|
||||
|
||||
;; Documentation
|
||||
(with-eval-after-load 'info
|
||||
(set-face 'info-menu-header 'face-strong)
|
||||
(set-face 'info-header-node 'face-normal)
|
||||
(set-face 'Info-quoted 'face-faded)
|
||||
(set-face 'info-title-1 'face-strong)
|
||||
(set-face 'info-title-2 'face-strong)
|
||||
(set-face 'info-title-3 'face-strong)
|
||||
(set-face 'info-title-4 'face-strong))
|
||||
|
||||
;; Bookmarks
|
||||
(with-eval-after-load 'bookmark
|
||||
(set-face 'bookmark-menu-heading 'face-strong)
|
||||
(set-face 'bookmark-menu-bookmark 'face-salient))
|
||||
|
||||
;; Message
|
||||
(with-eval-after-load 'message
|
||||
(set-face 'message-cited-text 'face-faded)
|
||||
(set-face 'message-header-cc 'default)
|
||||
(set-face 'message-header-name 'face-strong)
|
||||
(set-face 'message-header-newsgroups 'default)
|
||||
(set-face 'message-header-other 'default)
|
||||
(set-face 'message-header-subject 'face-salient)
|
||||
(set-face 'message-header-to 'face-salient)
|
||||
(set-face 'message-header-xheader 'default)
|
||||
(set-face 'message-mml 'face-popout)
|
||||
(set-face 'message-separator 'face-faded))
|
||||
|
||||
;; Outline
|
||||
(with-eval-after-load 'outline
|
||||
(set-face 'outline-1 'face-strong)
|
||||
(set-face 'outline-2 'face-strong)
|
||||
(set-face 'outline-3 'face-strong)
|
||||
(set-face 'outline-4 'face-strong)
|
||||
(set-face 'outline-5 'face-strong)
|
||||
(set-face 'outline-6 'face-strong)
|
||||
(set-face 'outline-7 'face-strong)
|
||||
(set-face 'outline-8 'face-strong))
|
||||
|
||||
;; Interface
|
||||
(with-eval-after-load 'cus-edit
|
||||
(set-face 'widget-field 'face-subtle)
|
||||
(set-face 'widget-button 'face-strong)
|
||||
(set-face 'widget-single-line-field 'face-subtle)
|
||||
(set-face 'custom-group-subtitle 'face-strong)
|
||||
(set-face 'custom-group-tag 'face-strong)
|
||||
(set-face 'custom-group-tag-1 'face-strong)
|
||||
(set-face 'custom-comment 'face-faded)
|
||||
(set-face 'custom-comment-tag 'face-faded)
|
||||
(set-face 'custom-changed 'face-salient)
|
||||
(set-face 'custom-modified 'face-salient)
|
||||
(set-face 'custom-face-tag 'face-strong)
|
||||
(set-face 'custom-variable-tag 'default)
|
||||
(set-face 'custom-invalid 'face-popout)
|
||||
(set-face 'custom-visibility 'face-salient)
|
||||
(set-face 'custom-state 'face-salient)
|
||||
(set-face 'custom-link 'face-salient))
|
||||
|
||||
;; Package
|
||||
(with-eval-after-load 'package
|
||||
(set-face 'package-description 'default)
|
||||
(set-face 'package-help-section-name 'default)
|
||||
(set-face 'package-name 'face-salient)
|
||||
(set-face 'package-status-avail-obso 'face-faded)
|
||||
(set-face 'package-status-available 'default)
|
||||
(set-face 'package-status-built-in 'face-salient)
|
||||
(set-face 'package-status-dependency 'face-salient)
|
||||
(set-face 'package-status-disabled 'face-faded)
|
||||
(set-face 'package-status-external 'default)
|
||||
(set-face 'package-status-held 'default)
|
||||
(set-face 'package-status-incompat 'face-faded)
|
||||
(set-face 'package-status-installed 'face-salient)
|
||||
(set-face 'package-status-new 'default)
|
||||
(set-face 'package-status-unsigned 'default)
|
||||
|
||||
;; Button face is hardcoded, we have to redefine the relevant
|
||||
;; function
|
||||
(defun package-make-button (text &rest properties)
|
||||
"Insert button labeled TEXT with button PROPERTIES at point.
|
||||
PROPERTIES are passed to `insert-text-button', for which this
|
||||
function is a convenience wrapper used by `describe-package-1'."
|
||||
(let ((button-text (if (display-graphic-p)
|
||||
text (concat "[" text "]")))
|
||||
(button-face (if (display-graphic-p)
|
||||
'(:box `(:line-width 1
|
||||
:color "#999999":style nil)
|
||||
:foreground "#999999"
|
||||
:background "#F0F0F0")
|
||||
'link)))
|
||||
(apply #'insert-text-button button-text
|
||||
'face button-face 'follow-link t properties)))
|
||||
)
|
||||
|
||||
;; Flyspell
|
||||
(with-eval-after-load 'flyspell
|
||||
(set-face 'flyspell-duplicate 'face-popout)
|
||||
(set-face 'flyspell-incorrect 'face-popout))
|
||||
|
||||
;; Ido
|
||||
(with-eval-after-load 'ido
|
||||
(set-face 'ido-first-match 'face-salient)
|
||||
(set-face 'ido-only-match 'face-faded)
|
||||
(set-face 'ido-subdir 'face-strong))
|
||||
|
||||
;; Diff
|
||||
(with-eval-after-load 'diff-mode
|
||||
(set-face 'diff-header 'face-faded)
|
||||
(set-face 'diff-file-header 'face-strong)
|
||||
(set-face 'diff-context 'default)
|
||||
(set-face 'diff-removed 'face-faded)
|
||||
(set-face 'diff-changed 'face-popout)
|
||||
(set-face 'diff-added 'face-salient)
|
||||
(set-face 'diff-refine-added '(face-salient face-strong))
|
||||
(set-face 'diff-refine-changed 'face-popout)
|
||||
(set-face 'diff-refine-removed 'face-faded)
|
||||
(set-face-attribute 'diff-refine-removed nil :strike-through t))
|
||||
|
||||
;; Term
|
||||
(with-eval-after-load 'term
|
||||
;; (setq eterm-256color-disable-bold nil)
|
||||
(set-face 'term-bold 'face-strong)
|
||||
(set-face-attribute 'term-color-black nil
|
||||
:foreground (face-foreground 'default)
|
||||
:background (face-foreground 'default))
|
||||
(set-face-attribute 'term-color-white nil
|
||||
:foreground "white" :background "white")
|
||||
(set-face-attribute 'term-color-blue nil
|
||||
:foreground "#42A5F5" :background "#BBDEFB")
|
||||
(set-face-attribute 'term-color-cyan nil
|
||||
:foreground "#26C6DA" :background "#B2EBF2")
|
||||
(set-face-attribute 'term-color-green nil
|
||||
:foreground "#66BB6A" :background "#C8E6C9")
|
||||
(set-face-attribute 'term-color-magenta nil
|
||||
:foreground "#AB47BC" :background "#E1BEE7")
|
||||
(set-face-attribute 'term-color-red nil
|
||||
:foreground "#EF5350" :background "#FFCDD2")
|
||||
(set-face-attribute 'term-color-yellow nil
|
||||
:foreground "#FFEE58" :background "#FFF9C4"))
|
||||
|
||||
;; org-agende
|
||||
(with-eval-after-load 'org-agenda
|
||||
(set-face 'org-agenda-calendar-event 'default)
|
||||
(set-face 'org-agenda-calendar-sexp 'face-faded)
|
||||
(set-face 'org-agenda-clocking 'face-faded)
|
||||
(set-face 'org-agenda-column-dateline 'face-faded)
|
||||
(set-face 'org-agenda-current-time 'face-faded)
|
||||
(set-face 'org-agenda-date 'face-salient)
|
||||
(set-face 'org-agenda-date-today '(face-salient face-strong))
|
||||
(set-face 'org-agenda-date-weekend 'face-faded)
|
||||
(set-face 'org-agenda-diary 'face-faded)
|
||||
(set-face 'org-agenda-dimmed-todo-face 'face-faded)
|
||||
(set-face 'org-agenda-done 'face-faded)
|
||||
(set-face 'org-agenda-filter-category 'face-faded)
|
||||
(set-face 'org-agenda-filter-effort 'face-faded)
|
||||
(set-face 'org-agenda-filter-regexp 'face-faded)
|
||||
(set-face 'org-agenda-filter-tags 'face-faded)
|
||||
(set-face 'org-agenda-property-face 'face-faded)
|
||||
(set-face 'org-agenda-restriction-lock 'face-faded)
|
||||
(set-face 'org-agenda-structure 'face-faded))
|
||||
|
||||
;; org mode
|
||||
(with-eval-after-load 'org
|
||||
(set-face 'org-archived 'face-faded)
|
||||
(set-face 'org-block 'face-faded)
|
||||
(set-face 'org-block-begin-line 'face-faded)
|
||||
(set-face 'org-block-end-line 'face-faded)
|
||||
(set-face 'org-checkbox 'face-faded)
|
||||
(set-face 'org-checkbox-statistics-done 'face-faded)
|
||||
(set-face 'org-checkbox-statistics-todo 'face-faded)
|
||||
(set-face 'org-clock-overlay 'face-faded)
|
||||
(set-face 'org-code 'face-faded)
|
||||
(set-face 'org-column 'face-faded)
|
||||
(set-face 'org-column-title 'face-faded)
|
||||
(set-face 'org-date 'face-faded)
|
||||
(set-face 'org-date-selected 'face-faded)
|
||||
(set-face 'org-default 'face-faded)
|
||||
(set-face 'org-document-info 'face-faded)
|
||||
(set-face 'org-document-info-keyword 'face-faded)
|
||||
(set-face 'org-document-title 'face-faded)
|
||||
(set-face 'org-done 'default)
|
||||
(set-face 'org-drawer 'face-faded)
|
||||
(set-face 'org-ellipsis 'face-faded)
|
||||
(set-face 'org-footnote 'face-faded)
|
||||
(set-face 'org-formula 'face-faded)
|
||||
(set-face 'org-headline-done 'face-faded)
|
||||
;; (set-face 'org-hide 'face-faded)
|
||||
;; (set-face 'org-indent 'face-faded)
|
||||
(set-face 'org-latex-and-related 'face-faded)
|
||||
(set-face 'org-level-1 'face-strong)
|
||||
(set-face 'org-level-2 'face-strong)
|
||||
(set-face 'org-level-3 'face-strong)
|
||||
(set-face 'org-level-4 'face-strong)
|
||||
(set-face 'org-level-5 'face-strong)
|
||||
(set-face 'org-level-6 'face-strong)
|
||||
(set-face 'org-level-7 'face-strong)
|
||||
(set-face 'org-level-8 'face-strong)
|
||||
(set-face 'org-link 'face-salient)
|
||||
(set-face 'org-list-dt 'face-faded)
|
||||
(set-face 'org-macro 'face-faded)
|
||||
(set-face 'org-meta-line 'face-faded)
|
||||
(set-face 'org-mode-line-clock 'face-faded)
|
||||
(set-face 'org-mode-line-clock-overrun 'face-faded)
|
||||
(set-face 'org-priority 'face-faded)
|
||||
(set-face 'org-property-value 'face-faded)
|
||||
(set-face 'org-quote 'face-faded)
|
||||
(set-face 'org-scheduled 'face-faded)
|
||||
(set-face 'org-scheduled-previously 'face-faded)
|
||||
(set-face 'org-scheduled-today 'face-faded)
|
||||
(set-face 'org-sexp-date 'face-faded)
|
||||
(set-face 'org-special-keyword 'face-faded)
|
||||
(set-face 'org-table 'face-faded)
|
||||
(set-face 'org-tag 'face-faded)
|
||||
(set-face 'org-tag-group 'face-faded)
|
||||
(set-face 'org-target 'face-faded)
|
||||
(set-face 'org-time-grid 'face-faded)
|
||||
(set-face 'org-todo 'face-popout)
|
||||
(set-face 'org-upcoming-deadline 'face-faded)
|
||||
(set-face 'org-verbatim 'face-faded)
|
||||
(set-face 'org-verse 'face-faded)
|
||||
(set-face 'org-warning 'face-popout))
|
||||
|
||||
;; Mu4e
|
||||
(with-eval-after-load 'mu4e
|
||||
(set-face 'mu4e-attach-number-face 'face-strong)
|
||||
(set-face 'mu4e-cited-1-face 'face-faded)
|
||||
(set-face 'mu4e-cited-2-face 'face-faded)
|
||||
(set-face 'mu4e-cited-3-face 'face-faded)
|
||||
(set-face 'mu4e-cited-4-face 'face-faded)
|
||||
(set-face 'mu4e-cited-5-face 'face-faded)
|
||||
(set-face 'mu4e-cited-6-face 'face-faded)
|
||||
(set-face 'mu4e-cited-7-face 'face-faded)
|
||||
(set-face 'mu4e-compose-header-face 'face-faded)
|
||||
(set-face 'mu4e-compose-separator-face 'face-faded)
|
||||
(set-face 'mu4e-contact-face 'face-salient)
|
||||
(set-face 'mu4e-context-face 'face-faded)
|
||||
(set-face 'mu4e-draft-face 'face-faded)
|
||||
(set-face 'mu4e-flagged-face 'face-faded)
|
||||
(set-face 'mu4e-footer-face 'face-faded)
|
||||
(set-face 'mu4e-forwarded-face 'face-faded)
|
||||
(set-face 'mu4e-header-face 'default)
|
||||
(set-face 'mu4e-header-highlight-face 'face-subtle)
|
||||
(set-face 'mu4e-header-key-face 'face-strong)
|
||||
(set-face 'mu4e-header-marks-face 'face-faded)
|
||||
(set-face 'mu4e-header-title-face 'face-strong)
|
||||
(set-face 'mu4e-header-value-face 'default)
|
||||
(set-face 'mu4e-highlight-face 'face-popout)
|
||||
(set-face 'mu4e-link-face 'face-salient)
|
||||
(set-face 'mu4e-modeline-face 'face-faded)
|
||||
(set-face 'mu4e-moved-face 'face-faded)
|
||||
(set-face 'mu4e-ok-face 'face-faded)
|
||||
(set-face 'mu4e-region-code 'face-faded)
|
||||
(set-face 'mu4e-replied-face 'face-salient)
|
||||
(set-face 'mu4e-special-header-value-face 'default)
|
||||
(set-face 'mu4e-system-face 'face-faded)
|
||||
(set-face 'mu4e-title-face 'face-strong)
|
||||
(set-face 'mu4e-trashed-face 'face-faded)
|
||||
(set-face 'mu4e-unread-face 'face-strong)
|
||||
(set-face 'mu4e-url-number-face 'face-faded)
|
||||
(set-face 'mu4e-view-body-face 'default)
|
||||
(set-face 'mu4e-warning-face 'face-faded))
|
||||
|
||||
(provide 'elegance)
|
||||
|
|
@ -0,0 +1,166 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
sodipodi:docname="logo.svg"
|
||||
version="1.0"
|
||||
height="217"
|
||||
width="270"
|
||||
inkscape:version="1.0 (4035a4f, 2020-05-01)"
|
||||
sodipodi:version="0.32"
|
||||
id="svg6612">
|
||||
<metadata
|
||||
id="metadata6617">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/GPL/2.0/" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Dmitry Dzhus</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2007-07</dc:date>
|
||||
<dc:title>Emacs logo</dc:title>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>emacs</rdf:li>
|
||||
<rdf:li>logo</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
<dc:description>Emacs logo by Luis Fernandes was created in 2001. This is an SVG version created by hand from scratch in Inkscape.</dc:description>
|
||||
<dc:language>en</dc:language>
|
||||
</cc:Work>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/GPL/2.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Distribution" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/Notice" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/ShareAlike" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/SourceCode" />
|
||||
</cc:License>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6615" />
|
||||
<sodipodi:namedview
|
||||
inkscape:window-maximized="0"
|
||||
showguides="false"
|
||||
showgrid="false"
|
||||
inkscape:document-rotation="0"
|
||||
inkscape:current-layer="svg6612"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="108.5"
|
||||
inkscape:cx="135"
|
||||
inkscape:zoom="3.6036866"
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1276"
|
||||
inkscape:window-height="990" />
|
||||
<path
|
||||
sodipodi:nodetypes="cscsc"
|
||||
id="path4129"
|
||||
d="M 59.52326,215.22497 C 59.52326,215.22497 59.27673,200.6302 83.97934,169.66565 C 103.89115,144.70633 126.9747,108.72269 126.9747,108.72269 C 126.9747,108.72269 123.19002,127.70379 106.37085,149.37427 C 86.73889,174.66885 59.52326,215.22497 59.52326,215.22497 z "
|
||||
style="fill:#c64e3b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.125;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="cscsss"
|
||||
id="path3158"
|
||||
d="M 127.36915,186.62713 C 122.37967,184.13239 151.44844,115.94374 155.47392,138.89833 C 157.2786,149.18917 173.91459,120.35904 173.91459,120.35904 C 173.91459,120.35904 186.98084,96.593259 187.62183,98.664137 C 190.66678,108.50167 152.1911,172.20679 149.45851,156.15564 C 146.69677,139.93327 127.96083,186.92297 127.36915,186.62713 z "
|
||||
style="fill:#c64e3b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.125;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<g
|
||||
style="fill:#2076c1;fill-opacity:1;stroke:none"
|
||||
id="g2201">
|
||||
<path
|
||||
style="fill:#2076c1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
|
||||
d="M 79.886738,152.50463 C 67.822172,155.61715 50.502331,192.18769 49.743523,198.14195 C 52.532726,198.83925 111.02019,130.19512 80.295208,193.81167 C 102.57324,174.95912 124.9556,141.04167 107.8027,183.94795 C 103.74903,194.08781 123.59559,194.09426 142.96938,172.96563 C 137.88975,176.22186 112.22868,191.62171 126.35499,159.60889 C 133.77483,142.79418 109.21923,159.41447 102.3683,165.83729 C 103.80096,159.33343 108.94433,147.78354 100.61675,150.98227 C 92.289176,154.181 83.310373,160.6892 67.937825,175.11509 C 76.765795,160.89643 77.224181,159.40756 79.886738,152.50463 z "
|
||||
id="path2173"
|
||||
sodipodi:nodetypes="cccscscscc" />
|
||||
<path
|
||||
style="fill:#2076c1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
|
||||
d="M 248.85492,188.50638 C 263.21933,186.53398 284.36437,164.67209 255.21207,163.30784 C 223.17817,161.81588 262.88238,150.47751 262.88238,150.47751 C 245.58932,149.36183 214.14946,168.68613 239.80172,165.74839 C 265.63062,162.76646 265.93049,186.17596 239.24388,186.14445 C 235.50916,186.14004 236.66387,182.41388 236.66387,182.41388 L 225.77752,187.22526 C 236.0826,190.18366 240.70876,189.62494 248.85492,188.50638 z "
|
||||
id="path2183"
|
||||
sodipodi:nodetypes="cscssccs" />
|
||||
<path
|
||||
style="fill:#2076c1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
|
||||
d="M 35.422878,148.66454 C 20.150885,157.04591 -6.2772909,190.95274 6.2647537,199.01662 C 17.984924,206.55208 68.941642,170.29445 77.667057,153.75538 C 4.3035383,211.52619 14.065561,174.90254 27.008448,162.02628 C 35.805465,151.30801 64.004057,143.68513 71.481066,128.52052 C 32.789119,149.29474 30.405114,131.50519 62.642197,110.82103 C 68.569623,107.02504 107.74937,89.042889 77.768775,114.28261 C 95.502651,106.02716 110.52675,93.267855 98.941531,90.767173 C 83.884151,87.517022 60.202847,105.92694 48.092626,115.80927 C 40.969928,121.62162 11.868522,145.38354 35.422878,148.66454 z "
|
||||
id="path6069"
|
||||
sodipodi:nodetypes="cscccscssc" />
|
||||
<g
|
||||
style="fill:#2076c1;fill-opacity:1;stroke:none"
|
||||
id="g2188">
|
||||
<path
|
||||
sodipodi:nodetypes="ccc"
|
||||
id="path2175"
|
||||
d="M 153.52386,181.54504 C 114.3973,212.57672 133.43947,164.59338 180.00502,149.95001 C 144.43247,174.12306 139.76476,184.61018 153.52386,181.54504 z "
|
||||
style="fill:#2076c1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccc"
|
||||
id="path2177"
|
||||
d="M 196.30981,176.96638 C 156.1373,209.46239 150.29865,172.10195 184.30492,155.10468 C 167.14111,181.92747 183.59666,177.6607 196.30981,176.96638 z "
|
||||
style="fill:#2076c1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#2076c1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
|
||||
d="M 229.3687,178.97034 C 185.57023,211.04797 178.47643,161.27557 237.30661,150.27509 C 188.34589,179.18978 219.44475,183.56954 229.3687,178.97034 z "
|
||||
id="path2179"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
<g
|
||||
style="stroke:none"
|
||||
id="g2233">
|
||||
<path
|
||||
style="fill:#c64e3b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.125;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 176.57988,37.972907 C 174.9871,39.007967 168.87448,51.953525 168.7783,53.533221 C 180.64186,73.113933 202.57955,40.078784 206.55381,24.980764 C 206.55381,24.980764 196.17124,43.179003 186.77317,43.526939 C 175.75676,43.93479 178.17554,36.935973 176.57988,37.972907 z "
|
||||
id="path9706"
|
||||
sodipodi:nodetypes="cccsz" />
|
||||
<path
|
||||
style="fill:#c64e3b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.125;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 22.47173,15.758997 L 15.81003,32.485756 C 15.81003,32.485756 19.89052,42.218104 26.49069,42.838195 C 41.61737,44.259359 58.45245,15.619537 63.19409,15.758997 C 67.93574,15.898457 77.55353,23.422298 82.6657,33.922656 C 89.39535,20.759071 97.58642,14.911225 111.16839,24.667015 C 119.07042,30.342966 135.58934,52.795226 145.47559,53.901349 C 156.18021,55.099037 165.37798,44.912817 169.81138,26.288239 C 163.67513,34.237468 161.1768,37.806706 155.0286,38.212082 C 148.68317,38.630462 149.241,39.885604 127.06684,16.874679 C 104.89268,-6.1362469 94.43317,4.8811053 87.87854,14.643316 C 86.41421,13.039524 78.99699,1.01863 70.05858,1.1156811 C 63.72511,1.1844483 53.17415,16.174161 46.86414,21.616488 C 40.30897,27.270272 36.37856,28.267647 33.99471,28.294944 C 30.30074,28.339067 25.84923,26.450798 22.47173,15.758997 z "
|
||||
id="path7673"
|
||||
sodipodi:nodetypes="ccsscsscsscsssc" />
|
||||
<path
|
||||
style="fill:#c64e3b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.125;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 76.60517,33.616604 C 59.9071,53.934058 59.23819,54.418087 50.46092,68.860929 C 41.68365,83.303771 39.35397,92.905012 43.4733,96.486252 C 47.62389,100.09467 55.01913,100.29382 64.07871,93.597586 C 76.68602,83.936084 93.51416,70.148169 98.13382,58.409876 C 99.33455,55.358876 77.4725,76.054153 68.69926,81.186233 C 63.43563,84.265304 56.36004,85.075126 52.55923,81.397725 C 44.80291,73.893236 79.52343,36.77475 76.60517,33.616604 z "
|
||||
id="path8693"
|
||||
sodipodi:nodetypes="csscsssc" />
|
||||
<path
|
||||
style="fill:#c64e3b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.125;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 101.40617,64.709511 C 101.3713,63.070854 109.84351,50.554306 111.30784,50.066195 C 132.55351,64.354287 121.48844,101.10862 114.51543,104.3162 C 114.51543,104.3162 115.7357,88.557199 112.56298,78.655527 C 109.39026,68.753854 101.4411,66.351131 101.40617,64.709511 z "
|
||||
id="path9704"
|
||||
sodipodi:nodetypes="cccsz" />
|
||||
<path
|
||||
style="fill:#c64e3b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.125;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 212.01995,32.790058 C 210.0143,24.25611 219.12924,1.1854142 230.75546,1.1854142 C 259.78347,1.1854142 245.6869,47.473559 240.02956,64.570053 C 226.22301,100.34158 217.47477,153.8249 216.87918,158.42673 C 216.15214,164.0442 207.47903,179.09487 211.85861,154.24293 C 216.23819,129.39099 224.1069,100.38994 233.56074,66.549824 C 238.51906,48.801431 244.54954,17.14762 227.7868,17.100791 C 219.23545,16.991458 219.72047,23.025811 212.01995,32.790058 z "
|
||||
id="path2171"
|
||||
sodipodi:nodetypes="cscssscc" />
|
||||
</g>
|
||||
<g
|
||||
transform="translate(0.8166413,4.3944529)"
|
||||
id="g2256"
|
||||
style="fill:#000000;fill-opacity:1;stroke:none" />
|
||||
</svg>
|
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue