Last active
August 30, 2016 19:09
-
-
Save viebel/3800b8ebae5292921c7d6fcb6c995c1f to your computer and use it in GitHub Desktop.
This file contains 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
(ns viebel.gist-3800b8ebae5292921c7d6fcb6c995c1f.raw.body-color) | |
(defn set-bg-color [c] | |
(set! (.. js/document -body -style -backgroundColor) c)) | |
(defn set-bg-color-element [e c] | |
(set! (.. e -style -backgroundColor) c)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment