{"id":22191344,"url":"https://github.com/dustin-archive/adapt","last_synced_at":"2026-05-02T09:34:18.810Z","repository":{"id":58227938,"uuid":"56458610","full_name":"dustin-archive/adapt","owner":"dustin-archive","description":"Sweet responsive extends","archived":false,"fork":false,"pushed_at":"2016-12-04T03:14:33.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T17:28:58.005Z","etag":null,"topics":["adapt","extend","extends","mixin","mixins","placeholder","responsive","sass","scss","taffy"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/dustin-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-17T21:08:34.000Z","updated_at":"2018-01-20T02:17:46.000Z","dependencies_parsed_at":"2022-08-31T06:51:27.614Z","dependency_job_id":null,"html_url":"https://github.com/dustin-archive/adapt","commit_stats":null,"previous_names":["taffy-grid/adapt"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin-archive%2Fadapt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin-archive%2Fadapt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin-archive%2Fadapt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin-archive%2Fadapt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustin-archive","download_url":"https://codeload.github.com/dustin-archive/adapt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245351760,"owners_count":20601088,"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":["adapt","extend","extends","mixin","mixins","placeholder","responsive","sass","scss","taffy"],"created_at":"2024-12-02T12:15:39.086Z","updated_at":"2026-05-02T09:34:18.729Z","avatar_url":"https://github.com/dustin-archive.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Adapt\n===\n\n\u003e Sweet responsive extends\n\n## Why?\n+ Content that is easily extendable across at-rules\n+ Programmatically extend content without interpolation\n\n## Getting Started\n+ Install with Bower\n+ Import dependencies\n\n```\n$ bower install --save taffy-adapt\n```\n\n```scss\n@import 'bower_components/fizz-sass/scss/main';\n@import 'bower_components/taffy-adapt/scss/main';\n```\n\n## Adapt\n+ Helps extending your placeholders\n\n#### Using adapt\nSimplify the adapt mixin by wrapping it with your own.\n\n```scss\n@mixin foobar($variants) {\n  @include adapt('foobar', $variants);\n}\n```\n\nNow you can use your mixin.\n\n```scss\n.foobar {\n  @include foobar((1 baz) (2 baz));\n}\n```\n\n## Loop\n+ Helps generate your placeholders\n+ Uses `$adapt-loop` global variable to set the scope for each placeholder\n\n#### Using loop\nThe loop mixin accepts one argument that sets how many times it loops.\n\n```scss\n@include adapt-loop(2) {\n  %foobar-#{$adapt-loop}-baz {\n    // ...\n  }\n\n  %foobar-#{$adapt-loop}-qux {\n    // ...\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustin-archive%2Fadapt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustin-archive%2Fadapt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustin-archive%2Fadapt/lists"}