Problem
simple_form works well with Bootstrap 5 and Foundation, providing easy form styling. However, it lacks built-in support for the css-zero framework (https://github.com/lazaronixon/css-zero), requiring manual setup.
Solution
Add official css-zero support by:
- Adding an initializer: A pre-configured file to style
simple_form output for css-zero.
- Creating a generator option: Allow users to run
rails generate simple_form:install --css-zero to easily install the setup file.
- Updating documentation: Provide clear instructions on using
simple_form with css-zero.
Why css-zero?
css-zero is a "no build" or class-light CSS approach for Rails, and supporting it would make simple_form more versatile for developers who prefer this framework.
This feature would simplify integrating simple_form into projects using css-zero.
Problem
simple_formworks well with Bootstrap 5 and Foundation, providing easy form styling. However, it lacks built-in support for thecss-zeroframework (https://github.com/lazaronixon/css-zero), requiring manual setup.Solution
Add official
css-zerosupport by:simple_formoutput forcss-zero.rails generate simple_form:install --css-zeroto easily install the setup file.simple_formwithcss-zero.Why css-zero?
css-zerois a "no build" or class-light CSS approach for Rails, and supporting it would makesimple_formmore versatile for developers who prefer this framework.This feature would simplify integrating
simple_forminto projects usingcss-zero.