Update themes
This commit is contained in:
parent
1c90e9c4bc
commit
8315c34d5e
17 changed files with 1788 additions and 18 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -8,3 +8,5 @@ bookmarks
|
|||
/history
|
||||
org-clock-save.el
|
||||
elpa/archives/melpa/archive-contents
|
||||
__pycache__/
|
||||
elpy/rpc-venv/
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
'(column-number-mode t)
|
||||
'(custom-safe-themes
|
||||
(quote
|
||||
("85d1dbf2fc0e5d30f236712b831fb24faf6052f3114964fdeadede8e1b329832" "4639288d273cbd3dc880992e6032f9c817f17c4a91f00f3872009a099f5b3f84" "14c848e2c4a0a11fcd118e2519078aa50bb6020f89035423b40fff421fb24fbd" "cdb4ffdecc682978da78700a461cdc77456c3a6df1c1803ae2dd55c59fa703e3" "9e31aff9afe3c20a33dd966b4c54c6a5151f07659362e4b06bde38ded5370dae" "24fc62afe2e5f0609e436aa2427b396adf9a958a8fa660edbaab5fb13c08aae6" "82358261c32ebedfee2ca0f87299f74008a2e5ba5c502bde7aaa15db20ee3731" "4515feff287a98863b7b7f762197a78a7c2bfb6ec93879e7284dff184419268c" default)))
|
||||
("fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "fa2af0c40576f3bde32290d7f4e7aa865eb6bf7ebe31eb9e37c32aa6f4ae8d10" "e396098fd5bef4f0dd6cedd01ea48df1ecb0554d8be0d8a924fb1d926f02f90f" "acfac6b14461a344f97fad30e2362c26a3fe56a9f095653832d8fc029cb9d05c" "85d1dbf2fc0e5d30f236712b831fb24faf6052f3114964fdeadede8e1b329832" "4639288d273cbd3dc880992e6032f9c817f17c4a91f00f3872009a099f5b3f84" "14c848e2c4a0a11fcd118e2519078aa50bb6020f89035423b40fff421fb24fbd" "cdb4ffdecc682978da78700a461cdc77456c3a6df1c1803ae2dd55c59fa703e3" "9e31aff9afe3c20a33dd966b4c54c6a5151f07659362e4b06bde38ded5370dae" "24fc62afe2e5f0609e436aa2427b396adf9a958a8fa660edbaab5fb13c08aae6" "82358261c32ebedfee2ca0f87299f74008a2e5ba5c502bde7aaa15db20ee3731" "4515feff287a98863b7b7f762197a78a7c2bfb6ec93879e7284dff184419268c" default)))
|
||||
'(default-frame-alist
|
||||
(quote
|
||||
((fullscreen . maximized)
|
||||
(width . 90)
|
||||
(height . 52)
|
||||
(width . 82)
|
||||
(height . 42)
|
||||
(vertical-scroll-bars)
|
||||
(horizontal-scroll-bars)
|
||||
(menu-bar-lines . 0)
|
||||
|
@ -35,7 +35,7 @@
|
|||
("Europe/Paris" "Paris")
|
||||
("Asia/Calcutta" "Bangalore")
|
||||
("Asia/Tokyo" "Tokyo"))))
|
||||
'(fill-column 80)
|
||||
'(fill-column 79)
|
||||
'(font-lock-maximum-decoration t)
|
||||
'(global-auto-revert-mode t)
|
||||
'(global-display-line-numbers-mode nil)
|
||||
|
@ -64,10 +64,8 @@
|
|||
(quote
|
||||
(("Emacs Wiki" "https://www.emacswiki.org/emacs?action=rss" nil 3600)
|
||||
("Sachachua" "https://sachachua.com/blog/feed/" nil 3600)
|
||||
("openSuse News" "https://news.opensuse.org/feed" nil 3600)
|
||||
("Phoronix" "https://www.phoronix.com/rss.php" nil 3600)
|
||||
("Ubuntu" "https://blog.ubuntu.com/feed" nil 3600)
|
||||
("Netzpolitik" "https://logbuch-netzpolitik.de/feed" nil 3600)
|
||||
("PBP" "https://pbpython.com/feeds/all.atom.xml" nil 3600)
|
||||
("Planet Python" "https://planetpython.org/rss20.xml" nil 3600)
|
||||
("lucumr" "http://lucumr.pocoo.org/feed.atom" nil 3600)
|
||||
|
@ -83,7 +81,7 @@
|
|||
'(package-enable-at-startup t)
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(leuven-theme htmlize scss-mode berrys-theme web-mode elpy python-docstring sphinx-doc sphinx-frontend sphinx-mode ox-nikola racket-mode slime gherkin-mode powershell typescript-mode ob-http ob-ipython ob-restclient nord-theme restclient request restclient-test yaml-mode magit)))
|
||||
(spacemacs-theme flucui-themes leuven-theme htmlize scss-mode berrys-theme web-mode elpy python-docstring sphinx-doc sphinx-frontend sphinx-mode ox-nikola racket-mode slime gherkin-mode powershell typescript-mode ob-http ob-ipython ob-restclient nord-theme restclient request restclient-test yaml-mode magit)))
|
||||
'(python-shell-interpreter "python3" t)
|
||||
'(register-preview-delay 2)
|
||||
'(register-separator 43)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
(setq *small-font* "Iosevka Term-11"
|
||||
(setq-default *small-font* "Iosevka Term-11"
|
||||
*big-font* "Iosevka Term-14"
|
||||
echo-keystrokes 0.02
|
||||
column-number-indicator-zero-based nil
|
||||
prettify-symbols-unprettify-at-point 'right-edge
|
||||
show-paren-delay 0
|
||||
show-paren-style 'expression
|
||||
whitespace-style '(tab-mark))
|
||||
(setq-default indicate-buffer-boundaries 'left)
|
||||
whitespace-style '(tab-mark)
|
||||
indicate-buffer-boundaries 'left)
|
||||
|
||||
(global-font-lock-mode)
|
||||
(global-prettify-symbols-mode)
|
||||
|
@ -24,7 +24,7 @@
|
|||
(when (eq system-type 'windows-nt)
|
||||
(when (display-graphic-p)
|
||||
(add-to-list 'default-frame-alist '(undecorated . nil))
|
||||
(add-to-list 'default-frame-alist '(font . "Iosevka Term Slab-11"))))
|
||||
(add-to-list 'default-frame-alist '(font . "Iosevka Term-12"))))
|
||||
|
||||
(when (eq system-type 'gnu/linux)
|
||||
(when (display-graphic-p)
|
||||
|
|
288
elpa/flucui-themes-20190321.2313/flucui-dark-theme.el
Normal file
288
elpa/flucui-themes-20190321.2313/flucui-dark-theme.el
Normal file
|
@ -0,0 +1,288 @@
|
|||
;;; flucui-dark-theme.el --- Custom theme inspired by the FlatUI palette
|
||||
|
||||
;; Copyright (C) 2018 MetroWind.
|
||||
|
||||
;; This program is free software. It comes without any warranty, to
|
||||
;; the extent permitted by applicable law. You can redistribute it
|
||||
;; and/or modify it under the terms of the Do What the Fuck You Want
|
||||
;; to Public License, Version 2, as published by Sam Hocevar. See
|
||||
;; http://www.wtfpl.net/ for more details.
|
||||
|
||||
;; Author: MetroWind <chris.corsair@gmail.com>
|
||||
;; URL: https://github.com/MetroWind/flucui-theme
|
||||
;; Keywords: lisp
|
||||
;; Version: 1.0
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
|
||||
;;; Commentary:
|
||||
;;
|
||||
;; Fluc UI theme is a custom theme for Emacs, inspired by
|
||||
;; http://flatuicolors.com. It Has both light and dark variants. This
|
||||
;; file provides dark variant.
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; Note: for every face that is customized here, a customization for
|
||||
;; it should be also provided in the light version. Otherwise it could
|
||||
;; be ugly when switching bwteen styles
|
||||
|
||||
(deftheme flucui-dark
|
||||
"Inspired by the color scheme from flatuicolors.com.")
|
||||
|
||||
;; Colors
|
||||
(let*
|
||||
((fui-turquoise "#1abc9c")
|
||||
(fui-emerald "#2ecc71")
|
||||
(fui-river "#3498db")
|
||||
(fui-amethyst "#9b59b6")
|
||||
(fui-deep-asphalt "#34495e")
|
||||
(fui-asphalt "#425d78")
|
||||
(fui-sunflower "#f1c40f")
|
||||
(fui-carrot "#e67e22")
|
||||
(fui-alizarin "#e74c3c")
|
||||
(fui-clouds "#ecf0f1")
|
||||
(fui-concrete "#95a5a6")
|
||||
(fui-dark-turquoise "#16a085")
|
||||
(fui-dark-emerald "#27ae60")
|
||||
(fui-dark-river "#2980b9")
|
||||
(fui-dark-amethyst "#8e44ad")
|
||||
(fui-dark-asphalt "#2c3e50")
|
||||
(fui-dark-sunflower "#f39c12")
|
||||
(fui-dark-carrot "#d35400")
|
||||
(fui-dark-alizarin "#c0392b")
|
||||
(fui-dark-clouds "#bdc3c7")
|
||||
(fui-deep-clouds "#dce0e1")
|
||||
(fui-dark-concrete "#7f8c8d")
|
||||
|
||||
(fui-bg fui-dark-asphalt)
|
||||
(fui-fg fui-dark-clouds))
|
||||
|
||||
(custom-theme-set-faces
|
||||
'flucui-dark
|
||||
`(default ((t (:background ,fui-bg
|
||||
:foreground ,fui-fg))))
|
||||
`(cursor ((t (:background ,fui-carrot
|
||||
:foreground ,fui-fg))))
|
||||
`(region ((t (:background ,fui-dark-sunflower
|
||||
:foreground ,fui-bg))))
|
||||
`(mode-line ((t (:background ,fui-asphalt
|
||||
:foreground ,fui-fg
|
||||
:box nil))))
|
||||
`(mode-line-buffer-id ((t (:foreground ,fui-fg))))
|
||||
`(mode-line-inactive ((t (:background ,fui-bg
|
||||
:foreground ,fui-fg))))
|
||||
`(fringe ((t (:background ,fui-bg))))
|
||||
`(minibuffer-prompt ((t (:slant italic :foreground ,fui-dark-concrete))))
|
||||
`(font-lock-builtin-face ((t (:foreground ,fui-deep-clouds))))
|
||||
`(font-lock-comment-face ((t (:slant italic :foreground ,fui-dark-concrete))))
|
||||
`(font-lock-constant-face ((t (:slant italic :foreground ,fui-deep-clouds))))
|
||||
`(font-lock-function-name-face ((t (:foreground ,fui-sunflower))))
|
||||
`(font-lock-keyword-face ((t (:foreground ,fui-deep-clouds :slant italic))))
|
||||
`(font-lock-string-face ((t (:foreground ,fui-turquoise))))
|
||||
`(font-lock-type-face ((t (:foreground ,fui-emerald))))
|
||||
`(font-lock-variable-name-face ((t (:foreground ,fui-river))))
|
||||
`(font-lock-warning-face ((t (:foreground ,fui-dark-carrot))))
|
||||
`(isearch ((t (:background ,fui-dark-concrete
|
||||
:foreground ,fui-fg))))
|
||||
`(lazy-highlight ((t (:background ,fui-concrete))))
|
||||
`(link ((t (:foreground ,fui-river :underline t))))
|
||||
`(link-visited ((t (:foreground ,fui-dark-concrete :underline t))))
|
||||
`(button ((t (:background ,fui-bg :underline t :foreground nil))))
|
||||
`(header-line ((t (:background ,fui-asphalt
|
||||
:foreground ,fui-fg))))
|
||||
`(shadow ((t (:foreground ,fui-dark-concrete))))
|
||||
`(show-paren-match ((t (:background ,fui-emerald :foreground ,fui-bg))))
|
||||
`(show-paren-mismatch ((t (:background ,fui-alizarin
|
||||
:foreground ,fui-bg))))
|
||||
`(highlight ((t (:inverse-video nil :background ,fui-asphalt))))
|
||||
`(hl-line ((t (:inverse-video nil :background ,fui-asphalt))))
|
||||
|
||||
;; Face for specific prog modes
|
||||
`(sh-heredoc ((t (:foreground nil :inherit font-lock-string-face))))
|
||||
|
||||
;; Dired
|
||||
`(dired-directory ((t (:foreground ,fui-river))))
|
||||
`(dired-symlink ((t (:foreground ,fui-turquoise))))
|
||||
`(dired-perm-write ((t (:foreground ,fui-dark-carrot))))
|
||||
|
||||
;; Diff
|
||||
`(diff-added ((t (:foreground ,fui-turquoise))))
|
||||
`(diff-removed ((t (:foreground ,fui-alizarin))))
|
||||
;; `(diff-context ((t (:inherit default))))
|
||||
`(diff-file-header ((t (:bold t :background ,fui-asphalt :weight bold :foreground ,fui-clouds))))
|
||||
`(diff-header ((t (:foreground ,fui-concrete :background ,fui-bg))))
|
||||
|
||||
;; Whitespace
|
||||
`(whitespace-trailing ((t (:background ,fui-asphalt))))
|
||||
`(whitespace-line ((t (:background ,fui-asphalt :foreground ,fui-fg))))
|
||||
|
||||
;; ERC
|
||||
`(erc-notice-face ((t (:foreground ,fui-river
|
||||
:weight unspecified))))
|
||||
`(erc-header-line ((t (:background ,fui-asphalt))))
|
||||
`(erc-timestamp-face ((t (:foreground ,fui-dark-concrete
|
||||
:weight unspecified))))
|
||||
`(erc-current-nick-face ((t (:foreground ,fui-sunflower
|
||||
:weight unspecified))))
|
||||
`(erc-input-face ((t (:foreground ,fui-fg))))
|
||||
`(erc-prompt-face ((t (:foreground ,fui-dark-concrete
|
||||
:background nil
|
||||
:slant italic
|
||||
:weight unspecified))))
|
||||
`(erc-my-nick-face ((t (:foreground ,fui-sunflower))))
|
||||
`(erc-pal-face ((t (:foreground ,fui-emerald))))
|
||||
|
||||
;; Rainbow delimiters
|
||||
`(rainbow-delimiters-depth-1-face ((t (:foreground ,fui-fg))))
|
||||
`(rainbow-delimiters-depth-2-face ((t (:foreground ,fui-river))))
|
||||
`(rainbow-delimiters-depth-3-face ((t (:foreground ,fui-carrot))))
|
||||
`(rainbow-delimiters-depth-4-face ((t (:foreground ,fui-amethyst))))
|
||||
`(rainbow-delimiters-depth-5-face ((t (:foreground ,fui-sunflower))))
|
||||
`(rainbow-delimiters-depth-6-face ((t (:foreground ,fui-emerald))))
|
||||
`(rainbow-delimiters-depth-7-face ((t (:foreground ,fui-concrete))))
|
||||
`(rainbow-delimiters-unmatched-face ((t (:foreground ,fui-alizarin))))
|
||||
|
||||
;; Magit
|
||||
`(magit-branch-local ((t (:foreground ,fui-river :background nil))))
|
||||
`(magit-branch-remote ((t (:foreground ,fui-emerald :background nil))))
|
||||
`(magit-tag ((t (:foreground ,fui-river :background ,fui-bg))))
|
||||
`(magit-hash ((t (:foreground ,fui-concrete))))
|
||||
`(magit-section-title ((t (:foreground ,fui-dark-emerald :background ,fui-bg))))
|
||||
`(magit-section-heading ((t (:background ,fui-asphalt :foreground ,fui-fg))))
|
||||
`(magit-section-highlight ((t (:background ,fui-asphalt))))
|
||||
`(magit-item-highlight ((t (:foreground ,fui-fg :background ,fui-deep-clouds))))
|
||||
`(magit-log-author ((t (:foreground ,fui-sunflower))))
|
||||
`(magit-diff-added ((t (:inherit diff-added))))
|
||||
`(magit-diff-added-highlight ((t (:inherit magit-diff-added))))
|
||||
`(magit-diff-removed ((t (:inherit diff-removed))))
|
||||
`(magit-diff-removed-highlight ((t (:inherit magit-diff-removed))))
|
||||
`(magit-diff-context ((t (:inherit diff-context))))
|
||||
`(magit-diff-context-highlight ((t (:inherit magit-diff-context))))
|
||||
|
||||
;; Git-gutter-fringe
|
||||
`(git-gutter-fr:modified ((t (:foreground ,fui-sunflower))))
|
||||
`(git-gutter-fr:added ((t (:foreground ,fui-emerald))))
|
||||
`(git-gutter-fr:deleted ((t (:foreground ,fui-alizarin))))
|
||||
|
||||
;; Company
|
||||
`(company-preview ((t (:foreground ,fui-fg :background ,fui-sunflower))))
|
||||
`(company-preview-common ((t (:foreground ,fui-fg :background ,fui-carrot))))
|
||||
`(company-tooltip ((t (:foreground ,fui-fg :background ,fui-asphalt))))
|
||||
`(company-tooltip-common ((t (:foreground ,fui-sunflower))))
|
||||
`(company-tooltip-selection ((t (:background ,fui-deep-asphalt))))
|
||||
`(company-tooltip-common-selection ((t (:foreground ,fui-sunflower))))
|
||||
`(company-tooltip-annotation ((t (:foreground ,fui-emerald))))
|
||||
`(company-scrollbar-bg ((t (:background ,fui-bg))))
|
||||
`(company-scrollbar-fg ((t (:background ,fui-asphalt))))
|
||||
|
||||
;; Cperl
|
||||
`(cperl-array-face ((t (:weight bold :inherit font-lock-variable-name-face))))
|
||||
`(cperl-hash-face ((t (:weight bold :slant italic :inherit font-lock-variable-name-face))))
|
||||
`(cperl-nonoverridable-face ((t (:inherit font-lock-builtin-face))))
|
||||
|
||||
;; Powerline
|
||||
`(mode-line ((t (:box nil))))
|
||||
`(powerline-active2 ((t (:foreground ,fui-fg :background ,fui-dark-clouds))))
|
||||
`(powerline-active1 ((t (:foreground ,fui-bg :background ,fui-emerald))))
|
||||
`(powerline-inactive2 ((t (:foreground ,fui-bg :background ,fui-concrete))))
|
||||
`(powerline-inactive1 ((t (:foreground ,fui-fg :background ,fui-dark-clouds))))
|
||||
|
||||
;; Smart mode line
|
||||
`(sml/global ((t (:foreground ,fui-fg))))
|
||||
`(sml/charging ((t (:foreground ,fui-emerald))))
|
||||
`(sml/discharging ((t (:foreground ,fui-dark-alizarin))))
|
||||
`(sml/read-only ((t (:foreground ,fui-dark-emerald))))
|
||||
`(sml/filename ((t (:foreground ,fui-turquoise))))
|
||||
`(sml/prefix ((t (:foreground ,fui-amethyst :weight normal :slant italic))))
|
||||
`(sml/modes ((t (:foreground ,fui-fg :weight bold))))
|
||||
`(sml/modified ((t (:foreground ,fui-alizarin))))
|
||||
`(sml/outside-modified ((t (:foreground ,fui-bg :background ,fui-alizarin))))
|
||||
`(sml/position-percentage ((t (:foreground ,fui-river :slant normal))))
|
||||
|
||||
;; Helm
|
||||
`(helm-candidate-number ((t (:foreground ,fui-fg :background nil))))
|
||||
`(helm-source-header ((t (:foreground ,fui-fg :background ,fui-asphalt
|
||||
:weight normal :slant italic))))
|
||||
`(helm-selection ((t (:background ,fui-dark-sunflower :foreground ,fui-bg))))
|
||||
`(helm-prefarg ((t (:foreground ,fui-dark-alizarin))))
|
||||
`(helm-ff-directory ((t (:foreground ,fui-river))))
|
||||
`(helm-ff-executable ((t (:foreground ,fui-emerald))))
|
||||
`(helm-ff-invalid-symlink ((t (:foreground ,fui-bg :background ,fui-dark-alizarin))))
|
||||
`(helm-ff-symlink ((t (:foreground ,fui-amethyst))))
|
||||
`(helm-ff-prefix ((t (:background ,fui-sunflower))))
|
||||
`(helm-ff-dotted-directory ((t (:background nil :foreground ,fui-dark-concrete))))
|
||||
`(helm-M-x-key ((t (:foreground ,fui-dark-emerald))))
|
||||
`(helm-buffer-file ((t (:foreground ,fui-fg))))
|
||||
`(helm-buffer-archive ((t (:inherit helm-buffer-file))))
|
||||
`(helm-buffer-directory ((t (:foreground ,fui-river :background nil))))
|
||||
`(helm-buffer-not-saved ((t (:foreground ,fui-dark-alizarin))))
|
||||
`(helm-buffer-modified ((t (:foreground ,fui-carrot))))
|
||||
`(helm-buffer-process ((t (:foreground ,fui-dark-emerald))))
|
||||
`(helm-buffer-size ((t (:foreground ,fui-dark-concrete))))
|
||||
`(helm-ff-file ((t (:inherit default))))
|
||||
|
||||
;; TeX
|
||||
`(font-latex-sedate-face ((t (:foreground ,fui-river))))
|
||||
`(font-latex-math-face ((t (:foreground ,fui-turquoise))))
|
||||
`(font-latex-script-char-face ((t (:inherit font-latex-math-face))))
|
||||
|
||||
;; adoc-mode
|
||||
`(markup-meta-hide-face ((t (:height 1.0 :foreground ,fui-fg))))
|
||||
`(markup-meta-face ((t (:height 1.0 :foreground ,fui-fg :family nil))))
|
||||
`(markup-reference-face ((t (:underline nil :foreground ,fui-river))))
|
||||
`(markup-gen-face ((t (:foreground ,fui-emerald))))
|
||||
`(markup-passthrough-face ((t (:inherit markup-gen-face))))
|
||||
`(markup-replacement-face ((t (:family nil :foreground ,fui-amethyst))))
|
||||
`(markup-list-face ((t (:weight bold))))
|
||||
`(markup-secondary-text-face ((t (:height 1.0 :foreground ,fui-emerald))))
|
||||
`(markup-verbatim-face ((t (:foreground ,fui-concrete))))
|
||||
`(markup-typewriter-face ((t (:inherit nil))))
|
||||
`(markup-title-0-face ((t (:height 1.2 :inherit markup-gen-face))))
|
||||
`(markup-title-1-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-2-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-3-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-4-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-5-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
|
||||
;; Org-mode
|
||||
`(org-hide ((t (:foreground ,fui-bg))))
|
||||
`(org-table ((t (:foreground ,fui-fg))))
|
||||
`(org-date ((t (:foreground ,fui-emerald))))
|
||||
`(org-done ((t (:weight normal :foreground ,fui-dark-concrete))))
|
||||
`(org-todo ((t (:weight normal :foreground ,fui-carrot))))
|
||||
`(org-latex-and-related ((t (:foreground ,fui-concrete :italic t))))
|
||||
`(org-checkbox ((t (:weight normal :foreground ,fui-concrete))))
|
||||
`(org-mode-line-clock ((t (:background nil))))
|
||||
`(org-document-title ((t (:weight normal :foreground nil))))
|
||||
|
||||
;; Message
|
||||
`(message-header-name ((t (:foreground ,fui-concrete))))
|
||||
`(message-header-other ((t (:foreground ,fui-fg))))
|
||||
`(message-header-cc ((t (:inherit message-header-other))))
|
||||
`(message-header-newsgroups ((t (:inherit message-header-other))))
|
||||
`(message-header-xheader ((t (:inherit message-header-other))))
|
||||
`(message-header-subject ((t (:foreground ,fui-emerald))))
|
||||
`(message-header-to ((t (:foreground ,fui-river))))
|
||||
`(message-mml ((t (:foreground ,fui-dark-concrete))))
|
||||
|
||||
;; Notmuch
|
||||
`(notmuch-search-unread-face ((t (:foreground ,fui-river))))
|
||||
`(notmuch-tag-face ((t (:foreground ,fui-emerald))))
|
||||
`(notmuch-tree-match-author-face ((t (:foreground ,fui-river))))
|
||||
`(notmuch-tree-no-match-face ((t (:foreground ,fui-concrete))))
|
||||
`(notmuch-tree-match-tag-face ((t (:inherit notmuch-tree-match-author-face))))
|
||||
`(notmuch-tag-unread-face ((t (:foreground ,fui-carrot))))
|
||||
`(notmuch-message-summary-face ((t (:foreground ,fui-concrete))))
|
||||
|
||||
;; Highlight-indent-guides
|
||||
`(highlight-indent-guides-odd-face ((t (:background ,fui-deep-asphalt))))
|
||||
`(highlight-indent-guides-even-face ((t (:background nil))))
|
||||
))
|
||||
|
||||
(provide-theme 'flucui-dark)
|
||||
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
||||
|
||||
;;; flucui-dark-theme.el ends here
|
288
elpa/flucui-themes-20190321.2313/flucui-light-theme.el
Normal file
288
elpa/flucui-themes-20190321.2313/flucui-light-theme.el
Normal file
|
@ -0,0 +1,288 @@
|
|||
;;; flucui-light-theme.el --- Custom theme inspired by the FlatUI palette
|
||||
|
||||
;; Copyright (C) 2010--2018 MetroWind.
|
||||
|
||||
;; This program is free software. It comes without any warranty, to
|
||||
;; the extent permitted by applicable law. You can redistribute it
|
||||
;; and/or modify it under the terms of the Do What the Fuck You Want
|
||||
;; to Public License, Version 2, as published by Sam Hocevar. See
|
||||
;; http://www.wtfpl.net/ for more details.
|
||||
|
||||
;; Author: MetroWind <chris.corsair@gmail.com>
|
||||
;; URL: https://github.com/MetroWind/flucui-theme
|
||||
;; Keywords: lisp
|
||||
;; Version: 1.0
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
|
||||
;;; Commentary:
|
||||
;;
|
||||
;; Fluc UI theme is a custom theme for Emacs, inspired by
|
||||
;; http://flatuicolors.com. It Has both light and dark variants. This
|
||||
;; file provides light variant.
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; Note: for every face that is customized here, a customization for
|
||||
;; it should be also provided in the dark version. Otherwise it could
|
||||
;; be ugly when switching bwteen styles
|
||||
|
||||
(deftheme flucui-light
|
||||
"Inspired by the color scheme from flatuicolors.com.")
|
||||
|
||||
;; Colors
|
||||
(let*
|
||||
((fui-turquoise "#1abc9c")
|
||||
(fui-emerald "#2ecc71")
|
||||
(fui-river "#3498db")
|
||||
(fui-amethyst "#9b59b6")
|
||||
(fui-deep-asphalt "#34495e")
|
||||
(fui-asphalt "#425d78")
|
||||
(fui-sunflower "#f1c40f")
|
||||
(fui-carrot "#e67e22")
|
||||
(fui-alizarin "#e74c3c")
|
||||
(fui-clouds "#ecf0f1")
|
||||
(fui-concrete "#95a5a6")
|
||||
(fui-dark-turquoise "#16a085")
|
||||
(fui-dark-emerald "#27ae60")
|
||||
(fui-dark-river "#2980b9")
|
||||
(fui-dark-amethyst "#8e44ad")
|
||||
(fui-dark-asphalt "#2c3e50")
|
||||
(fui-dark-sunflower "#f39c12")
|
||||
(fui-dark-carrot "#d35400")
|
||||
(fui-dark-alizarin "#c0392b")
|
||||
(fui-dark-clouds "#bdc3c7")
|
||||
(fui-deep-clouds "#dce0e1")
|
||||
(fui-dark-concrete "#7f8c8d")
|
||||
|
||||
(fui-bg fui-clouds)
|
||||
(fui-fg fui-asphalt))
|
||||
|
||||
(custom-theme-set-faces
|
||||
'flucui-light
|
||||
`(default ((t (:background ,fui-bg
|
||||
:foreground ,fui-fg))))
|
||||
`(cursor ((t (:background ,fui-carrot
|
||||
:foreground ,fui-fg))))
|
||||
`(region ((t (:background ,fui-dark-sunflower
|
||||
:foreground ,fui-fg))))
|
||||
`(mode-line ((t (:background ,fui-deep-clouds
|
||||
:foreground ,fui-fg
|
||||
:box nil))))
|
||||
`(mode-line-buffer-id ((t (:foreground ,fui-fg))))
|
||||
`(mode-line-inactive ((t (:background ,fui-dark-clouds
|
||||
:foreground ,fui-fg))))
|
||||
`(fringe ((t (:background ,fui-bg))))
|
||||
`(minibuffer-prompt ((t (:slant italic :foreground ,fui-dark-concrete))))
|
||||
`(font-lock-builtin-face ((t (:foreground ,fui-dark-asphalt))))
|
||||
`(font-lock-comment-face ((t (:slant italic :foreground ,fui-concrete))))
|
||||
`(font-lock-constant-face ((t (:slant italic :foreground ,fui-dark-concrete))))
|
||||
`(font-lock-function-name-face ((t (:foreground ,fui-amethyst))))
|
||||
`(font-lock-keyword-face ((t (:foreground ,fui-dark-asphalt :slant italic))))
|
||||
`(font-lock-string-face ((t (:foreground ,fui-dark-turquoise))))
|
||||
`(font-lock-type-face ((t (:foreground ,fui-dark-emerald))))
|
||||
`(font-lock-variable-name-face ((t (:foreground ,fui-river))))
|
||||
`(font-lock-warning-face ((t (:foreground ,fui-dark-carrot))))
|
||||
`(isearch ((t (:background ,fui-dark-concrete
|
||||
:foreground ,fui-fg))))
|
||||
`(lazy-highlight ((t (:background ,fui-concrete))))
|
||||
`(link ((t (:foreground ,fui-dark-river :underline t))))
|
||||
`(link-visited ((t (:foreground ,fui-dark-asphalt :underline t))))
|
||||
`(button ((t (:background ,fui-carrot :underline t :foreground nil))))
|
||||
`(header-line ((t (:background ,fui-deep-clouds
|
||||
:foreground ,fui-fg))))
|
||||
`(shadow ((t (:foreground ,fui-concrete))))
|
||||
`(show-paren-match ((t (:background ,fui-emerald :foreground ,fui-clouds))))
|
||||
`(show-paren-mismatch ((t (:background ,fui-alizarin
|
||||
:foreground ,fui-clouds))))
|
||||
`(highlight ((t (:inverse-video nil :background ,fui-deep-clouds))))
|
||||
`(hl-line ((t (:inverse-video nil :background ,fui-deep-clouds))))
|
||||
|
||||
;; Face for specific prog modes
|
||||
`(sh-heredoc ((t (:foreground nil :inherit font-lock-string-face))))
|
||||
|
||||
;; Dired
|
||||
`(dired-directory ((t (:foreground ,fui-river))))
|
||||
`(dired-symlink ((t (:foreground ,fui-dark-turquoise))))
|
||||
`(dired-perm-write ((t (:foreground ,fui-dark-carrot))))
|
||||
|
||||
;; Diff
|
||||
`(diff-added ((t (:foreground ,fui-river))))
|
||||
`(diff-removed ((t (:foreground ,fui-alizarin))))
|
||||
;; `(diff-context ((t (:background nil))))
|
||||
`(diff-file-header ((t (:bold t :background ,fui-concrete :weight bold))))
|
||||
`(diff-header ((t (:background ,fui-deep-clouds :foreground ,fui-fg))))
|
||||
|
||||
;; Whitespace
|
||||
`(whitespace-trailing ((t (:background ,fui-dark-clouds))))
|
||||
`(whitespace-line ((t (:background ,fui-dark-clouds :foreground unspecified))))
|
||||
|
||||
;; ERC
|
||||
`(erc-notice-face ((t (:foreground ,fui-dark-river
|
||||
:weight unspecified))))
|
||||
`(erc-header-line ((t (:foreground ,fui-bg :background ,fui-dark-clouds))))
|
||||
`(erc-timestamp-face ((t (:foreground ,fui-concrete
|
||||
:weight unspecified))))
|
||||
`(erc-current-nick-face ((t (:foreground ,fui-dark-carrot
|
||||
:weight unspecified))))
|
||||
`(erc-input-face ((t (:foreground ,fui-amethyst))))
|
||||
`(erc-prompt-face ((t (:foreground ,fui-dark-concrete
|
||||
:background nil
|
||||
:slant italic
|
||||
:weight unspecified))))
|
||||
`(erc-my-nick-face ((t (:foreground ,fui-dark-carrot))))
|
||||
`(erc-pal-face ((t (:foreground ,fui-dark-amethyst))))
|
||||
|
||||
;; Rainbow delimiters
|
||||
`(rainbow-delimiters-depth-1-face ((t (:foreground ,fui-fg))))
|
||||
`(rainbow-delimiters-depth-2-face ((t (:foreground ,fui-turquoise))))
|
||||
`(rainbow-delimiters-depth-3-face ((t (:foreground ,fui-dark-river))))
|
||||
`(rainbow-delimiters-depth-4-face ((t (:foreground ,fui-dark-amethyst))))
|
||||
`(rainbow-delimiters-depth-5-face ((t (:foreground ,fui-dark-sunflower))))
|
||||
`(rainbow-delimiters-depth-6-face ((t (:foreground ,fui-dark-emerald))))
|
||||
`(rainbow-delimiters-depth-7-face ((t (:foreground ,fui-dark-concrete))))
|
||||
`(rainbow-delimiters-unmatched-face ((t (:foreground ,fui-alizarin))))
|
||||
|
||||
;; Magit
|
||||
`(magit-branch-local ((t (:foreground ,fui-river :background nil))))
|
||||
`(magit-branch-remote ((t (:foreground ,fui-dark-emerald :background nil))))
|
||||
`(magit-tag ((t (:foreground ,fui-river :background ,fui-bg))))
|
||||
`(magit-hash ((t (:foreground ,fui-concrete))))
|
||||
`(magit-section-title ((t (:foreground ,fui-dark-emerald :background ,fui-bg))))
|
||||
`(magit-section-heading ((t (:background ,fui-bg :foreground ,fui-fg))))
|
||||
`(magit-section-highlight ((t (:background ,fui-bg))))
|
||||
`(magit-item-highlight ((t (:foreground ,fui-fg :background ,fui-dark-clouds))))
|
||||
`(magit-log-author ((t (:foreground ,fui-amethyst))))
|
||||
`(magit-diff-added ((t (:inherit diff-added))))
|
||||
`(magit-diff-added-highlight ((t (:inherit magit-diff-added))))
|
||||
`(magit-diff-removed ((t (:inherit diff-removed))))
|
||||
`(magit-diff-removed-highlight ((t (:inherit magit-diff-removed))))
|
||||
`(magit-diff-context ((t (:inherit diff-context))))
|
||||
`(magit-diff-context-highlight ((t (:inherit magit-diff-context))))
|
||||
|
||||
;; Git-gutter-fringe
|
||||
`(git-gutter-fr:modified ((t (:foreground ,fui-amethyst))))
|
||||
`(git-gutter-fr:added ((t (:foreground ,fui-emerald))))
|
||||
`(git-gutter-fr:deleted ((t (:foreground ,fui-alizarin))))
|
||||
|
||||
;; Company
|
||||
`(company-preview ((t (:foreground ,fui-fg :background ,fui-sunflower))))
|
||||
`(company-preview-common ((t (:foreground ,fui-fg :background ,fui-carrot))))
|
||||
`(company-tooltip ((t (:foreground ,fui-fg :background ,fui-dark-clouds))))
|
||||
`(company-tooltip-common ((t (:foreground ,fui-dark-carrot))))
|
||||
`(company-tooltip-selection ((t (:background ,fui-deep-clouds))))
|
||||
`(company-tooltip-common-selection ((t (:foreground ,fui-dark-carrot))))
|
||||
`(company-tooltip-annotation ((t (:foreground ,fui-river))))
|
||||
`(company-scrollbar-bg ((t (:background ,fui-bg))))
|
||||
`(company-scrollbar-fg ((t (:background ,fui-dark-clouds))))
|
||||
|
||||
;; Cperl
|
||||
`(cperl-array-face ((t (:weight bold :inherit font-lock-variable-name-face))))
|
||||
`(cperl-hash-face ((t (:weight bold :slant italic :inherit font-lock-variable-name-face))))
|
||||
`(cperl-nonoverridable-face ((t (:inherit font-lock-builtin-face))))
|
||||
|
||||
;; Powerline
|
||||
`(mode-line ((t (:box nil))))
|
||||
`(powerline-active2 ((t (:foreground ,fui-fg :background ,fui-dark-clouds))))
|
||||
`(powerline-active1 ((t (:foreground ,fui-bg :background ,fui-emerald))))
|
||||
`(powerline-inactive2 ((t (:foreground ,fui-bg :background ,fui-concrete))))
|
||||
`(powerline-inactive1 ((t (:foreground ,fui-fg :background ,fui-dark-clouds))))
|
||||
|
||||
;; Smart mode line
|
||||
`(sml/global ((t (:foreground ,fui-fg))))
|
||||
`(sml/charging ((t (:foreground ,fui-emerald))))
|
||||
`(sml/discharging ((t (:foreground ,fui-dark-alizarin))))
|
||||
`(sml/read-only ((t (:foreground ,fui-dark-emerald))))
|
||||
`(sml/filename ((t (:foreground ,fui-river :weight bold))))
|
||||
`(sml/prefix ((t (:foreground ,fui-dark-amethyst :weight normal :slant italic))))
|
||||
`(sml/modes ((t (:foreground ,fui-fg :weight bold))))
|
||||
`(sml/modified ((t (:foreground ,fui-alizarin))))
|
||||
`(sml/outside-modified ((t (:foreground ,fui-bg :background ,fui-alizarin))))
|
||||
`(sml/position-percentage ((t (:foreground ,fui-amethyst :slant normal))))
|
||||
|
||||
;; Helm
|
||||
`(helm-candidate-number ((t (:foreground ,fui-fg :background nil))))
|
||||
`(helm-source-header ((t (:foreground ,fui-bg :background ,fui-river
|
||||
:weight normal :slant italic))))
|
||||
`(helm-selection ((t (:background ,fui-dark-sunflower))))
|
||||
`(helm-prefarg ((t (:foreground ,fui-dark-alizarin))))
|
||||
`(helm-ff-directory ((t (:foreground ,fui-river))))
|
||||
`(helm-ff-executable ((t (:foreground ,fui-dark-emerald))))
|
||||
`(helm-ff-invalid-symlink ((t (:foreground ,fui-bg :background ,fui-dark-alizarin))))
|
||||
`(helm-ff-symlink ((t (:foreground ,fui-amethyst))))
|
||||
`(helm-ff-prefix ((t (:background ,fui-sunflower))))
|
||||
`(helm-ff-dotted-directory ((t (:background nil :foreground ,fui-dark-clouds))))
|
||||
`(helm-M-x-key ((t (:foreground ,fui-dark-emerald))))
|
||||
`(helm-buffer-file ((t (:foreground ,fui-fg))))
|
||||
`(helm-buffer-archive ((t (:inherit helm-buffer-file))))
|
||||
`(helm-buffer-directory ((t (:foreground ,fui-river :background nil))))
|
||||
`(helm-buffer-not-saved ((t (:foreground ,fui-dark-alizarin))))
|
||||
`(helm-buffer-modified ((t (:foreground ,fui-carrot))))
|
||||
`(helm-buffer-process ((t (:foreground ,fui-dark-emerald))))
|
||||
`(helm-buffer-size ((t (:foreground ,fui-concrete))))
|
||||
`(helm-ff-file ((t (:inherit default))))
|
||||
|
||||
;; TeX
|
||||
`(font-latex-sedate-face ((t (:foreground ,fui-river))))
|
||||
`(font-latex-math-face ((t (:foreground ,fui-dark-turquoise))))
|
||||
`(font-latex-script-char-face ((t (:inherit font-latex-math-face))))
|
||||
|
||||
;; adoc-mode
|
||||
`(markup-meta-hide-face ((t (:height 1.0 :foreground ,fui-fg))))
|
||||
`(markup-meta-face ((t (:height 1.0 :foreground ,fui-fg :family nil))))
|
||||
`(markup-reference-face ((t (:underline nil :foreground ,fui-dark-river))))
|
||||
`(markup-gen-face ((t (:foreground ,fui-dark-river))))
|
||||
`(markup-passthrough-face ((t (:inherit markup-gen-face))))
|
||||
`(markup-replacement-face ((t (:family nil :foreground ,fui-amethyst))))
|
||||
`(markup-list-face ((t (:weight bold))))
|
||||
`(markup-secondary-text-face ((t (:height 1.0 :foreground ,fui-dark-emerald))))
|
||||
`(markup-verbatim-face ((t (:foreground ,fui-dark-concrete))))
|
||||
`(markup-typewriter-face ((t (:inherit nil))))
|
||||
`(markup-title-0-face ((t (:height 1.2 :inherit markup-gen-face))))
|
||||
`(markup-title-1-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-2-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-3-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-4-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
`(markup-title-5-face ((t (:height 1.0 :inherit markup-gen-face))))
|
||||
|
||||
;; Org-mode
|
||||
`(org-hide ((t (:foreground ,fui-bg))))
|
||||
`(org-table ((t (:foreground ,fui-fg))))
|
||||
`(org-date ((t (:foreground ,fui-emerald))))
|
||||
`(org-done ((t (:weight normal :foreground ,fui-dark-concrete))))
|
||||
`(org-todo ((t (:weight normal :foreground ,fui-carrot))))
|
||||
`(org-latex-and-related ((t (:foreground ,fui-concrete :italic t))))
|
||||
`(org-checkbox ((t (:weight normal :foreground ,fui-dark-concrete))))
|
||||
`(org-mode-line-clock ((t (:background nil))))
|
||||
`(org-document-title ((t (:weight normal :foreground nil))))
|
||||
|
||||
;; Message
|
||||
`(message-header-name ((t (:foreground ,fui-dark-concrete))))
|
||||
`(message-header-other ((t (:foreground ,fui-fg))))
|
||||
`(message-header-cc ((t (:inherit message-header-other))))
|
||||
`(message-header-newsgroups ((t (:inherit message-header-other))))
|
||||
`(message-header-xheader ((t (:inherit message-header-other))))
|
||||
`(message-header-subject ((t (:foreground ,fui-dark-emerald))))
|
||||
`(message-header-to ((t (:foreground ,fui-dark-river))))
|
||||
`(message-mml ((t (:foreground ,fui-concrete))))
|
||||
|
||||
;; Notmuch
|
||||
`(notmuch-search-unread-face ((t (:foreground ,fui-dark-river))))
|
||||
`(notmuch-tag-face ((t (:foreground ,fui-dark-emerald))))
|
||||
`(notmuch-tree-match-author-face ((t (:foreground ,fui-dark-river))))
|
||||
`(notmuch-tree-no-match-face ((t (:foreground ,fui-concrete))))
|
||||
`(notmuch-tree-match-tag-face ((t (:inherit notmuch-tree-match-author-face))))
|
||||
`(notmuch-tag-unread-face ((t (:foreground ,fui-carrot))))
|
||||
`(notmuch-message-summary-face ((t (:foreground ,fui-dark-concrete))))
|
||||
|
||||
;; Highlight-indent-guides
|
||||
`(highlight-indent-guides-odd-face ((t (:background ,fui-deep-clouds))))
|
||||
`(highlight-indent-guides-even-face ((t (:background nil))))
|
||||
))
|
||||
|
||||
(provide-theme 'flucui-light)
|
||||
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
||||
|
||||
;;; flucui-light-theme.el ends here
|
56
elpa/flucui-themes-20190321.2313/flucui-themes-autoloads.el
Normal file
56
elpa/flucui-themes-20190321.2313/flucui-themes-autoloads.el
Normal file
|
@ -0,0 +1,56 @@
|
|||
;;; flucui-themes-autoloads.el --- automatically extracted autoloads
|
||||
;;
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'load-path (directory-file-name
|
||||
(or (file-name-directory #$) (car load-path))))
|
||||
|
||||
|
||||
;;;### (autoloads nil "flucui-dark-theme" "flucui-dark-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from flucui-dark-theme.el
|
||||
|
||||
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "flucui-dark-theme" '("flucui-dark")))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "flucui-light-theme" "flucui-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from flucui-light-theme.el
|
||||
|
||||
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "flucui-light-theme" '("flucui-light")))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "flucui-themes" "flucui-themes.el" (0 0 0 0))
|
||||
;;; Generated autoloads from flucui-themes.el
|
||||
|
||||
(add-to-list 'custom-theme-load-path (file-name-directory load-file-name))
|
||||
|
||||
(autoload 'flucui-themes-load-style "flucui-themes" "\
|
||||
Load FlucUI theme variant STYLE.
|
||||
|
||||
Argument STYLE can be either 'light or 'dark.
|
||||
|
||||
\(fn STYLE)" t nil)
|
||||
|
||||
(autoload 'flucui-themes-switch-style "flucui-themes" "\
|
||||
Toggle between the light and dark style of FlucUI theme.
|
||||
|
||||
\(fn)" t nil)
|
||||
|
||||
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "flucui-themes" '("flucui-themes-current-style")))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil nil ("flucui-themes-pkg.el") (0 0 0 0))
|
||||
|
||||
;;;***
|
||||
|
||||
;; Local Variables:
|
||||
;; version-control: never
|
||||
;; no-byte-compile: t
|
||||
;; no-update-autoloads: t
|
||||
;; coding: utf-8
|
||||
;; End:
|
||||
;;; flucui-themes-autoloads.el ends here
|
12
elpa/flucui-themes-20190321.2313/flucui-themes-pkg.el
Normal file
12
elpa/flucui-themes-20190321.2313/flucui-themes-pkg.el
Normal file
|
@ -0,0 +1,12 @@
|
|||
(define-package "flucui-themes" "20190321.2313" "Custom theme inspired by the Flat UI palette"
|
||||
'((emacs "24"))
|
||||
:keywords
|
||||
'("lisp")
|
||||
:authors
|
||||
'(("MetroWind" . "chris.corsair@gmail.com"))
|
||||
:maintainer
|
||||
'("MetroWind" . "chris.corsair@gmail.com")
|
||||
:url "https://github.com/MetroWind/flucui-theme")
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
60
elpa/flucui-themes-20190321.2313/flucui-themes.el
Normal file
60
elpa/flucui-themes-20190321.2313/flucui-themes.el
Normal file
|
@ -0,0 +1,60 @@
|
|||
;;; flucui-themes.el --- Custom theme inspired by the Flat UI palette
|
||||
;;
|
||||
;; Copyright (C) 2018 MetroWind.
|
||||
;;
|
||||
;; This program is free software. It comes without any warranty, to
|
||||
;; the extent permitted by applicable law. You can redistribute it
|
||||
;; and/or modify it under the terms of the Do What the Fuck You Want
|
||||
;; to Public License, Version 2, as published by Sam Hocevar. See
|
||||
;; http://www.wtfpl.net/ for more details.
|
||||
|
||||
;; Author: MetroWind <chris.corsair@gmail.com>
|
||||
;; URL: https://github.com/MetroWind/flucui-theme
|
||||
;; Keywords: lisp
|
||||
;; Version: 1.0
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
|
||||
;;; Commentary:
|
||||
;;
|
||||
;; Fluc UI theme is a custom theme for Emacs, inspired by
|
||||
;; http://flatuicolors.com. It Has both light and dark variants. This
|
||||
;; file provides some utilities to load and switch themes.
|
||||
|
||||
;;; Code:
|
||||
(defvar flucui-themes-current-style nil)
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'custom-theme-load-path
|
||||
(file-name-directory load-file-name))
|
||||
|
||||
;;;###autoload
|
||||
(defun flucui-themes-load-style (style)
|
||||
"Load FlucUI theme variant STYLE.
|
||||
|
||||
Argument STYLE can be either 'light or 'dark."
|
||||
|
||||
(interactive)
|
||||
(cond ((equal style 'light)
|
||||
(load-theme 'flucui-light t))
|
||||
((equal style 'dark)
|
||||
(load-theme 'flucui-dark t))
|
||||
|
||||
(t (error (format "Unknown FlucUI theme style: %S" style)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun flucui-themes-switch-style ()
|
||||
"Toggle between the light and dark style of FlucUI theme."
|
||||
(interactive)
|
||||
(cond ((or (null flucui-themes-current-style)
|
||||
(equal flucui-themes-current-style 'dark))
|
||||
(flucui-themes-load-style 'light)
|
||||
(setq flucui-themes-current-style 'light))
|
||||
((equal flucui-themes-current-style 'light)
|
||||
(flucui-themes-load-style 'dark)
|
||||
(setq flucui-themes-current-style 'dark))
|
||||
(t (error (format "Invalid FlucUI current style: %S"
|
||||
flucui-themes-current-style)))))
|
||||
|
||||
(provide 'flucui-themes)
|
||||
|
||||
;;; FlatUI-theme-utils.el ends here
|
BIN
elpa/flucui-themes-20190321.2313/flucui-themes.elc
Normal file
BIN
elpa/flucui-themes-20190321.2313/flucui-themes.elc
Normal file
Binary file not shown.
1001
elpa/spacemacs-theme-20191107.1747/spacemacs-common.el
Normal file
1001
elpa/spacemacs-theme-20191107.1747/spacemacs-common.el
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,7 @@
|
|||
(require 'spacemacs-common)
|
||||
|
||||
(deftheme spacemacs-dark "Spacemacs theme, the dark version")
|
||||
|
||||
(create-spacemacs-theme 'dark 'spacemacs-dark)
|
||||
|
||||
(provide-theme 'spacemacs-dark)
|
BIN
elpa/spacemacs-theme-20191107.1747/spacemacs-dark-theme.elc
Normal file
BIN
elpa/spacemacs-theme-20191107.1747/spacemacs-dark-theme.elc
Normal file
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
(require 'spacemacs-common)
|
||||
|
||||
(deftheme spacemacs-light "Spacemacs theme, the light version")
|
||||
|
||||
(create-spacemacs-theme 'light 'spacemacs-light)
|
||||
|
||||
(provide-theme 'spacemacs-light)
|
BIN
elpa/spacemacs-theme-20191107.1747/spacemacs-light-theme.elc
Normal file
BIN
elpa/spacemacs-theme-20191107.1747/spacemacs-light-theme.elc
Normal file
Binary file not shown.
|
@ -0,0 +1,45 @@
|
|||
;;; spacemacs-theme-autoloads.el --- automatically extracted autoloads
|
||||
;;
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'load-path (directory-file-name
|
||||
(or (file-name-directory #$) (car load-path))))
|
||||
|
||||
|
||||
;;;### (autoloads nil "spacemacs-common" "spacemacs-common.el" (0
|
||||
;;;;;; 0 0 0))
|
||||
;;; Generated autoloads from spacemacs-common.el
|
||||
|
||||
(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory (file-name-directory load-file-name))))
|
||||
|
||||
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "spacemacs-common" '("create-spacemacs-theme" "true-color-p" "spacemacs-theme-")))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "spacemacs-dark-theme" "spacemacs-dark-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from spacemacs-dark-theme.el
|
||||
|
||||
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "spacemacs-dark-theme" '("spacemacs-dark")))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "spacemacs-light-theme" "spacemacs-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from spacemacs-light-theme.el
|
||||
|
||||
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "spacemacs-light-theme" '("spacemacs-light")))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil nil ("spacemacs-theme-pkg.el") (0 0 0 0))
|
||||
|
||||
;;;***
|
||||
|
||||
;; Local Variables:
|
||||
;; version-control: never
|
||||
;; no-byte-compile: t
|
||||
;; no-update-autoloads: t
|
||||
;; coding: utf-8
|
||||
;; End:
|
||||
;;; spacemacs-theme-autoloads.el ends here
|
|
@ -0,0 +1,6 @@
|
|||
(define-package "spacemacs-theme" "20191107.1747" "Color theme with a dark and light versions" 'nil :keywords
|
||||
'("color" "theme")
|
||||
:url "https://github.com/nashamri/spacemacs-theme")
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
2
init.el
2
init.el
|
@ -29,7 +29,7 @@ There are two things you can do about this warning:
|
|||
(when (eq system-type 'gnu/linux)
|
||||
(load-theme 'nord))
|
||||
(unless (eq system-type 'gnu/linux)
|
||||
(load-theme 'leuven))
|
||||
(load-theme 'nord))
|
||||
|
||||
;; Load my custom bundles
|
||||
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle"))
|
||||
|
|
Loading…
Add table
Reference in a new issue