{"id":15066671,"url":"https://github.com/digitaledgeit/sass-named-breakpoints","last_synced_at":"2026-01-02T15:50:11.986Z","repository":{"id":30714502,"uuid":"34270655","full_name":"digitaledgeit/sass-named-breakpoints","owner":"digitaledgeit","description":"Mixin for wrapping styles in known breakpoints. (DEPRECIATED)","archived":false,"fork":false,"pushed_at":"2015-08-20T22:17:04.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T12:03:22.208Z","etag":null,"topics":[],"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/digitaledgeit.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":"2015-04-20T15:59:48.000Z","updated_at":"2015-08-20T14:58:24.000Z","dependencies_parsed_at":"2022-09-04T00:30:18.975Z","dependency_job_id":null,"html_url":"https://github.com/digitaledgeit/sass-named-breakpoints","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/digitaledgeit%2Fsass-named-breakpoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-named-breakpoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-named-breakpoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-named-breakpoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitaledgeit","download_url":"https://codeload.github.com/digitaledgeit/sass-named-breakpoints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243833941,"owners_count":20355354,"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-25T01:10:38.296Z","updated_at":"2026-01-02T15:50:11.938Z","avatar_url":"https://github.com/digitaledgeit.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sass-named-breakpoints\n\nMixin for wrapping styles in predefined breakpoints. (DEPRECIATED)\n\n\u003ch2 style=\"color: orange\"\u003e\nPlease use [sass-breakpoints](https://www.npmjs.com/package/sass-breakpoints) instead.\n\u003c/h1\u003e\n\n## Installation\n\n  npm install --save sass-named-breakpoints\n\n## Usage\n\n`cat example/example.scss`\n\n    @import \"sass-named-breakpoints\";\n    \n    @include named_breakpoint('xs') {\n      body {\n        background-color: red;\n      }\n    }\n    \n    @include named_breakpoint('md') {\n      body {\n        background-color: green;\n      }\n    }\n    \n`sassc example/example.scss`\n\n    @media (min-width: 0em) {\n      body {\n        background-color: red; }\n     }\n    \n    @media (min-width: 48em) {\n      body {\n        background-color: green; }\n     }\n     \n## Defaults\n    \n    $named_breakpoints: (\n      \"xs\": 0px,    //targeting \u003c569px devices (e.g. all iPhones \u003c6)\n      \"sm\": 569px,  //targeting \u003e=569px devices (e.g. iPhones \u003e=6)\n      \"md\": 768px,  //targeting \u003e=768px tablets (e.g. portrait iPad)\n      \"lg\": 1004px  //targeting \u003e=1024px tablets (e.g. landscape iPad) and desktops but leaving room for the scrollbar\n    ) !default;\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitaledgeit%2Fsass-named-breakpoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitaledgeit%2Fsass-named-breakpoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitaledgeit%2Fsass-named-breakpoints/lists"}