{"id":14955271,"url":"https://github.com/juanvqz/simple_form-theme","last_synced_at":"2025-10-04T06:30:35.113Z","repository":{"id":246455017,"uuid":"821199234","full_name":"JuanVqz/simple_form-theme","owner":"JuanVqz","description":"The easiest way to install modern CSS themes for SimpleForm.","archived":false,"fork":false,"pushed_at":"2024-09-12T05:02:44.000Z","size":61,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T11:12:20.937Z","etag":null,"topics":["bulma-css","rails","ruby","rubygems","tailwind-css"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/simple_form-theme","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuanVqz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-28T03:04:23.000Z","updated_at":"2024-10-31T11:23:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"e44e052e-158c-41aa-bf98-bc3444147d88","html_url":"https://github.com/JuanVqz/simple_form-theme","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":0.55,"last_synced_commit":"65191931113cc995de3412f9899067cd0118eaed"},"previous_names":["juanvqz/simple_form-theme"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanVqz%2Fsimple_form-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanVqz%2Fsimple_form-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanVqz%2Fsimple_form-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanVqz%2Fsimple_form-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuanVqz","download_url":"https://codeload.github.com/JuanVqz/simple_form-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235222561,"owners_count":18955330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulma-css","rails","ruby","rubygems","tailwind-css"],"created_at":"2024-09-24T13:10:47.718Z","updated_at":"2025-10-04T06:30:29.789Z","avatar_url":"https://github.com/JuanVqz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/simple_form-theme.svg)](https://badge.fury.io/rb/simple_form-theme)\n\n# SimpleForm::Theme\nShort description and motivation.\n\n### Supported CSS Frameworks\n* [Tailwind CSS](https://tailwindcss.com/docs/installation)\n* [Bulma](https://bulma.io/documentation/start/installation)\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'simple_form-theme'\n```\n\nAnd then execute:\n```bash\nbundle\n```\n\nAs an alternative instead of adding an additional dependency to your project,\nyou can copy the initializer file to your project from the GitHub repository.\n\nExample:\n```bash\ncp lib/generators/simple_form/theme/templates/config/initializers/simple_form_tailwindcss.rb yourapp/config/initializers/simple_form_tailwindcss.rb\n```\n\nHowever, if you install the gem, you will get the latest updates and improvements.\n\n## Requirements\n\n* Make sure you have installed [simple_form](https://github.com/heartcombo/simple_form) gem.\n* Make sure you have installed the decired css framework.\n\n## Usage\n\n### Install Tailwind CSS files\n\n```bash\nbin/rails generate simple_form:theme:tailwind install\n```\n\nAfter running this generator, you will see the `config/initializers/simple_form_tailwindcss.rb` file.\nThis file adds the Tailwind CSS styles to your application.\nAdditionally, the `config/locales/simple_form_tailwind.en.yml` file will add the \"required\" mark to the required fields.\nHowever, you need to communicate Tailwind to \"watch\" those files by adding the following configuration:\n\n```js\n# tailwind.config.js\n\nmodule.exports = {\n  ...\n  content: [\n    './config/initializers/simple_form_tailwindcss.rb',\n    './config/locales/simple_form*.yml',\n    ...\n  ],\n}\n```\n\n### Install Bulma CSS files\n\n```bash\nbin/rails generate simple_form:theme:bulma install\n```\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/JuanVqz/simple_form-theme\n\n## License\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanvqz%2Fsimple_form-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuanvqz%2Fsimple_form-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanvqz%2Fsimple_form-theme/lists"}