branch: elpa/moe-theme
commit 6543077fa571a3c3e6a1275940e9d5c1a43a2847
Author: kuanyui <[email protected]>
Commit: kuanyui <[email protected]>
1. Reset all font size to 1.0
2. Some others.
---
README.md | 10 +++++-----
moe-dark-theme.el | 12 ++++++------
moe-light-theme.el | 10 +++++-----
moe-theme.el | 4 ++--
4 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/README.md b/README.md
index b7019eddc1..a054dd765e 100644
--- a/README.md
+++ b/README.md
@@ -59,7 +59,7 @@ Download the archive of `moe-theme` (or `git clone` it) to
`~/.emacs.d/moe-theme
```
## Customizations
-It's impossible to satisfy everyone with one fixed theme, but `moe-theme`
provide some customizations that you may like.
+It's impossible to satisfy everyone with one fixed theme, but `moe-theme`
provide some easy ways to customize itself.
Select a theme you like and let's go on:
@@ -93,16 +93,16 @@ The values should be lists. Larger the values, larger the
fonts.
If you don't like this, just leave them nil, and all the titles will be the
same size.
### Colorful Mode-line and Powerline
-Tired of boring blue mode-line? You can set default mode-line color. Add
following line **before** `(moe-light)` or `(moe-dark)`
+Tired of boring blue mode-line? You can set default mode-line color. moe-theme
provides 9 colors mode-line style. Add following lines **before** `(moe-light)`
or `(moe-dark)`:
```lisp
(setq moe-theme-mode-line-color 'orange)
- ;; (Available colors: blue, orange, magenta, yellow, purple, red, cyan, w/b.)
+ ;; (Available colors: blue, orange, green ,magenta, yellow, purple, red,
cyan, w/b.)
```
-You can also use `moe-theme-select-color` to change color interactively.
+You can also use `M-x` `moe-theme-select-color` to change color interactively.
-Mayby you'll like `moe-theme-random-color`, too; which gives you a random mood
:D.
+Mayby you'll like `M-x` `moe-theme-random-color`, too; which gives you a
random mood :D.
#### Powerline
Now `moe-theme` supports
[Powerline](https://github.com/milkypostman/powerline), which makes mode-line
looks fabulous! We recommended installing `powerline` and run
`powerline-moe-theme`. You can add this line to your init file:
diff --git a/moe-dark-theme.el b/moe-dark-theme.el
index ba1f4c97cd..fdf842aa63 100644
--- a/moe-dark-theme.el
+++ b/moe-dark-theme.el
@@ -12,7 +12,7 @@ Moe, moe, kyun!")
(let ((class '((class color) (min-colors 89)))
;; Palette colors.
(yellow-1 "#fce94f") (yellow-2 "#ffd700") (yellow-3 "#c4a000") (yellow-4
"#875f00")
- (orange-1 "#ffaf5f") (orange-2 "#ff8700") (orange-3 "#ff5d17") (orange-4
"#d75f00")
+ (orange-1 "#ffaf5f") (orange-2 "#ff8700") (orange-3 "#ff5d17") (orange-4
"#d75f00") (orange-5 "#af5f00")
(magenta-1 "#ff7bbb") (magenta-2 "#ff4ea3") (magenta-3 "#ff1f8b")
(green-1 "#afff00") (green-2 "#a1db00") (green-3 "#5faf00") (green-4
"#008700") (green-5 "#005f00")
(blue-1 "#5fafd7") (blue-2 "#1f5bff") (blue-3 "#005f87") (blue-4
"#005faf") (blue-5 "#0000af")
@@ -89,7 +89,7 @@ Moe, moe, kyun!")
`(font-lock-warning-face ((,class (:weight bold :foreground ,red-2))))
;; org-mode
- `(org-document-title ((,class (:foreground ,blue-1 :background ,black-5
:weight bold :height 1.5))))
+ `(org-document-title ((,class (:foreground ,blue-1 :background ,black-5
:weight bold))))
`(org-document-info ((,class (:foreground ,blue-3 :background ,black-5
:weight bold))))
`(org-document-info-keyword ((,class (:foreground ,white-1 :background
,black-5))))
`(org-archived ((,class (:slant italic))))
@@ -168,9 +168,9 @@ Moe, moe, kyun!")
`(markdown-header-delimiter-face ((,class (:foreground ,green-3 :bold t))))
`(markdown-header-face ((,class (:foreground ,green-2 :bold t))))
`(markdown-header-rule-face ((,class (:foreground ,green-2 :bold t))))
- `(markdown-header-face-1 ((,class (:foreground ,green-2 :bold t :height
2.0))))
- `(markdown-header-face-2 ((,class (:foreground ,green-2 :bold t :height
1.5))))
- `(markdown-header-face-3 ((,class (:foreground ,green-2 :bold t :height
1.2))))
+ `(markdown-header-face-1 ((,class (:foreground ,green-2 :bold t))))
+ `(markdown-header-face-2 ((,class (:foreground ,green-2 :bold t))))
+ `(markdown-header-face-3 ((,class (:foreground ,green-2 :bold t))))
`(markdown-header-face-4 ((,class (:foreground ,green-2 :bold t))))
`(markdown-header-face-5 ((,class (:foreground ,green-2 :bold t))))
`(markdown-header-face-6 ((,class (:foreground ,green-2 :bold t))))
@@ -334,7 +334,7 @@ Moe, moe, kyun!")
`(diredp-exec-priv ((,class (:foreground ,red-3 :background ,orange-0))))
;; Magit
- `(magit-branch ((,class (:foreground ,blue-3 :background ,blue-0 :bold t
:underline t))))
+ `(magit-branch ((,class (:foreground ,green-4 :background ,green-01 :bold t
:underline t))))
`(magit-diff-add ((,class (:foreground ,green-0 :background nil :bold t))))
`(magit-diff-del ((,class (:foreground ,red-0 :background nil :bold t))))
`(magit-diff-file-header ((,class (:foreground ,white-0 :background
,black-2 :bold t))))
diff --git a/moe-light-theme.el b/moe-light-theme.el
index 2a15d6ec80..f250bfa2fb 100644
--- a/moe-light-theme.el
+++ b/moe-light-theme.el
@@ -88,7 +88,7 @@ Moe, moe, kyun!")
`(font-lock-warning-face ((,class (:weight bold :foreground ,red-2))))
;; org-mode
- `(org-document-title ((,class (:foreground ,blue-1 :background ,LIGHT_BG
:weight bold :height 1.5))))
+ `(org-document-title ((,class (:foreground ,blue-1 :background ,LIGHT_BG
:weight bold))))
`(org-document-info ((,class (:foreground ,blue-3 :background ,LIGHT_BG
:weight bold))))
`(org-document-info-keyword ((,class (:foreground ,black-5 :background
,LIGHT_BG))))
`(org-archived ((,class (:slant italic))))
@@ -167,9 +167,9 @@ Moe, moe, kyun!")
`(markdown-header-delimiter-face ((,class (:foreground ,orange-3 :bold t))))
`(markdown-header-face ((,class (:foreground ,orange-2 :bold t))))
`(markdown-header-rule-face ((,class (:foreground ,orange-2 :bold t))))
- `(markdown-header-face-1 ((,class (:foreground ,orange-2 :bold t :height
2.0))))
- `(markdown-header-face-2 ((,class (:foreground ,orange-2 :bold t :height
1.5))))
- `(markdown-header-face-3 ((,class (:foreground ,orange-2 :bold t :height
1.2))))
+ `(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))))
@@ -333,7 +333,7 @@ Moe, moe, kyun!")
`(diredp-exec-priv ((,class (:foreground ,red-3 :background ,orange-0))))
;; Magit
- `(magit-branch ((,class (:foreground ,blue-3 :background ,blue-0 :bold t
:underline t))))
+ `(magit-branch ((,class (:foreground ,green-4 :background ,green-0 :bold t
:underline t))))
`(magit-diff-add ((,class (:foreground ,green-3 :background nil :bold t))))
`(magit-diff-del ((,class (:foreground ,red-2 :background nil :bold t))))
`(magit-diff-file-header ((,class (:foreground ,black-4 :background
,white-3 :bold t))))
diff --git a/moe-theme.el b/moe-theme.el
index cae21e1a3a..b34bd74e72 100644
--- a/moe-theme.el
+++ b/moe-theme.el
@@ -262,7 +262,7 @@ DO NOT CHANGE ITS VALUE.")
(null (window-system)))
(set-face-attribute 'default nil :background "#ffffff"
:foreground "#5f5f5f"))))
- (cond ((eq moe-theme-mode-line-color 'blue) ;要考慮到powerline的顏色搭配...orz
+ (cond ((eq moe-theme-mode-line-color 'blue)
(set-face-attribute 'mode-line nil :background "#5fafd7" :foreground
"#ffffff")
(set-face-attribute 'mode-line-buffer-id nil :background "#5fafd7"
:foreground "#3a3a3a")
(set-face-attribute 'minibuffer-prompt nil :foreground "#5fafd7"
:background "#3a3a3a"))
@@ -311,7 +311,7 @@ DO NOT CHANGE ITS VALUE.")
(if (not (null moe-theme-revert-theme))
(load-theme 'moe-dark t))
(moe-theme-resize-font-size)
- (cond ((eq moe-theme-mode-line-color 'blue) ;要考慮到powerline的顏色搭配...orz
+ (cond ((eq moe-theme-mode-line-color 'blue)
(set-face-attribute 'mode-line nil :background "#5fafd7" :foreground
"#ffffff")
(set-face-attribute 'mode-line-buffer-id nil :background "#5fafd7"
:foreground "#080808")
(set-face-attribute 'minibuffer-prompt nil :foreground "#005f87"
:background "#afd7ff"))