{"id":16149241,"url":"https://github.com/djgrant/chameleon","last_synced_at":"2025-03-18T18:33:24.948Z","repository":{"id":19420134,"uuid":"22662554","full_name":"djgrant/chameleon","owner":"djgrant","description":"Build highly expressive and efficient CSS grids","archived":false,"fork":false,"pushed_at":"2017-01-10T16:16:39.000Z","size":75,"stargazers_count":6,"open_issues_count":4,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-23T11:01:05.133Z","etag":null,"topics":["css","framework","grid","sass"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/djgrant.png","metadata":{"files":{"readme":"README.md","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":"2014-08-05T23:10:11.000Z","updated_at":"2019-11-19T07:25:53.000Z","dependencies_parsed_at":"2022-08-05T07:15:33.885Z","dependency_job_id":null,"html_url":"https://github.com/djgrant/chameleon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djgrant%2Fchameleon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djgrant%2Fchameleon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djgrant%2Fchameleon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djgrant%2Fchameleon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djgrant","download_url":"https://codeload.github.com/djgrant/chameleon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221715925,"owners_count":16868644,"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":["css","framework","grid","sass"],"created_at":"2024-10-10T00:37:51.069Z","updated_at":"2024-10-27T18:15:20.813Z","avatar_url":"https://github.com/djgrant.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chameleon\n\nChameleon is a Sass layout framework for responsive web sites and applications.\n\nAt the heart of Chameleon is the ability to \"turn on\" classes at different screen sizes:\n\n```html\n\u003cdiv class=\"padded padded-small-on-mobile\"\u003e\u003c/div\u003e\n```\n\nOut of the box Chameleon adds 0Kb to your project. Generate only the classes that you need for your project.\n\n```scss\n@include classes('padded', $on: 'base');\n@include classes('padded-right', $on: 'base mobile');\n```\n\n```\n.padded {\n  padding: 20px;\n}\n\n.padded-right {\n  padding-right: 20px;\n}\n\n@media screen and (max-width: 479px) {\n  .padded-right-on-mobile {\n    padding-right: 20px;\n  }\n}\n```\n\nChameleon selectors be used anywhere in your stylesheet  - even if they weren't generated into classes.\n\n```scss\n.myModule {\n  @extend %padded;\n  @extend %padded-small-on-mobile;\n  @extend %padded-on-tablet;\n  border: 3px dashed red;\n}\n```\n\nYou can also create selectors of your own using Chameleon's core mixins.\n\n```scss\n@include placeholders('myHelper') {\n  color: red;\n}\n@include classes('myHelper', $on: 'base mobile tablet-up');\n```\n\nMulti-element modifiers provide a powerful, concise and expressive way to compose modules.\n\n```html\n\u003cdiv class=\"row cols-spaced cols-to-rows-on-mobile\"\u003e\n  \u003cdiv class=\"col-1-3\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"col-1-3\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"col-1-3\"\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjgrant%2Fchameleon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjgrant%2Fchameleon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjgrant%2Fchameleon/lists"}