{"id":19594975,"url":"https://github.com/zessx/sass-queries","last_synced_at":"2025-04-27T15:34:23.039Z","repository":{"id":26292343,"uuid":"29740087","full_name":"zessx/sass-queries","owner":"zessx","description":"Manage media-queries in Sass easily.","archived":false,"fork":false,"pushed_at":"2017-12-08T13:07:42.000Z","size":59,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T19:41:34.626Z","etag":null,"topics":["css","sass"],"latest_commit_sha":null,"homepage":"https://work.smarchal.com/sass-queries/","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/zessx.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-01-23T15:57:34.000Z","updated_at":"2023-09-27T12:19:30.000Z","dependencies_parsed_at":"2022-07-21T08:32:20.792Z","dependency_job_id":null,"html_url":"https://github.com/zessx/sass-queries","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zessx%2Fsass-queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zessx%2Fsass-queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zessx%2Fsass-queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zessx%2Fsass-queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zessx","download_url":"https://codeload.github.com/zessx/sass-queries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251162912,"owners_count":21545844,"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","sass"],"created_at":"2024-11-11T08:45:23.461Z","updated_at":"2025-04-27T15:34:18.093Z","avatar_url":"https://github.com/zessx.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SassQueries\n\n![SassQueries](https://raw.githubusercontent.com/zessx/sass-queries/master/sass-queries.png)  \nManage media-queries in Sass easily.\n\n## Configuration\n\nPut `sass-queries.scss` file in your project, and include it via your Sass manifest:\n\n    @import \"helpers/sass-queries\";\n\nYou can fully configurate SassQueries thanks to a bunch of variables prefixed with `$sq-`.  \nSassQueries provides default values for these variable, so you just have to put the one you need in your `variables.scss` file:\n\n    // Set your breakpoints: label / min-width\n    $sq-breakpoints: (\n        mobile:    320px,\n        tablet:    768px,\n        desktop:   992px,\n        wide:      1200px\n    );\n    // What is the media type?\n    $sq-media: \"all\";\n    // Enable (or not) a small tag displaying your current breakpoint\n    $sq-debug: false;\n    // Use mobile first or not\n    $sq-mobile-first: true;\n    \n## Usage\n\nSassQueries comes with a unique mixin: `media()`, which allows you to target a starting/ending breakpoint, to specify a media type, and even to add custom options.\n\n    .selector {\n      @include media($from: tablet) {\n        // starting breakpoint\n      }\n      @include media($until: desktop) {\n        // ending breakpoint\n      }\n      @include media($from: desktop, $media: tv) {\n        // media type specified\n      }\n      @include media($until: tablet, $and: \"(orientation: landscape)\") {\n        // additional option\n      }\n      @include media($from: tablet, $until: desktop) {\n        // starting + ending breakpoint\n      }\n    }\n\n## Todo\n\n- [x] Use default values\n- [x] Display debug tooltip\n- [x] Add mobile-first option\n- [ ] Sort `$sq-breakpoints` map depending of `$sq-mobile-first`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzessx%2Fsass-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzessx%2Fsass-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzessx%2Fsass-queries/lists"}