Method: TailwindTheme::Theme#merge_css
- Defined in:
- lib/tailwind_theme.rb
#merge_css(paths, options = {}) ⇒ String
Combine multiple paths and merging the combined Tailwind CSS classes.
Default options are:
:raise => false
128 129 130 131 |
# File 'lib/tailwind_theme.rb', line 128 def merge_css(paths, = {}) classnames = paths.map { |path| build path, }.compact.join(" ") merge classnames, end |