{"id":13657471,"url":"https://github.com/bugsnag/chromatic-sass","last_synced_at":"2025-08-07T10:37:48.786Z","repository":{"id":57198434,"uuid":"55650169","full_name":"bugsnag/chromatic-sass","owner":"bugsnag","description":"Advanced color manipulation for node sass","archived":false,"fork":false,"pushed_at":"2020-01-20T15:23:47.000Z","size":75,"stargazers_count":150,"open_issues_count":4,"forks_count":9,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-08-04T03:05:06.073Z","etag":null,"topics":["gradients","lab","product","sass"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/bugsnag.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-07T00:13:02.000Z","updated_at":"2025-07-30T21:09:54.000Z","dependencies_parsed_at":"2022-09-16T14:10:24.832Z","dependency_job_id":null,"html_url":"https://github.com/bugsnag/chromatic-sass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bugsnag/chromatic-sass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fchromatic-sass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fchromatic-sass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fchromatic-sass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fchromatic-sass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugsnag","download_url":"https://codeload.github.com/bugsnag/chromatic-sass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fchromatic-sass/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269244181,"owners_count":24384536,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gradients","lab","product","sass"],"created_at":"2024-08-02T05:00:43.460Z","updated_at":"2025-08-07T10:37:48.744Z","avatar_url":"https://github.com/bugsnag.png","language":"CoffeeScript","funding_links":[],"categories":["CoffeeScript"],"sub_categories":[],"readme":"# Chromatic\nAdvanced color manipulation for node-sass. **[Read the API docs \u0026rsaquo;](api.md)**\n\n## Quick start\nChromatic is a [node-sass](https://github.com/sass/node-sass) wrapper around [chroma.js](https://github.com/gka/chroma.js/) with a few Sass-specific additions.\n\nHere are a few things Chromatic can do for you:\n\n- Create perceptually uniform gradients using the conventional CSS3 linear-gradient syntax\n- Procedurally generate aesthetically pleasing [color scales](#link-to-blog-post)\n- Define colors in a wide range of color spaces\n- Analyze and manipulate colors\n\nBecause of it's ability to support the LAB color space, Chromatic's color manipulation abilities can act as drop-in improvements for Sass's native color manipulation functions such as `darken`, `saturate`, and `mix`.\n\n\n### Install\nInstall chromatic via NPM.\n\n```shell\nnpm install chromatic-sass\n```\n\n### Usage\nTo use Chromatic, provide it in your node-sass configuration.\n\n```javascript\nvar sass = require \"node-sass\"\nvar chromatic = require \"chromatic-sass\"\n\nsass.render({\n  file: scss_filename,\n  functions: chromatic\n}, function(err, result) { /*...*/ });\n```\n\nChromatic returns an object defining [custom functions](https://github.com/sass/node-sass#functions--v300---experimental) that can be used with any node-sass build system. To provide your own custom javascript Sass functions alongside chromatic, merge `chromatic` with your custom functions object before providing it in your node-sass configuration.\n\n```javascript\nvar _ = require \"lodash\";\nvar myFunction = {\n    'echoString($str)': function(str) {\n      return new sass.types.String(str);\n    }\n  };\nvar sassFunctions = _.merge(chromatic, myFunction);\n\n/*...*/\n```\n\nUtilize Chromatic functions in your stylesheets as you would any other Sass function:\n\n```Sass\n.element {\n  background-image: chromatic-gradient(to right, blue, red);\n}\n```\n\n### Build\nTo compile the coffee-script source, `npm install`, then:\n\n```shell\nnpm run build\n```\n\n### Author\nChromatic is written by Max Luster\n\n### License\nReleased under MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsnag%2Fchromatic-sass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugsnag%2Fchromatic-sass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsnag%2Fchromatic-sass/lists"}