{"id":16354662,"url":"https://github.com/peter-neumann-dev/css-order","last_synced_at":"2025-10-26T03:31:09.189Z","repository":{"id":172056087,"uuid":"648789295","full_name":"peter-neumann-dev/css-order","owner":"peter-neumann-dev","description":"🎨 Custom order for consistent sorting of CSS properties","archived":false,"fork":false,"pushed_at":"2024-04-02T16:09:02.000Z","size":20,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T14:15:33.644Z","etag":null,"topics":["code-quality","consistency","css","sass","scss"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peter-neumann-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-06-02T20:21:57.000Z","updated_at":"2024-11-21T09:52:07.000Z","dependencies_parsed_at":"2024-04-02T17:27:40.455Z","dependency_job_id":"0993ed6f-5b9b-4a09-a6f1-660227423b92","html_url":"https://github.com/peter-neumann-dev/css-order","commit_stats":null,"previous_names":["peter-neumann-dev/css-order"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-neumann-dev%2Fcss-order","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-neumann-dev%2Fcss-order/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-neumann-dev%2Fcss-order/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-neumann-dev%2Fcss-order/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter-neumann-dev","download_url":"https://codeload.github.com/peter-neumann-dev/css-order/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238254103,"owners_count":19441786,"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":["code-quality","consistency","css","sass","scss"],"created_at":"2024-10-11T01:36:19.126Z","updated_at":"2025-10-26T03:31:03.507Z","avatar_url":"https://github.com/peter-neumann-dev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🎨 CSS Properties-Order\n\n**An order for consistent sorting of CSS properties**\n\n[![Release](https://img.shields.io/github/v/release/peter-neumann-dev/css-order?color=0D9488\u0026sort=semver\u0026style=for-the-badge)](https://github.com/peter-neumann-dev/responsive-image-linter/releases)\n[![License](https://img.shields.io/github/license/peter-neumann-dev/css-order?color=0D9488\u0026style=for-the-badge)](LICENSE)\n\n\u003c/div\u003e\n\n---\n\n## 🚀 What it does\n\nCan be used within IDEs or code editors to sort CSS properties in a consistent order on code reformat command.\n\n## ⚙️ Setup\n\n### JetBrains IDEs\n\n1. Open the code style settings for CSS, SCSS or SASS (according to your needs)\n    - File | Settings | Editor | Code Style | Style Sheets | SCSS for Windows and Linux\n    - Your IDE | Settings | Editor | Code Style | Style Sheets | SCSS for macOS\n2. Open the tab \"Arrangement\"\n3. Select \"Custom order\"\n4. Add the CSS properties from [`css-order.txt`](css-order.txt)\n\n_Read more about [Code Style Arrangement](https://www.jetbrains.com/help/webstorm/settings-code-style-css.html) in the JetBrains documentation._\n\n\n### VS Code\n\n1. Install the [PostCSS Sorting](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-postcss-sorting) extension\n2. Add the CSS properties from [`css-order.txt`](css-order.txt) to the extension settings\n3. Override the Keybinding to perform the sorting on save\n\n```json\n[\n  {\n    \"key\": \"cmd+s\",\n    \"command\": \"runCommands\",\n    \"when\": \"resourceExtname  =~ /^.(scss|sass|css)$/\",\n    \"args\": {\n      \"commands\": [\n        \"postcssSorting.execute\",\n        \"workbench.action.files.save\"\n      ]\n    }\n  }\n]\n```\n\n_Thanks to [Sebastian Richter](https://github.com/baschte) for providing these instructions._\n\n## 💎 Credits\n\nInspired by [Concentric CSS](https://rhodesmill.org/brandon/2011/concentric-css/) from Brandon Rhodes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-neumann-dev%2Fcss-order","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter-neumann-dev%2Fcss-order","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-neumann-dev%2Fcss-order/lists"}