[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/moe-theme 8389c37d4d 004/352: 1. Improve the face for pare
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/moe-theme 8389c37d4d 004/352: 1. Improve the face for paren and hl-line. |
Date: |
Fri, 7 Jan 2022 03:59:01 -0500 (EST) |
branch: elpa/moe-theme
commit 8389c37d4d47f53bae50008f717c170495ad7ac9
Author: kuanyui <azazabc123@gmail.com>
Commit: kuanyui <azazabc123@gmail.com>
1. Improve the face for paren and hl-line.
2. Some subtles.
---
README.md | 10 +++++++--
moe-dark-theme.el | 16 +++++++++++++-
moe-light-theme.el | 65 +++++++++++++++++++++++++++++++++---------------------
3 files changed, 63 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
index cc34594e86..3e226d92f0 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Just another Emacs theme.
![Screenshot](https://github.com/kuanyui/moe-theme.el/raw/master/screenshot)
This theme supports Emacs 24 native theme.
#
-> I am a comment
+> I am a blockquote
## Warranty and License
This theme is made by an Emacs user who don't understand programming at all
(truly); so,
*I WILL NOT PROVIDE ANY WARRANTY FOR THIS FREE SOFTWARE.*
@@ -30,8 +30,12 @@ Download the one you prefer to `~/.emacs.d/themes`.Then, add
these to your init
Or you can load theme just by adding:
(load-file "~/.emacs.d/themes/moe-dark-theme.el")) ;;都不行就直接用這招
+### Paren
+I recommend set the value of `show-paren-style` to `expression` for optimized
visual experience:
-Now, restart Emacs, and press `y` twice to accept.
+ (show-paren-mode t)
+ (setq show-paren-style 'expression) ;;另一種突顯方式(突顯整個括號範圍)
+
## Note
### Doesn't have a 256-colors terminal?
If you use `Konsole`, it can be customized in `Edit Current
Profile>General>Environment>Edit`
@@ -58,4 +62,6 @@ If you also use `tmux`, add this to `~/.tmux.conf`, too:
我不會寫程式,然而還使用Emacs應該是件有點反常的事:我連寫theme寫錯了都不太會除錯...
+我盡量兼顧配色美感與可讀性,所以moe-dark跟moe-light是互相獨立、分開寫的,例如黃色在淡色背景根本看不到,基本上不能用。另外moe-light真的比較難做,畢竟字的顏色普遍都不容易在淡色背景中顯現出來,所以辨識度一定會比較差。如果你很重視辨識度,那請選擇moe-dark。
+
希望您會喜歡這個moe-theme.el
diff --git a/moe-dark-theme.el b/moe-dark-theme.el
index e09a1fff14..19d48c5af0 100644
--- a/moe-dark-theme.el
+++ b/moe-dark-theme.el
@@ -42,12 +42,14 @@ Moe, moe, chew!")
;; Highlighting faces
`(fringe ((,class (:foreground ,black-3 :background ,white-3))))
`(linum ((,class (:foreground ,white-2 :background ,black-2))))
- `(highlight ((,class (:foreground ,white-1 :background ,black-3))))
+ `(highlight ((,class (:background ,black-3))))
+ `(hl-line ((,class (:background ,black-3)))) ;;這裡遇到輸入法會有問題orz
`(region ((,class (:foreground ,black-3 :background ,green-2))))
`(secondary-selection ((,class (:background ,blue-3))))
`(isearch ((,class (:foreground ,white-1 :background ,orange-3))))
`(lazy-highlight ((,class (:background ,magenta-3 :foreground ,white-1))))
`(trailing-whitespace ((,class (:background ,red-3))))
+ `(show-paren-match ((,class (:background ,black-2))))
;; Mode line & frames' faces
`(mode-line ((,class
@@ -128,6 +130,7 @@ Moe, moe, chew!")
`(org-link ((,class (:foreground ,blue-1))))
`(org-footnote ((,class (:foreground ,magenta-3))))
`(org-ellipsis ((,class (:foreground ,red-2))))
+ `(org-agenda-clocking ((,class (:foreground ,blue-3 :background ,blue-0
:bold t))))
`(org-agenda-date ((,class (:foreground ,blue-2 :underline nil))))
`(org-agenda-todo ((,class (:foreground ,black-3 :background ,red-2))))
`(org-agenda-done ((,class (:foreground ,black-3 :background ,green-2))))
@@ -223,6 +226,10 @@ Moe, moe, chew!")
`(helm-header ((,class (:foreground ,blue-3 :background ,white-1))))
`(helm-candidate-number ((,class (:foreground ,blue-3 :background
,white-1))))
`(helm-match ((,class (:foreground ,green-2 :background ,black-5 :bold t))))
+ `(helm-buffer-saved-out ((,class (:foreground ,red-2 :background
,black-5))))
+ `(helm-ff-invalid-symlink ((,class (:foreground ,white-1 :background
,red-2))))
+ `(helm-ff-prefix ((,class (:foreground ,white-1 :background ,orange-2))))
+
;; Message faces
`(message-header-name ((,class (:foreground ,blue-1))))
@@ -269,6 +276,13 @@ Moe, moe, chew!")
`(semantic-tag-boundary-face ((,class (:overline ,blue-1))))
`(semantic-unmatched-syntax-face ((,class (:underline ,red-1))))
+ ;; CUA
+ `(cua-rectangle ((,class (:background ,magenta-3 :foreground ,white-1))))
+
+ ;; Ace-jump
+ `(ace-jump-face-background ((,class (:foreground ,black-2))))
+ `(ace-jump-face-foreground ((,class (:foreground ,red-2))))
+
;; Flymake
`(flymake-warnline ((,class (:underline ,orange-1))))
`(flymake-errline ((,class (:underline ,red-2)))))
diff --git a/moe-light-theme.el b/moe-light-theme.el
index bb1f0193d6..214e792131 100644
--- a/moe-light-theme.el
+++ b/moe-light-theme.el
@@ -1,4 +1,4 @@
-;;; moe-light-theme.el --- Tango-based custom theme for faces
+;;; moe-light-theme.el --- A theme for otaku
;; Author: kuanyui<azazabc123@gmail.com>
;; Based on "tango-dark-theme" , a part of GNU Emacs 24
@@ -38,18 +38,20 @@ Moe, moe, chew!")
(((class color) (min-colors 256))
(:foreground ,black-5 :background ,LIGHT_BG))
(,class
- (:foreground ,black-5 :background "black"))))
- `(cursor ((,class (:background ,white-1))))
+ (:foreground ,black-5 :background LIGHT_BG))))
+ `(cursor ((,class (:background ,white-1 :foreground ,green-3))))
;; Highlighting faces
`(fringe ((,class (:foreground ,black-1 :background ,white-2))))
`(linum ((,class (:foreground ,white-1 :background ,white-3))))
- `(highlight ((,class (:foreground ,black-5 :background ,green-0))))
- `(region ((,class (:foreground ,white-1 :background ,black-1))))
+ `(highlight ((,class (:background ,green-0))))
+ `(hl-line ((,class (:background ,green-00)))) ;;這裡遇到輸入法會有問題orz
+ `(region ((,class (:foreground ,white-1 :background ,blue-1))))
`(secondary-selection ((,class (:background ,blue-3))))
`(isearch ((,class (:foreground ,white-1 :background ,orange-3))))
`(lazy-highlight ((,class (:background ,magenta-3 :foreground ,white-1))))
`(trailing-whitespace ((,class (:background ,red-3))))
+ `(show-paren-match ((,class (:background ,blue-00))))
;; Mode line & frames' faces
`(mode-line ((,class
@@ -76,8 +78,8 @@ Moe, moe, chew!")
`(font-lock-doc-face ((,class (:foreground ,red-2))))
`(font-lock-doc-string-face ((,class (:foreground ,yellow-2))))
`(font-lock-function-name-face ((,class (:foreground ,yellow-2))))
- `(font-lock-keyword-face ((,class (:foreground ,green-2))))
- `(font-lock-negation-char-face ((,class (:foreground ,green-2))))
+ `(font-lock-keyword-face ((,class (:foreground ,green-3))))
+ `(font-lock-negation-char-face ((,class (:foreground ,green-3))))
`(font-lock-preprocessor-face ((,class (:foreground ,purple-2))))
`(font-lock-regexp-grouping-backslash ((,class (:foreground ,yellow-2))))
`(font-lock-regexp-grouping-construct ((,class (:foreground ,purple-2))))
@@ -115,31 +117,32 @@ Moe, moe, chew!")
`(org-column ((,class (:background ,white-3 :foreground ,black-5))))
`(org-column-title ((,class (:background ,green-2 :foreground ,black-5
:underline t :weight bold))))
`(org-deadline-announce ((,class (:foreground ,red-3))))
- `(org-scheduled ((,class (:foreground ,green-2))))
+ `(org-scheduled ((,class (:foreground ,green-3))))
`(org-scheduled-previously ((,class (:foreground ,red-1))))
`(org-scheduled-today ((,class (:foreground ,blue-2))))
- `(org-special-keyword ((,class (:foreground ,yellow-2))))
- `(org-table ((,class (:background ,yellow-00 :foreground ,black-3))))
+ `(org-special-keyword ((,class (:background ,yellow-2 :foreground
,black-5))))
+ `(org-table ((,class (:background ,yellow-0 :foreground ,black-3))))
`(org-time-grid ((,class (:foreground ,orange-2))))
`(org-upcoming-deadline ((,class (:inherit font-lock-keyword-face))))
`(org-warning ((,class (:bold t :foreground ,red-3 :weight bold :underline
nil))))
- `(org-formula ((,class (:foreground ,yellow-2))))
+ `(org-formula ((,class (:foreground ,purple-2))))
`(org-headline-done ((,class (:foreground ,green-2))))
`(org-hide ((,class (:foreground ,black-2))))
- `(org-code ((,class (:foreground ,yellow-2))))
+ `(org-code ((,class (:foreground ,blue-2))))
`(org-link ((,class (:foreground ,blue-1))))
`(org-footnote ((,class (:foreground ,magenta-3))))
`(org-ellipsis ((,class (:foreground ,red-2))))
+ `(org-agenda-clocking ((,class (:foreground ,blue-3 :background ,blue-0
:bold t))))
`(org-agenda-date ((,class (:foreground ,blue-2 :underline nil))))
- `(org-agenda-todo ((,class (:foreground ,black-3 :background ,red-2))))
+ `(org-agenda-todo ((,class (:foreground ,white-1 :background ,red-2))))
`(org-agenda-done ((,class (:foreground ,black-3 :background ,green-2))))
`(org-agenda-dimmed-todo-face ((,class (:foreground ,white-1 :background
,red-2))))
`(org-block ((,class (:foreground ,orange-1))))
`(org-quote ((,class (:foreground ,orange-1))))
`(org-block-begin-line ((,class (:foreground ,orange-2))))
`(org-block-end-line ((,class (:foreground ,orange-2))))
- `(org-mode-line-clock ((,class (:foreground ,blue-3 :background ,black-5
:bold t))))
- `(org-mode-line-clock-overrun ((,class (:foreground ,black-3 :background
,red-1 :bold t))))
+ `(org-mode-line-clock ((,class (:foreground ,blue-3 :background ,blue-0
:bold t))))
+ `(org-mode-line-clock-overrun ((,class (:foreground ,white-1 :background
,red-1 :bold t))))
;; undo-tree
`(undo-tree-visualizer-default-face ((,class (:foreground ,black-5))))
@@ -148,20 +151,20 @@ Moe, moe, chew!")
`(undo-tree-visualizer-register-face ((,class (:foreground ,yellow-2))))
;; Markdown faces
- `(markdown-blockquote-face ((,class (:foreground ,green-3 :background
,LIGHT_BG :italic t))))
+ `(markdown-blockquote-face ((,class (:foreground ,green-3 :background
,yellow-00 :italic t))))
`(markdown-bold-face ((,class (:foreground ,black-5 :bold t))))
- `(markdown-comment-face ((,class (:foreground ,black-2 :italic t))))
+ `(markdown-comment-face ((,class (:foreground ,white-3 :italic t))))
`(markdown-header-face-1 ((,class (:foreground ,orange-2 :bold t))))
`(markdown-header-face-2 ((,class (:foreground ,orange-2 :bold t))))
`(markdown-header-face-3 ((,class (:foreground ,orange-2 :bold t))))
`(markdown-header-face-4 ((,class (:foreground ,orange-2 :bold t))))
`(markdown-header-face-5 ((,class (:foreground ,orange-2 :bold t))))
`(markdown-header-face-6 ((,class (:foreground ,orange-2 :bold t))))
- `(markdown-link-face ((,class (:foreground ,magenta-1 :underline t))))
+ `(markdown-link-face ((,class (:foreground ,magenta-1 :bold t :underline
t))))
`(markdown-inline-code-face ((,class (:foreground ,blue-3 :background
,blue-00))))
`(markdown-italic-face ((,class (:foreground ,black-5 :italic t))))
- `(markdown-list-face ((,class (:background ,red-2 :foreground ,white-1
:bold t))))
- `(markdown-math-face ((,class (:foreground ,magenta-1))))
+ `(markdown-list-face ((,class (:foreground ,black-5 :bold t))))
+ `(markdown-math-face ((,class (:foreground ,purple-2))))
`(markdown-missing-link-face ((,class (:foreground ,red-1 :bold t))))
`(markdown-pre-face ((,class (:foreground ,blue-2))))
`(markdown-reference-face ((,class (:foreground ,orange-2 :italic t))))
@@ -218,6 +221,7 @@ Moe, moe, chew!")
`(helm-selection ((,class (:foreground ,black-3 :background ,green-01))))
`(helm-bookmark-directory ((,class (:foreground ,blue-1 :background
,LIGHT_BG :bold t))))
`(helm-bookmark-file ((,class (:foreground ,black-5 :background
,LIGHT_BG))))
+ `(helm-bookmark-info ((,class (:foreground ,green-2 :background
,LIGHT_BG))))
`(helm-ff-directory ((,class (:foreground ,blue-1 :background ,LIGHT_BG
:bold t))))
`(helm-ff-file ((,class (:foreground ,black-5 :background ,LIGHT_BG))))
`(helm-ff-excutable ((,class (:foreground ,green-2 :background ,LIGHT_BG
:bold t))))
@@ -225,6 +229,9 @@ Moe, moe, chew!")
`(helm-header ((,class (:foreground ,blue-3 :background ,white-1))))
`(helm-candidate-number ((,class (:foreground ,blue-3 :background
,white-1))))
`(helm-match ((,class (:foreground ,green-2 :background ,LIGHT_BG :bold
t))))
+ `(helm-buffer-saved-out ((,class (:foreground ,red-2 :background
,LIGHT_BG))))
+ `(helm-ff-invalid-symlink ((,class (:foreground ,white-1 :background
,red-2))))
+ `(helm-ff-prefix ((,class (:foreground ,white-1 :background ,orange-2))))
;; Message faces
`(message-header-name ((,class (:foreground ,blue-3))))
@@ -256,25 +263,33 @@ Moe, moe, chew!")
;; Flyspell faces
`(flyspell-duplicate ((,class (:underline t foreground-color,orange-1))))
- `(flyspell-incorrect ((,class (:background ,red-1 :foreground ,black-5
:bold t))))
+ `(flyspell-incorrect ((,class (:background ,red-1 :foreground ,white-1
:bold t))))
;; Semantic faces
`(semantic-decoration-on-includes ((,class (:underline ,black-1))))
`(semantic-decoration-on-private-members-face
- ((,class (:background ,purple-3))))
+ ((,class (:background ,purple-0))))
`(semantic-decoration-on-protected-members-face
- ((,class (:background ,magenta-3))))
+ ((,class (:background ,magenta-1))))
`(semantic-decoration-on-unknown-includes
- ((,class (:background ,red-3))))
+ ((,class (:background ,red-0))))
`(semantic-decoration-on-unparsed-includes
- ((,class (:background ,black-4))))
+ ((,class (:background ,yellow-1))))
`(semantic-tag-boundary-face ((,class (:overline ,blue-1))))
`(semantic-unmatched-syntax-face ((,class (:underline ,red-1))))
+ ;; CUA
+ `(cua-rectangle ((,class (:background ,magenta-3 :foreground ,white-1))))
+
+ ;; Ace-jump
+ `(ace-jump-face-background ((,class (:foreground ,white-3))))
+ `(ace-jump-face-foreground ((,class (:foreground ,red-2 :bold t))))
+
;; Flymake
`(flymake-warnline ((,class (:underline ,orange-1))))
`(flymake-errline ((,class (:underline ,red-2)))))
+
(custom-theme-set-variables
'moe-light
`(ansi-color-names-vector [,black-5 ,red-0 ,green-0 ,yellow-1
- [nongnu] branch elpa/moe-theme created (now 52102d23f5), ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 9c4ffbca32 001/352: 1. First commit, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 1836d08410 003/352: 1. Beautify Markdown-mode faces of moe-light., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme a3d249f539 005/352: 1. Enlarge Markdown's header height, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme da30edd39b 006/352: 1. Dired+ works, but still some flaws., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme ab51320cbc 010/352: 1. Some bugs fix, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme d12dc7812c 014/352: 1. Add Magit support for moe-dark (Not include moe-light)., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 0090747615 015/352: 1. Full support for Magit =w=+, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 8389c37d4d 004/352: 1. Improve the face for paren and hl-line.,
ELPA Syncer <=
- [nongnu] elpa/moe-theme 4981ae7f9c 007/352: 1. Dired+ works well in moe-dark and moe-light., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 507e2d0e27 008/352: 1. Major changes in background and normal font theme., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme b2d3e2f5bf 022/352: New moe-theme-switcher.el that can switch theme by locale longitide and latitude. Holy Yes!, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 669da2b186 047/352: 1. Fixed (maybe...) wrong background and foreground color under GUI version Emacs. 2. Update README #Known Issue, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme fe67076723 030/352: 1. Bigger banner raw., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 6736e3d569 045/352: 1. Correct and translate some comments., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme c8e0e68354 009/352: 1. Add Rainbow-delimiters, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 585dfe4c61 018/352: 1. Fix invisible org's todo/done under hl-line., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 64aaeb33ca 035/352: 1. Lisp in GitHub markdown., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme cb14d6e6fe 053/352: 1. it seems -pkg.el goes wrong., ELPA Syncer, 2022/01/07