Module: Vident::Tailwind
- Defined in:
- lib/vident/tailwind.rb,
lib/vident/tailwind/railtie.rb,
lib/vident/tailwind/version.rb
Overview
Adds a utility class merge specifically for Tailwind, allowing you to more easily specify class overrides without having to worry about the specificity of the classes.
Defined Under Namespace
Classes: Railtie
Constant Summary collapse
- VERSION =
"0.2.0"
Instance Method Summary collapse
Instance Method Details
#produce_style_classes(class_names) ⇒ Object
10 11 12 13 |
# File 'lib/vident/tailwind.rb', line 10 def produce_style_classes(class_names) to_merge = dedupe_view_component_classes(class_names) tailwind_class_merger.merge(to_merge) if to_merge.present? end |