branch: elpa/moe-theme
commit 66024f68f5f86bbfe6c452c834aea03ddef919ca
Author: kuanyui <[email protected]>
Commit: kuanyui <[email protected]>
1. Finally, the kanban musume, completed!!!!! QAQ
2. Update README.
3. org-mode todo and done face.
---
README.md | 47 ++++++++++++++++++++++++-----------------------
moe-dark-theme.el | 4 ++--
moe-light-theme.el | 2 +-
pics/moe-theme.png | Bin 0 -> 123242 bytes
4 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/README.md b/README.md
index 695dc45c0a..109ebbb253 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,21 @@
-<link href="markdown.css" rel="stylesheet"></link>
# moe-theme
-Just another Emacs theme.
-
-This theme supports Emacs 24 native theme.
+
+# Screenshot
+<img src="pics/dark01.png" width="425" height="230"/>
+<img src="pics/light01.png" width="425" height="230"/>
+<img src="pics/dark02.png" width="425" height="230"/>
+<img src="pics/ligth02.png" width="425" height="230"/>
+<img src="pics/dark03.png" width="425" height="230"/>
+<img src="pics/light03.png" width="425" height="230"/>
+<img src="pics/dark04.png" width="425" height="230"/>
+<img src="pics/light04.png" width="425" height="230"/>
+
# What Special?
+* Optimized for terminal.
* Delightful and cheerful color-platte.
-* Quite completed font-faces.
-*
+* Relatively (...maybe?) completed font-faces.
+* Automatically switch between dark and light moe-theme according local time!
(optional)
+
# Support
`moe-theme.el` provide good-looking[tm] and quite fully-supported font-faces
for various modes, include:
* Dired/Dired+
@@ -20,11 +29,9 @@ This theme supports Emacs 24 native theme.
* undo-tree
* ......and More!
-
-
## Requirements
* Emacs 24 (or above)
-* 256-colors terminal.(or of course, GUI version Emacs.)
+* 256-colors (or higher) terminal.
## Install
`moe-light` and `moe-dark` are independent from each other, so you can just
download one of them.
@@ -40,23 +47,17 @@ Or you can load theme just by adding:
(load-file "~/.emacs.d/themes/moe-dark-theme.el"))
### Have A Good Mood Today?
-You can also add these to your `.emacs` to automatically switch `moe-dark` and
`moe-light` according to day or night:
+I prefer a terminal with a black-on-white color scheme. I found that in the
daytime, sunlight is strong and black-on-white is more readable; However,
white-on-black would be less harsh to the eyes at night.
+
+So if you like, you can add the following line to your `~/.emacs` to
automatically switch between `moe-dark` and `moe-light` according to the system
time:
- (defun auto-switch-moe-theme ()
- (let ((now (string-to-int (format-time-string "%H"))))
- (if (and (>= now 06) (<= now 17))
- (load-theme 'moe-light) (load-theme 'moe-dark))
- nil))
- (run-with-timer 0 (* 1 60) 'auto-switch-moe-theme)
+ (require 'moe-theme-switcher)
-From now on, your Emacs will have a light theme within day and have a dark one
in night. =w=+
+By adding the line above, your Emacs will have a light theme in the day and a
dark one at night. =w=+
## Note
### No 256-Color Output?
-If your terminal emulator doesn't render 256-color output correctly, set its
-environment variable `TERM` to `xterm-256color`. For example, if you are using
-`Konsole`, navigate to `Edit Current Profile > General > Environment > Edit`
and
-add the following line:
+If your terminal emulator doesn't render 256-color output correctly, set its
environment variable `TERM` to `xterm-256color`. For example, if you are using
`Konsole`, navigate to `Edit Current Profile > General > Environment > Edit`
and add the following line:
TERM=xterm-256color
@@ -68,14 +69,14 @@ If you also use `tmux`, add this to `~/.tmux.conf`, too:
If you use Emacs build-in `show-paren-mode`, I recommend set the value of
`show-paren-style` to `expression` for optimized visual experience:
(show-paren-mode t)
- (setq show-paren-style 'expression) ;;另一種突顯方式(突顯整個括號範圍)
+ (setq show-paren-style 'expression)
### Not supported the mode(s) you're using?
The mode you're using has an ugly looking? `Moe-theme` doesn't support the
mode you like? It's welcome to report wishlist or issue on github, I'll try to
add related settings as soon as possible. Or of course, you can push request,
too.
-
## Known Bugs
* When type characters with IM (e.g. fcitx), and run Emacs under terminal
emulator (e.g. Konsole) with `moe-light-theme`; when you type words in IM, the
string embedded in Emacs may be very insignificant (But as you output the word
from IM, it turns normal).
+* moe-light under GUI version's Emacs seems to have a wrong background color.
## License
`moe-theme.el` (include images) is released under GPL v3. Copyleft is so cute!
diff --git a/moe-dark-theme.el b/moe-dark-theme.el
index 6d6046b5f4..9995560cc2 100644
--- a/moe-dark-theme.el
+++ b/moe-dark-theme.el
@@ -97,9 +97,9 @@ Moe, moe, chew!")
`(org-checkbox ((,class (:background ,white-2 :foreground ,black-3
:box (:line-width 1 :style
released-button)))))
`(org-date ((,class (:foreground ,blue-2 :underline t))))
- `(org-done ((,class (:bold t :weight bold :foreground ,green-4 :background
,green-2
+ `(org-done ((,class (:bold t :weight bold :foreground ,green-4 :background
,green-0
:box (:line-width 1 :style none)))))
- `(org-todo ((,class (:bold t :weight bold :foreground ,white-0 :background
,red-2
+ `(org-todo ((,class (:bold t :weight bold :foreground ,red-3 :background
,orange-0
:box (:line-width 1 :style none)))))
`(org-level-1 ((,class (:foreground ,blue-1 :height 1.3))))
`(org-level-2 ((,class (:foreground ,green-2 :height 1.2))))
diff --git a/moe-light-theme.el b/moe-light-theme.el
index 87fa25105f..49c251f735 100644
--- a/moe-light-theme.el
+++ b/moe-light-theme.el
@@ -98,7 +98,7 @@ Moe, moe, chew!")
`(org-date ((,class (:foreground ,blue-2 :underline t))))
`(org-done ((,class (:bold t :weight bold :foreground ,green-4 :background
,green-1
:box (:line-width 1 :style none)))))
- `(org-todo ((,class (:bold t :weight bold :foreground ,white-0 :background
,red-2
+ `(org-todo ((,class (:bold t :weight bold :foreground ,red-3 :background
,orange-0
:box (:line-width 1 :style none)))))
`(org-level-1 ((,class (:bold t :foreground ,blue-1 :height 1.3))))
`(org-level-2 ((,class (:bold t :foreground ,green-2 :height 1.2))))
diff --git a/pics/moe-theme.png b/pics/moe-theme.png
new file mode 100644
index 0000000000..a6ac11fc95
Binary files /dev/null and b/pics/moe-theme.png differ