Skip to content

Instantly share code, notes, and snippets.

@yalab
Created September 26, 2012 16:11
Show Gist options
  • Save yalab/3788931 to your computer and use it in GitHub Desktop.
Save yalab/3788931 to your computer and use it in GitHub Desktop.
yalab-color.el
(set-face-foreground 'font-lock-comment-face "#ff6666") ;red
(set-face-foreground 'font-lock-string-face "#66ff66") ;green
(set-face-foreground 'font-lock-keyword-face "cyan")
(set-face-bold-p 'font-lock-keyword-face t)
(set-face-foreground 'font-lock-function-name-face "#6699ff") ;blue
(set-face-bold-p 'font-lock-function-name-face t)
(set-face-foreground 'font-lock-variable-name-face "#ffd314") ;yellow
(set-face-foreground 'font-lock-type-face "#66ff66") ;green
(set-face-foreground 'font-lock-builtin-face "purple")
(set-face-foreground 'font-lock-constant-face "purple")
(set-face-foreground 'font-lock-warning-face "white")
(set-face-bold-p 'font-lock-warning-face nil)
(if window-system
(progn (set-background-color "Black")
(set-foreground-color "LightGray")
(set-cursor-color "Gray")
(set-frame-parameter nil 'alpha 90)
(setq default-frame-alist (append (list '(width . 80)
'(height . 30))
default-frame-alist))
(set-fontset-font
nil 'japanese-jisx0208
(font-spec :family "Ricty"))
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment