{"id":28180690,"url":"https://github.com/tuxado/postcss-color-transformer","last_synced_at":"2026-02-21T14:04:09.015Z","repository":{"id":281290691,"uuid":"944852245","full_name":"tuxado/postcss-color-transformer","owner":"tuxado","description":"Postcss color converter","archived":false,"fork":false,"pushed_at":"2025-03-08T16:50:06.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T00:38:33.290Z","etag":null,"topics":["color","color-converter","colors","postcss","postcss-color-converter","postcss-plugin","postcss-plugins"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/tuxado.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-08T05:03:11.000Z","updated_at":"2025-03-08T16:50:10.000Z","dependencies_parsed_at":"2025-03-08T05:12:28.674Z","dependency_job_id":"ba902379-1f62-4697-bbdd-1a6db51668cf","html_url":"https://github.com/tuxado/postcss-color-transformer","commit_stats":null,"previous_names":["tuxado/postcss-color-transformer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tuxado/postcss-color-transformer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxado%2Fpostcss-color-transformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxado%2Fpostcss-color-transformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxado%2Fpostcss-color-transformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxado%2Fpostcss-color-transformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuxado","download_url":"https://codeload.github.com/tuxado/postcss-color-transformer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxado%2Fpostcss-color-transformer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29682749,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T13:29:26.630Z","status":"ssl_error","status_checked_at":"2026-02-21T13:26:50.125Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["color","color-converter","colors","postcss","postcss-color-converter","postcss-plugin","postcss-plugins"],"created_at":"2025-05-16T03:10:57.148Z","updated_at":"2026-02-21T14:04:09.000Z","avatar_url":"https://github.com/tuxado.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostCSS Color Converter\r\n\r\nA PostCSS plugin for converting between different color formats.\r\n\r\n## Features\r\n\r\n- Explicit conversion between color formats with intuitive syntax\r\n- Supports RGB, RGBA, HSL, HSLA, OKLCH, LAB, LCH, HWB, HSV, HSI\r\n- Handles transparency (alpha) values\r\n- Robust API with error handling\r\n- Written in TypeScript for better reliability\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install postcss-color-transformer --save-dev\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\n// postcss.config.js\r\nmodule.exports = {\r\n  plugins: [\r\n    require(\"postcss-color-transformer\")({\r\n      // Options (toutes sont optionnelles)\r\n      verbose: false, // Activer les logs détaillés\r\n      supportedFormats: [\r\n        \"rgb\",\r\n        \"rgba\",\r\n        \"hsl\",\r\n        \"hsla\",\r\n        \"oklch\",\r\n        \"lab\",\r\n        \"lch\",\r\n        \"hwb\",\r\n        \"hsv\",\r\n        \"hsi\",\r\n      ],\r\n    }),\r\n  ],\r\n};\r\n```\r\n\r\nCSS source :\r\n\r\n```css\r\n.test {\r\n  --color1: oklch(from hsl(x x x));\r\n  --color2: rgb(from oklch(x x x));\r\n  --color3: hsl(from rgb(x x x));\r\n}\r\n```\r\n\r\nCompiled to :\r\n\r\n```css\r\n.test {\r\n  --color1: oklch(y y y);\r\n  --color2: rgb(y y y);\r\n  --color3: hsl(y y y);\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxado%2Fpostcss-color-transformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuxado%2Fpostcss-color-transformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxado%2Fpostcss-color-transformer/lists"}