class Rails::Generators::AppBase
def css_gemfile_entry
def css_gemfile_entry return if options[:api] return unless options[:css] if !using_js_runtime? && options[:css] == "tailwind" GemfileEntry.floats "tailwindcss-rails", "Use Tailwind CSS [https://github.com/rails/tailwindcss-rails]" elsif !using_js_runtime? && options[:css] == "sass" GemfileEntry.floats "dartsass-rails", "Use Dart SASS [https://github.com/rails/dartsass-rails]" else GemfileEntry.floats "cssbundling-rails", "Bundle and process CSS [https://github.com/rails/cssbundling-rails]" end end