Created
March 24, 2015 20:01
-
-
Save bitops/9d506f4ac3e028c77dcf to your computer and use it in GitHub Desktop.
My Emacs Theme :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Color stuffs | |
| ;; default colors | |
| (when window-system | |
| (add-to-list 'default-frame-alist '(background-color . "black")) | |
| (add-to-list 'default-frame-alist '(foreground-color . "wheat"))) | |
| (defun default-colors () | |
| (interactive) | |
| (set-background-color "black") | |
| (set-foreground-color "wheat")) | |
| (defun mellow-colors () | |
| (interactive) | |
| (set-background-color "gray9") | |
| (set-foreground-color "RosyBrown1")) | |
| ;; Color configuration | |
| (defun setup-mode-line () | |
| (set-face-attribute 'mode-line | |
| nil | |
| :foreground "light green" | |
| :background "firebrick1" | |
| :box '(:line-width 1 :style released-button)) | |
| (set-face-attribute 'mode-line-inactive | |
| nil | |
| :foreground "maroon4" | |
| :background "light blue" | |
| :box '(:line-width 1 :style released-button))) | |
| (setup-mode-line) | |
| ;; font stuff | |
| (defun set-global-font-size (size) | |
| "Set global font size. Values between 100 and 200 seem to work well." | |
| (interactive "sSize? (100-200): ") | |
| (set-face-attribute 'default nil :height (string-to-int size))) | |
| (provide 'colors) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment