From 06c8a6d5741c8c9e36fc50bd9b3fb9a732119923 Mon Sep 17 00:00:00 2001 From: blendoit Date: Tue, 3 Sep 2019 19:03:01 -0700 Subject: blendoit-ucla theme --- .gitignore | 2 ++ README.org | 4 +-- auto-save-list/.saves-32379-blendux~ | 2 ++ blendoit-ucla-theme.el | 51 ++++++++++++++++++++++++++++++++++++ init_blendoit.el | 4 +-- init_emacs.el | 7 ++--- 6 files changed, 60 insertions(+), 10 deletions(-) create mode 100644 .gitignore create mode 100644 auto-save-list/.saves-32379-blendux~ create mode 100644 blendoit-ucla-theme.el diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4acd3ee --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# .gitignore +./elpa/* \ No newline at end of file diff --git a/README.org b/README.org index da233ce..7eb91f7 100644 --- a/README.org +++ b/README.org @@ -3,7 +3,7 @@ * Installation -** DONE Linux +** Linux 1. Backup your current =~/.emacs.d=: #+BEGIN_SRC bash mv ~/.emacs.d ~/.emacs.d.bkp @@ -14,8 +14,6 @@ git clone https://github.com/Blendoit/.emacs.d.git #+END_SRC -** TODO Windows - * Main Files ** =init.el= diff --git a/auto-save-list/.saves-32379-blendux~ b/auto-save-list/.saves-32379-blendux~ new file mode 100644 index 0000000..9b3be69 --- /dev/null +++ b/auto-save-list/.saves-32379-blendux~ @@ -0,0 +1,2 @@ +/home/blendux/.emacs.d/README.org +/tmp/#!home!blendux!.emacs.d!README.org# diff --git a/blendoit-ucla-theme.el b/blendoit-ucla-theme.el new file mode 100644 index 0000000..47f2d8c --- /dev/null +++ b/blendoit-ucla-theme.el @@ -0,0 +1,51 @@ +(deftheme blendoit-ucla + "Created 2019-09-03.") + +(custom-theme-set-faces + 'blendoit-ucla + '(cursor ((t (:background "#FFD100")))) + '(fixed-pitch ((t (:family "Hack")))) + '(variable-pitch ((((type w32)) (:foundry "outline" :family "Arial")) (t (:family "Sans Serif")))) + '(escape-glyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown")))) + '(homoglyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown")))) + '(minibuffer-prompt ((t (:foreground "#FFD100")))) + '(highlight ((((class color) (min-colors 88) (background light)) (:background "darkseagreen2")) (((class color) (min-colors 88) (background dark)) (:background "darkolivegreen")) (((class color) (min-colors 16) (background light)) (:background "darkseagreen2")) (((class color) (min-colors 16) (background dark)) (:background "darkolivegreen")) (((class color) (min-colors 8)) (:foreground "black" :background "green")) (t (:inverse-video t)))) + '(region ((t (:background "#C3D7EE" :distant-foreground "#003B5C")))) + '(shadow ((((class color grayscale) (min-colors 88) (background light)) (:foreground "grey50")) (((class color grayscale) (min-colors 88) (background dark)) (:foreground "grey70")) (((class color) (min-colors 8) (background light)) (:foreground "green")) (((class color) (min-colors 8) (background dark)) (:foreground "yellow")))) + '(secondary-selection ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "SkyBlue4")) (((class color) (min-colors 16) (background light)) (:background "yellow")) (((class color) (min-colors 16) (background dark)) (:background "SkyBlue4")) (((class color) (min-colors 8)) (:foreground "black" :background "cyan")) (t (:inverse-video t)))) + '(trailing-whitespace ((((class color) (background light)) (:background "red1")) (((class color) (background dark)) (:background "red1")) (t (:inverse-video t)))) + '(font-lock-builtin-face ((((class grayscale) (background light)) (:weight bold :foreground "LightGray")) (((class grayscale) (background dark)) (:weight bold :foreground "DimGray")) (((class color) (min-colors 88) (background light)) (:foreground "dark slate blue")) (((class color) (min-colors 88) (background dark)) (:foreground "LightSteelBlue")) (((class color) (min-colors 16) (background light)) (:foreground "Orchid")) (((class color) (min-colors 16) (background dark)) (:foreground "LightSteelBlue")) (((class color) (min-colors 8)) (:weight bold :foreground "blue")) (t (:weight bold)))) + '(font-lock-comment-delimiter-face ((default (:inherit (font-lock-comment-face))))) + '(font-lock-comment-face ((t (:foreground "#FF4F00")))) + '(font-lock-constant-face ((((class grayscale) (background light)) (:underline (:color foreground-color :style line) :weight bold :foreground "LightGray")) (((class grayscale) (background dark)) (:underline (:color foreground-color :style line) :weight bold :foreground "Gray50")) (((class color) (min-colors 88) (background light)) (:foreground "dark cyan")) (((class color) (min-colors 88) (background dark)) (:foreground "Aquamarine")) (((class color) (min-colors 16) (background light)) (:foreground "CadetBlue")) (((class color) (min-colors 16) (background dark)) (:foreground "Aquamarine")) (((class color) (min-colors 8)) (:foreground "magenta")) (t (:underline (:color foreground-color :style line) :weight bold)))) + '(font-lock-doc-face ((t (:inherit (font-lock-string-face))))) + '(font-lock-function-name-face ((((class color) (min-colors 88) (background light)) (:foreground "Blue1")) (((class color) (min-colors 88) (background dark)) (:foreground "LightSkyBlue")) (((class color) (min-colors 16) (background light)) (:foreground "Blue")) (((class color) (min-colors 16) (background dark)) (:foreground "LightSkyBlue")) (((class color) (min-colors 8)) (:weight bold :foreground "blue")) (t (:weight bold :inverse-video t)))) + '(font-lock-keyword-face ((((class grayscale) (background light)) (:weight bold :foreground "LightGray")) (((class grayscale) (background dark)) (:weight bold :foreground "DimGray")) (((class color) (min-colors 88) (background light)) (:foreground "Purple")) (((class color) (min-colors 88) (background dark)) (:foreground "Cyan1")) (((class color) (min-colors 16) (background light)) (:foreground "Purple")) (((class color) (min-colors 16) (background dark)) (:foreground "Cyan")) (((class color) (min-colors 8)) (:weight bold :foreground "cyan")) (t (:weight bold)))) + '(font-lock-negation-char-face ((t nil))) + '(font-lock-preprocessor-face ((t (:inherit (font-lock-builtin-face))))) + '(font-lock-regexp-grouping-backslash ((t (:inherit (bold))))) + '(font-lock-regexp-grouping-construct ((t (:inherit (bold))))) + '(font-lock-string-face ((((class grayscale) (background light)) (:slant italic :foreground "DimGray")) (((class grayscale) (background dark)) (:slant italic :foreground "LightGray")) (((class color) (min-colors 88) (background light)) (:foreground "VioletRed4")) (((class color) (min-colors 88) (background dark)) (:foreground "LightSalmon")) (((class color) (min-colors 16) (background light)) (:foreground "RosyBrown")) (((class color) (min-colors 16) (background dark)) (:foreground "LightSalmon")) (((class color) (min-colors 8)) (:foreground "green")) (t (:slant italic)))) + '(font-lock-type-face ((((class grayscale) (background light)) (:weight bold :foreground "Gray90")) (((class grayscale) (background dark)) (:weight bold :foreground "DimGray")) (((class color) (min-colors 88) (background light)) (:foreground "ForestGreen")) (((class color) (min-colors 88) (background dark)) (:foreground "PaleGreen")) (((class color) (min-colors 16) (background light)) (:foreground "ForestGreen")) (((class color) (min-colors 16) (background dark)) (:foreground "PaleGreen")) (((class color) (min-colors 8)) (:foreground "green")) (t (:underline (:color foreground-color :style line) :weight bold)))) + '(font-lock-variable-name-face ((((class grayscale) (background light)) (:slant italic :weight bold :foreground "Gray90")) (((class grayscale) (background dark)) (:slant italic :weight bold :foreground "DimGray")) (((class color) (min-colors 88) (background light)) (:foreground "sienna")) (((class color) (min-colors 88) (background dark)) (:foreground "LightGoldenrod")) (((class color) (min-colors 16) (background light)) (:foreground "DarkGoldenrod")) (((class color) (min-colors 16) (background dark)) (:foreground "LightGoldenrod")) (((class color) (min-colors 8)) (:weight light :foreground "yellow")) (t (:slant italic :weight bold)))) + '(font-lock-warning-face ((t (:inherit (error))))) + '(button ((t (:inherit (link))))) + '(link ((((class color) (min-colors 88) (background light)) (:underline (:color foreground-color :style line) :foreground "RoyalBlue3")) (((class color) (background light)) (:underline (:color foreground-color :style line) :foreground "blue")) (((class color) (min-colors 88) (background dark)) (:underline (:color foreground-color :style line) :foreground "cyan1")) (((class color) (background dark)) (:underline (:color foreground-color :style line) :foreground "cyan")) (t (:inherit (underline))))) + '(link-visited ((default (:inherit (link))) (((class color) (background light)) (:foreground "magenta4")) (((class color) (background dark)) (:foreground "violet")))) + '(fringe ((t (:background "#8BB8E8")))) + '(header-line ((default (:inherit (mode-line))) (((type tty)) (:underline (:color foreground-color :style line) :inverse-video nil)) (((class color grayscale) (background light)) (:box nil :foreground "grey20" :background "grey90")) (((class color grayscale) (background dark)) (:box nil :foreground "grey90" :background "grey20")) (((class mono) (background light)) (:underline (:color foreground-color :style line) :box nil :inverse-video nil :foreground "black" :background "white")) (((class mono) (background dark)) (:underline (:color foreground-color :style line) :box nil :inverse-video nil :foreground "white" :background "black")))) + '(tooltip ((((class color)) (:inherit (variable-pitch) :foreground "black" :background "lightyellow")) (t (:inherit (variable-pitch))))) + '(mode-line ((t (:box (:line-width -1 :style released-button) :foreground "#000000" :background "#FFB81C")))) + '(mode-line-buffer-id ((t (:weight bold)))) + '(mode-line-emphasis ((t (:weight bold)))) + '(mode-line-highlight ((((class color) (min-colors 88)) (:box (:line-width 2 :color "grey40" :style released-button))) (t (:inherit (highlight))))) + '(mode-line-inactive ((default (:inherit (mode-line))) (((class color) (min-colors 88) (background light)) (:background "grey90" :foreground "grey20" :box (:line-width -1 :color "grey75" :style nil) :weight light)) (((class color) (min-colors 88) (background dark)) (:background "grey30" :foreground "grey80" :box (:line-width -1 :color "grey40" :style nil) :weight light)))) + '(isearch ((((class color) (min-colors 88) (background light)) (:foreground "lightskyblue1" :background "magenta3")) (((class color) (min-colors 88) (background dark)) (:foreground "brown4" :background "palevioletred2")) (((class color) (min-colors 16)) (:foreground "cyan1" :background "magenta4")) (((class color) (min-colors 8)) (:foreground "cyan1" :background "magenta4")) (t (:inverse-video t)))) + '(isearch-fail ((((class color) (min-colors 88) (background light)) (:background "RosyBrown1")) (((class color) (min-colors 88) (background dark)) (:background "red4")) (((class color) (min-colors 16)) (:background "red")) (((class color) (min-colors 8)) (:background "red")) (((class color grayscale)) (:foreground "grey")) (t (:inverse-video t)))) + '(lazy-highlight ((((class color) (min-colors 88) (background light)) (:background "paleturquoise")) (((class color) (min-colors 88) (background dark)) (:background "paleturquoise4")) (((class color) (min-colors 16)) (:background "turquoise3")) (((class color) (min-colors 8)) (:background "turquoise3")) (t (:underline (:color foreground-color :style line))))) + '(match ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "RoyalBlue3")) (((class color) (min-colors 8) (background light)) (:foreground "black" :background "yellow")) (((class color) (min-colors 8) (background dark)) (:foreground "white" :background "blue")) (((type tty) (class mono)) (:inverse-video t)) (t (:background "gray")))) + '(next-error ((t (:inherit (region))))) + '(query-replace ((t (:inherit (isearch))))) + '(default ((t (:inherit nil :stipple nil :background "#003B5C" :foreground "white" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 154 :width normal :foundry "SRC" :family "Hack"))))) + +(provide-theme 'blendoit-ucla) diff --git a/init_blendoit.el b/init_blendoit.el index ec23ea9..33e6b43 100644 --- a/init_blendoit.el +++ b/init_blendoit.el @@ -25,8 +25,8 @@ ;; GNU Emacs GUI transparency ;;(set-frame-parameter (selected-frame) 'alpha '( . )) ;;(set-frame-parameter (selected-frame) 'alpha ) -(set-frame-parameter (selected-frame) 'alpha '(90 . 50)) -(add-to-list 'default-frame-alist '(alpha . (85 . 50))) +(set-frame-parameter (selected-frame) 'alpha '(85 . 50)) +;; (add-to-list 'default-frame-alist '(alpha . (85 . 50))) (load "~/.emacs.d/init_org-mode.el") (load "~/.emacs.d/init_latex.el") diff --git a/init_emacs.el b/init_emacs.el index 1ccfb08..01a5cea 100644 --- a/init_emacs.el +++ b/init_emacs.el @@ -4,15 +4,12 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(blink-cursor-mode t) - '(custom-enabled-themes (quote (blendoit))) + '(custom-enabled-themes (quote (blendoit-ucla))) '(custom-safe-themes (quote - ("4d3f9059ce9e8594351e7c99bb53bd4f618f4434bab04b185d480d7b28251936" "dd46180484782ce5001f05854af9860d0613e10c50be3922b4134d97d68b5aca" "132c52df20cd5dcee93e1ace30be8cacca8f4610138de4e61965cfc52d5e7d55" "57d746f8f0b6ca0b0be3c6cf273e73213d4eb773c6a0756fc984a3f010dee0b8" "e70654ab1649ac36ddcd7333e3a4525f706f37d608db17c3d9a89deae4dbc2da" default))) + ("6c3e0ab8b2a65dc980913556ffd19cd0838fdf6dd60509b7ec6964ab1bdc9a02" "22615d6e3875a2bdbcb1880352915c3420747227cc4d6189901da246f372109e" "5eeb46715f0f75190b99a17eee27e4481b34ef12d56e6eb359e69bf88b968055" "b1a9f91180ae9011bf6a8929d24e3e3aaedb44518a97eb9b6cdb3c35fdaeaf63" default))) '(display-line-numbers-type (quote visual)) '(global-display-line-numbers-mode t) - '(package-selected-packages - (quote - (magit evil-leader latex-preview-pane org-bullets evil))) '(scroll-bar-mode nil) '(tool-bar-mode nil)) (custom-set-faces -- cgit v1.2.3