{"id":20348861,"url":"https://github.com/zgreen/postcss-shared-values","last_synced_at":"2025-03-04T16:17:55.839Z","repository":{"id":46933618,"uuid":"95476241","full_name":"zgreen/postcss-shared-values","owner":"zgreen","description":"A PostCSS plugin that allows for a comma-separated shorthand for properties that share the same value.","archived":false,"fork":false,"pushed_at":"2022-12-06T21:55:51.000Z","size":85,"stargazers_count":0,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T11:42:31.148Z","etag":null,"topics":["css","postcss","postcss-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/zgreen.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":"2017-06-26T18:20:49.000Z","updated_at":"2020-07-30T12:43:08.000Z","dependencies_parsed_at":"2023-01-23T13:15:12.111Z","dependency_job_id":null,"html_url":"https://github.com/zgreen/postcss-shared-values","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgreen%2Fpostcss-shared-values","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgreen%2Fpostcss-shared-values/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgreen%2Fpostcss-shared-values/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgreen%2Fpostcss-shared-values/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zgreen","download_url":"https://codeload.github.com/zgreen/postcss-shared-values/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241877485,"owners_count":20035417,"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","postcss","postcss-plugin"],"created_at":"2024-11-14T22:22:45.834Z","updated_at":"2025-03-04T16:17:55.797Z","avatar_url":"https://github.com/zgreen.png","language":"JavaScript","readme":"# PostCSS Shared Values\n\n![Travis build status](https://travis-ci.org/zgreen/postcss-shared-values.svg?branch=master)\n\nA PostCSS plugin that allows for a comma-separated shorthand for properties that share the same value.\n\n## Install\n\n`npm install --save-dev postcss-shared-values`\nor\n`yarn add -D postcss-shared-values`\n\n## Usage examples\n\n### Input CSS:\n```css\n.foo {\n  height, width: 100px;\n}\n```\n\n### Output CSS:\n```css\n.foo {\n  height: 100px;\n  width: 100px;\n}\n```\n\n## Try it out.\n\nAn example is available in this repository. Use `npm run example` or `yarn example` to try it out.\n\n## Is this a good idea?\n\nMaybe, maybe not. This plugin encourages an invalid CSS syntax, which may be confusing to some users. However, it also encourages the user to explicitly group properties that are meant to share the same value, which may be helpful from a code maintenance standpoint. It's also a convenient shorthand.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgreen%2Fpostcss-shared-values","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzgreen%2Fpostcss-shared-values","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgreen%2Fpostcss-shared-values/lists"}