{"id":21278020,"url":"https://github.com/b13/t3ext-amazingless","last_synced_at":"2025-03-15T13:25:41.256Z","repository":{"id":5617382,"uuid":"6825013","full_name":"b13/t3ext-amazingless","owner":"b13","description":"TYPO3 Extension: amazingless","archived":false,"fork":false,"pushed_at":"2013-10-08T14:26:01.000Z","size":727,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-09T23:38:56.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b13.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-23T09:25:01.000Z","updated_at":"2015-07-29T21:00:28.000Z","dependencies_parsed_at":"2022-09-11T06:07:21.595Z","dependency_job_id":null,"html_url":"https://github.com/b13/t3ext-amazingless","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Ft3ext-amazingless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Ft3ext-amazingless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Ft3ext-amazingless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Ft3ext-amazingless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b13","download_url":"https://codeload.github.com/b13/t3ext-amazingless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243734468,"owners_count":20339294,"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-11-21T10:08:58.079Z","updated_at":"2025-03-15T13:25:41.229Z","avatar_url":"https://github.com/b13.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Extension Documentation \"Amazing LESS\"\n======================================\n\n.. sectionauthor:: Benni Mack \u003cbenni@typo3.org\u003e\n\nWhat Does It Do?\n----------------\n\nThis extension compiles .less files (see http://lesscss.org/) into .css files on page hit by\nhooking into the page loading process. The parsing and compiling is done by the 3rd party tool\nLESSPHP (http://leafo.net/lessphp/). The extension allows .less files to be included in TYPO3's\nTypoScript code, and in the PHP code of your extension, if you use the TYPO3 Page Renderer.\n\n\nWhy Is It So Amazing?\n---------------------\n\nWell... the key to all \"amazing\" extensions is that they are supereasy to set up and\nto configure. We at b13 want to make life easy, and configure as little as possible for most of our\nTYPO3 installations, but also have the possibility to configure, if needed.\n\n\nConfiguration\n-------------\n\nInstall the extension and then include your .less file through the pageRenderer addCSSfile() function.\n\nIn the frontend, you can include the .less file via TypoScript. On my site, it looks like this:\n\n.. code-block:: TypoScript\n\n\tpage.includeCSS.file1 = fileadmin/main/templates/less/style.less\n\nBy default, the output file will be stored as a temporary CSS file under typo3temp/amazingless_*.css.\n\nAs with the default LESS PHP functionality, the file checks if the created .css file is older than the\n.less file. If so, the .less file is re-compiled and the .css file is overwritten.\n\nPlease note that the LESS PHP compiler has certain limitations to date, especially when it comes to relative\npaths in the image files. So make sure that the paths to image files are a variable, and are relative\nto the final CSS file location.\n\n.. tip::\n\n\tIf you have a folder structure like \"fileadmin/templates/less/style.less\" and your \n\tcss output folder is located at \"fileadmin/templates/css/\" (that is ../css/ relative\n\tto your less/ directory), then output file will be put into css/style.css.\n\tAs CodeKit and others do that, we recommend this for now as well (as long)\n\n\n\nThanks / Contributions\n----------------------\n\nThanks go to\n\n* the authors of LESS, LESSPHP, Twitter Bootstrap\n* Dave Williams from Gold Prairie who introduced me to all this stuff\n* The crew at b13, making use of these features\n* Jesus Christ, who saved my life.\n\n\n2012-05-14, Benni.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Ft3ext-amazingless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb13%2Ft3ext-amazingless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Ft3ext-amazingless/lists"}