emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/moe-theme 94a1569a15 059/352: 1. Add installation guide fo


From: ELPA Syncer
Subject: [nongnu] elpa/moe-theme 94a1569a15 059/352: 1. Add installation guide for MELPA repository. 2. Update information for package.el
Date: Fri, 7 Jan 2022 03:59:06 -0500 (EST)

branch: elpa/moe-theme
commit 94a1569a153db18213f67941d353c64712b4d80e
Author: kuanyui <azazabc123@gmail.com>
Commit: kuanyui <azazabc123@gmail.com>

    1. Add installation guide for MELPA repository. 2. Update information for 
package.el
---
 README.md    | 21 +++++++++++++++------
 moe-theme.el | 25 +++++++++++++------------
 2 files changed, 28 insertions(+), 18 deletions(-)

diff --git a/README.md b/README.md
index ed354993e6..cbc3e1b58d 100644
--- a/README.md
+++ b/README.md
@@ -13,9 +13,9 @@
 <a 
href="https://raw.github.com/kuanyui/moe-theme.el/master/pics/light05.png";><img 
src="pics/light05.png" width="355" height="192"/></a>
 
 ## What Special?
-* Optimized for terminal color palettes.
+* Optimized for terminal's 256 color palettes.
 * Black-on-white & white-on-black.
-* Delightful and cheerful color-palettes.
+* Delightful and cheerful color palettes.
 * Quite completed font faces for each mode.
 * Automatically switch between dark and light `moe-theme` by local time! 
(optional)
 
@@ -37,9 +37,17 @@
 * 256-colors (or higher) terminal.
 
 ## Install
-`moe-light` and `moe-dark` are independent from each other, so you can just 
download one of them.
+### Via package.el
+`Moe-theme` is available in [MELPA](https://github.com/milkypostman/melpa) 
repository now, so you can install `moe-theme` easily with `M-x` 
`list-packages`.
 
-Download the one you prefer to `~/.emacs.d/themes`.Then, add these to your 
init file (take `moe-dark-theme.el` as example):
+If you want `moe-theme` to load automatically as Emacs startup, take 
`moe-dark` for example, you can use:
+
+```lisp
+       (load-theme 'moe-dark t)
+```
+
+### Manually
+Download the archive of `moe-theme` to `~/.emacs.d/themes` and extract it. 
Then, add these to your init file:
 
 ```lisp
        ;;customize theme
@@ -53,6 +61,8 @@ Or you can load theme just by adding:
     (load-file "~/.emacs.d/themes/moe-dark-theme.el")
 ```
 
+(Note: `moe-light-theme.el` and `moe-dark-theme.el` are independent from each 
other, so you can just download one of them.)
+
 ## Have A Good Mood Today?
 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.
 
@@ -103,8 +113,7 @@ Can't bear a mode with an ugly looking? `moe-theme` doesn't 
support the mode you
 
 ## Known Issues
 * When using `moe-light` and typing characters under terminal emulator (e.g. 
Konsole) with IM (e.g. fcitx), the string embedded in Emacs may be very 
insignificant (But as you output the word from IM, it turns normal).
-* \[Maybe have fixed\]  The background colors seems to be wrong under a GUI 
version's Emacs.
-(I don't sure if this issue really fixed due to strange behavior of Emacs, 
it's welcome to report issue)
 
 ## License
 `moe-theme.el` (include images) is released under GPL v3. Copyleft is so cute!
+
diff --git a/moe-theme.el b/moe-theme.el
index cdab2a57b1..7b4a4b9a5c 100644
--- a/moe-theme.el
+++ b/moe-theme.el
@@ -13,17 +13,18 @@
 
 ;;; Commentary:
 
-;; You can take a look at screenshots and more details on:
+;; You can take a look at screenshots and acquire more information on:
 ;;     https://github.com/kuanyui/moe-theme.el
 ;; 
+;;
 ;; Requirements
 ;; 
-;; - Emacs 24 (or above)
-;; - 256 colors terminal (or higher)
+;;   - Emacs 24 (or above)
+;;   - 256 colors terminal (or higher)
 ;;
 ;; Usage
 ;; 
-;; Add you to your .emacs:
+;;   Add you to your .emacs:
 ;;
 ;;     (load-theme 'moe-dark t)
 ;;                or
@@ -32,26 +33,26 @@
 ;;                
 ;; Auto Switching
 ;; 
-;; 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.
+;;   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:
+;;   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:
 ;;
 ;;     (require 'moe-theme-switcher)
 ;; 
-;; By adding the line above, your Emacs will have a light theme in the day and 
a dark one at night. =w=+
+;;   By adding the line above, your Emacs will have a light theme in the day 
and a dark one at night. =w=+
 ;; 
 ;; 
 ;; Live in Antarctica?
 ;; 
-;; Daytime is longer in summer but shorter in winter; or you live in a high 
latitude region which midnight-sun or polar-night may occur such as Finland or 
Antarctica?
+;;   Daytime is longer in summer but shorter in winter; or you live in a high 
latitude region which midnight-sun or polar-night may occur such as Finland or 
Antarctica?
 ;; 
-;; There's a variable `moe-theme-switch-by-sunrise-and-sunset` would solve 
your problem (default value is `t`)
+;;   There's a variable `moe-theme-switch-by-sunrise-and-sunset` would solve 
your problem (default value is `t`)
 ;; 
-;; If this value is `nil`, `moe-theme-switcher` will switch theme at fixed 
time (06:00 and 18:00).
+;;   If this value is `nil`, `moe-theme-switcher` will switch theme at fixed 
time (06:00 and 18:00).
 ;; 
-;; If this value is `t` and both `calendar-latitude` and `calendar-longitude` 
are set properly, the switching will be triggered at the sunrise and sunset 
time of the local calendar.
+;;   If this value is `t` and both `calendar-latitude` and 
`calendar-longitude` are set properly, the switching will be triggered at the 
sunrise and sunset time of the local calendar.
 ;; 
-;; Take "Keelung, Taiwan" (25N,121E) for example, you can set like this:
+;;   Take "Keelung, Taiwan" (25N,121E) for example, you can set like this:
 ;; 
 ;;     (setq calendar-latitude +25)
 ;;     (setq calendar-longitude +121)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]