We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inject-global
Is there a possibility to apply a function to generate the hash map with styles into inject-global?
For example
(defn head-css [s w] {:font-family (css-fonts :header) :font-size (str s "rem") :font-weight (* w 100)}) (inject-global { :h1 (head-css 2 9) :h2 (head-css 1.8 8) })
Does not work. Or am I missing some other function/macro that can help me modify styles with a similar approach?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there a possibility to apply a function to generate the hash map with styles into
inject-global
?For example
Does not work. Or am I missing some other function/macro that can help me modify styles with a similar approach?
The text was updated successfully, but these errors were encountered: