Module: KozenetUi::ThemeHelper
- Defined in:
- lib/kozenet_ui/engine.rb
Overview
Helper methods for injecting Kozenet UI theme variables into views
Instance Method Summary collapse
Instance Method Details
#kozenet_ui_theme_tag ⇒ Object
103 104 105 |
# File 'lib/kozenet_ui/engine.rb', line 103 def kozenet_ui_theme_tag content_tag(:style, kozenet_ui_theme_variables, nonce: content_security_policy_nonce) end |
#kozenet_ui_theme_variables ⇒ Object
107 108 109 |
# File 'lib/kozenet_ui/engine.rb', line 107 def kozenet_ui_theme_variables build_theme_css end |