{"id":15503056,"url":"https://github.com/johno/gulp-css-scss","last_synced_at":"2025-04-22T23:21:53.790Z","repository":{"id":26186977,"uuid":"29632887","full_name":"johno/gulp-css-scss","owner":"johno","description":"Gulp plugin for converting CSS to Scss.","archived":false,"fork":false,"pushed_at":"2015-10-30T22:30:31.000Z","size":172,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-19T17:30:51.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/johno.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":"2015-01-22T00:25:57.000Z","updated_at":"2019-07-11T18:24:44.000Z","dependencies_parsed_at":"2022-08-25T20:41:09.564Z","dependency_job_id":null,"html_url":"https://github.com/johno/gulp-css-scss","commit_stats":null,"previous_names":["johnotander/gulp-css-scss"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-css-scss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-css-scss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-css-scss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-css-scss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/gulp-css-scss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249750227,"owners_count":21320102,"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-10-02T09:12:00.862Z","updated_at":"2025-04-22T23:21:53.775Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-css-scss [![Build Status](https://secure.travis-ci.org/johnotander/gulp-css-scss.png?branch=master)](https://travis-ci.org/johnotander/gulp-css-scss) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nGulp plugin for converting CSS to Scss, uses the [css-scss](https://github.com/jxnblk/css-scss) module created by [@jxnblk](https://twitter.com/jxnblk).\n\n## Installation\n\n```bash\nnpm install --save gulp-css-scss\n```\n\n## Usage\n\n```javascript\nconst gulp = require('gulp');\nconst cssScss = require('gulp-css-scss');\n\ngulp.task('css-scss', () =\u003e {\n  return gulp.src('my-file.css')\n    .pipe(cssScss())\n    .pipe(gulp.dest('scss'));\n});\n\ngulp.task('default', ['css-scss']);\n```\n\n#### Input\n\n```css\n:root {\n  --red: #f00;\n}\n\n.warning {\n  color: var(--red):\n}\n\n@media (--breakpoint-small) {\n  .sm-col-6 { width: 50% }\n}\n\n@custom-media --breakpoint-small (min-width: 40em);\n\n.col-4 { calc( 4 / 12 * 100% ) }\n```\n\n#### Output\n\n```scss\n$red: #f00 !default;\n\n.warning {\n  color: $red;\n}\n\n$breakpoint-small: '(min-width: 40em)' !default;\n\n@media #{$breakpoint-small} {\n  .sm-col-6 { width: 50% }\n}\n\n.col-4 { ( 4 / 12 * 100% ) }\n```\n\n## License\n\nMIT\n\n## Related\n\n* \u003chttps://github.com/jxnblk/css-scss\u003e\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with \u003c3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fgulp-css-scss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fgulp-css-scss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fgulp-css-scss/lists"}