{"id":18886828,"url":"https://github.com/albertfdp/postcss-logical-issue","last_synced_at":"2026-02-23T19:30:18.001Z","repository":{"id":49841171,"uuid":"518362240","full_name":"albertfdp/postcss-logical-issue","owner":"albertfdp","description":"Reproduction of postcss-logical issue","archived":false,"fork":false,"pushed_at":"2022-07-27T08:09:47.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T05:17:09.296Z","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/albertfdp.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":"2022-07-27T07:55:18.000Z","updated_at":"2023-03-10T08:15:09.000Z","dependencies_parsed_at":"2022-09-16T02:11:29.175Z","dependency_job_id":null,"html_url":"https://github.com/albertfdp/postcss-logical-issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpostcss-logical-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpostcss-logical-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpostcss-logical-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpostcss-logical-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertfdp","download_url":"https://codeload.github.com/albertfdp/postcss-logical-issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859566,"owners_count":19708861,"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-11-08T07:31:05.237Z","updated_at":"2026-02-23T19:30:17.911Z","avatar_url":"https://github.com/albertfdp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-logical-issue\n\nReproduction of postcss-logical issue\n\n## Issue\n\nWhen running `postcss` with `postcss-preset-env` or a combination of the following plugins\n\n```js\nmodule.exports = {\n  plugins: {\n    \"postcss-custom-properties\": {},\n    \"postcss-logical\": {},\n    \"postcss-dir-pseudo-class\": {},\n  },\n};\n```\n\nand an input CSS as:\n\n```css\n:root {\n  --content-width: 300px;\n}\n\n.c {\n  margin-inline-start: var(--content-width);\n}\n```\n\nProduce as output a duplicate rule that prevents the usage of the custom property:\n\n```css\n:root {\n  --content-width: 300px;\n}\n\n[dir=\"ltr\"] .c {\n  margin-left: 300px;\n  margin-left: var(--content-width);\n}\n\n[dir=\"rtl\"] .c {\n  margin-right: 300px;\n  margin-right: var(--content-width);\n}\n\n[dir=\"ltr\"] .c {\n  margin-left: 300px;\n}\n\n[dir=\"rtl\"] .c {\n  margin-right: 300px;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertfdp%2Fpostcss-logical-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertfdp%2Fpostcss-logical-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertfdp%2Fpostcss-logical-issue/lists"}