Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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