{"id":15011043,"url":"https://github.com/less/more","last_synced_at":"2025-10-03T20:31:45.762Z","repository":{"id":661260,"uuid":"304188","full_name":"less/more","owner":"less","description":"less on rails — the official LESS plugin for Ruby on Rails","archived":true,"fork":false,"pushed_at":"2016-01-26T16:49:18.000Z","size":76,"stargazers_count":226,"open_issues_count":10,"forks_count":41,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-29T21:05:31.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lesscss.org","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/less.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-09-11T16:06:13.000Z","updated_at":"2024-10-21T15:19:58.000Z","dependencies_parsed_at":"2022-08-16T10:35:22.665Z","dependency_job_id":null,"html_url":"https://github.com/less/more","commit_stats":null,"previous_names":["cloudhead/more"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/less%2Fmore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/less%2Fmore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/less%2Fmore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/less%2Fmore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/less","download_url":"https://codeload.github.com/less/more/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235184469,"owners_count":18949253,"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":[],"created_at":"2024-09-24T19:38:35.133Z","updated_at":"2025-10-03T20:31:45.420Z","avatar_url":"https://github.com/less.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"### This repo is DEPRECATED and is only here for historical reasons.\n\nMore\n====\n\n*LESS on Rails.*\n\nMore is a plugin for Ruby on Rails applications. It automatically parses your applications `.less` files through LESS and outputs CSS files.\n\nIn details, More does the following:\n\n* Recursively looks for LESS (`.less`) files in `app/stylesheets`\n* Ignores partials (prefixed with underscore: `_partial.less`) - these can be included with `@import` in your LESS files\n* Saves the resulting CSS files to `public/stylesheets` using the same directory structure as `app/stylesheets`\n\nLESS\n----\n\nLESS extends CSS with: variables, mixins, operations and nested rules. For more information, see [http://lesscss.org](http://lesscss.org).\n\nUpgrading from less-for-rails\n=======================================\n\nThe old `less-for-rails` plugin looked for `.less` files in `public/stylesheets`. This plugin looks in `app/stylesheets`.\n\nTo migrate, you can either set `Less::More.source_path = Rails.root + \"/public/stylesheets\"`, or move your `.less` files to `app/stylesheets`.\n\n\nInstallation\n============\n\nMore depends on the LESS gem. Please install LESS first:\n\n\t$ gem install less\n\nRails Plugin\n------------\n\nUse this to install as a plugin in a Ruby on Rails app:\n\n\t$ script/plugin install git://github.com/cloudhead/more.git\n\nRails Plugin (using git submodules)\n-----------------------------------\n\nUse this if you prefer to use git submodules for plugins:\n\n\t$ git submodule add git://github.com/cloudhead/more.git vendor/plugins/more\n\t$ script/runner vendor/plugins/more/install.rb\n\n\nUsage\n=====\n\nUpon installation, a new directory will be created in `app/stylesheets`. Any LESS file placed in this directory, including subdirectories, will\nautomatically be parsed through LESS and saved as a corresponding CSS file in `public/stylesheets`. Example:\n\n\tapp/stylesheets/clients/screen.less =\u003e public/stylesheets/clients/screen.css\n\t\nIf you prefix a file with an underscore, it is considered to be a partial, and will not be parsed unless included in another file. Example:\n\n\t\u003cfile: app/stylesheets/clients/partials/_form.less\u003e\n\t@text_dark: #222;\n\t\n\t\u003cfile: app/stylesheets/clients/screen.less\u003e\n\t@import \"partials/_form\";\n\t\n\tinput { color: @text_dark; }\n\nThe example above will result in a single CSS file in `public/stylesheets/clients/screen.css`.\n\nAny `.css` file placed in `app/stylesheets` will be copied into `public/stylesheets` without being parsed through LESS.\n\n\nConfiguration\n=============\n\nSource path: the location of your LESS files (default: app/stylesheets)\n\n\tLess::More.source_path = \"public/stylesheets/less\"\n\t\nDestination Path: where the css goes (public/destination_path) (default: stylesheets)\n\n\tLess::More.destination_path = \"css\"\n\nMore can compress your files by removing extra line breaks (default: true)\n\n\tLess::More.compression = false\n\nMore inserts headers in the generated CSS files, letting people know that the file is in fact generated and shouldn't be edited directly. (default: true)\n\n\tLess::More.header = false\n\nTo configure More for a specific environment, add configuration options into the environment file, such as `config/environments/development.rb`.\n\nIf you wish to apply the configuration to all environments, place them in `config/environment.rb`.\n\n\nTasks\n=====\n\nMore provides a set of Rake tasks to help manage your CSS files.\n\nTo parse all LESS files and save the resulting CSS files to the destination path, run:\n\n\t$ rake more:generate\n\nTo delete all generated CSS files, run:\n\n\t$ rake more:clean\n\nThis task will not delete any CSS files from the destination path, that does not have a corresponding LESS file in the source path.\n\n\nGit / SVN\n=========\n\nCheck in all the generated css(destination path), they are only generated in development\n\nDocumentation\n=============\n\nTo view the full RDoc documentation, go to [http://rdoc.info/projects/cloudhead/more](http://rdoc.info/projects/cloudhead/more)\n\n\nContributors\n============\n* August Lilleaas ([http://github.com/augustl](http://github.com/augustl))\n* Logan Raarup ([http://github.com/logandk](http://github.com/logandk))\n* Michael Grosser ([http://github.com/grosser](http://github.com/grosser))\n\nLESS is maintained by Alexis Sellier [http://github.com/cloudhead](http://github.com/cloudhead)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fless%2Fmore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fless%2Fmore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fless%2Fmore/lists"}