{"id":15698988,"url":"https://github.com/pgilad/gulp-colorguard","last_synced_at":"2025-05-07T08:34:33.347Z","repository":{"id":18394901,"uuid":"21576149","full_name":"pgilad/gulp-colorguard","owner":"pgilad","description":"Keep a watchful eye on your css colors.","archived":false,"fork":false,"pushed_at":"2015-05-22T17:29:09.000Z","size":177,"stargazers_count":37,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-27T14:38:21.447Z","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/pgilad.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":"2014-07-07T15:40:04.000Z","updated_at":"2022-09-29T05:08:17.000Z","dependencies_parsed_at":"2022-09-09T23:40:36.057Z","dependency_job_id":null,"html_url":"https://github.com/pgilad/gulp-colorguard","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-colorguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-colorguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-colorguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-colorguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgilad","download_url":"https://codeload.github.com/pgilad/gulp-colorguard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252843340,"owners_count":21812860,"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-03T19:37:15.507Z","updated_at":"2025-05-07T08:34:33.324Z","avatar_url":"https://github.com/pgilad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [gulp](https://github.com/wearefractal/gulp)-colorguard\n\u003e Keep a watchful eye on your css colors.\n\n[![NPM Version](http://img.shields.io/npm/v/gulp-colorguard.svg?style=flat)](https://npmjs.org/package/gulp-colorguard)\n[![NPM Downloads](http://img.shields.io/npm/dm/gulp-colorguard.svg?style=flat)](https://npmjs.org/package/gulp-colorguard)\n[![Build Status](http://img.shields.io/travis/pgilad/gulp-colorguard.svg?style=flat)](https://travis-ci.org/pgilad/gulp-colorguard)\n\n*Issues with the output should be reported on the css-colorguard [issue tracker](https://github.com/SlexAxton/css-colorguard/issues).*\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/gulp-colorguard)\n\n```bash\n$ npm install --save-dev gulp-colorguard\n```\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar colorguard = require('gulp-colorguard');\n\n//example with basic css copying\ngulp.task('css', function() {\n    gulp.src('./src/css/**/*.css')\n        .pipe(colorguard())\n        .pipe(gulp.dest('./public/css'));\n});\n\n//example with less-preprocesser\nvar less = require('gulp-less');\n\ngulp.task('css', function() {\n    gulp.src('./src/less/**/*.less')\n        .pipe(less())\n        .pipe(colorguard())\n        .pipe(gulp.dest('./public/css'));\n});\n\n//example with verbose logging\ngulp.task('css', function() {\n    gulp.src('./src/less/**/*.css')\n        .pipe(colorguard({\n            logOk: true\n        }))\n        .pipe(gulp.dest('./public/css'));\n\n        // then if no errors:\n        // --\u003e main.css has no css color collisions\n});\n```\n\n## API\n\n[Options](https://github.com/SlexAxton/css-colorguard#programmatic) are passed through to css-colorguard,\nexcept for `options.logOk` which affects this gulp plugin behavior only.\n\n### logOk\n\nBe verbose and log files that have no collisions. Off by default.\n\n**Type**: `Boolean`\n\n**Default**: `false`\n\n## License\n\nMIT @[Gilad Peleg](http://giladpeleg.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgilad%2Fgulp-colorguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgilad%2Fgulp-colorguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgilad%2Fgulp-colorguard/lists"}