Skip to content

Instantly share code, notes, and snippets.

@FrancisMurillo
Created February 14, 2017 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrancisMurillo/57b810f469d0ae9c061e63b8f8b875fe to your computer and use it in GitHub Desktop.
Save FrancisMurillo/57b810f469d0ae9c061e63b8f8b875fe to your computer and use it in GitHub Desktop.
Colored Words
(cons "freenode"
(concat ;; freenode
(propertize
"free" 'face '(:foreground "#e6e6e6"))
(propertize
"node" 'face '(:foreground "#4beb4a"))))
(cons "emacs"
(propertize
"emacs"
'face
'(:foreground "#ffffff" :background "#7e5ab6"
:box (:line-width 2 :color "#592982") :weight bold :height 0.9)))
(cons "google"
(concat ;; google
(propertize "g" 'face '(:foreground "#4285f4"))
(propertize "o" 'face '(:foreground "#ea4335"))
(propertize "o" 'face '(:foreground "#fbbc05"))
(propertize "g" 'face '(:foreground "#4285f4"))
(propertize "l" 'face '(:foreground "#34a853"))
(propertize "e" 'face '(:foreground "#ea4335"))))
(cons "clojure"
(concat ;; clojure
(propertize
"clo" 'face '(:foreground "#63b132" :box (:line-weight 2 :color "ffffff")))
(propertize
"j" 'face '(:foreground "#ffffff"))
(propertize
"ure" 'face '(:foreground "#5881d8"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment