{"id":15047020,"url":"https://github.com/johnwatkins0/postcss-spacing-utils","last_synced_at":"2026-02-07T05:30:50.872Z","repository":{"id":57328519,"uuid":"116020228","full_name":"johnwatkins0/postcss-spacing-utils","owner":"johnwatkins0","description":"Generates spacing utility classes from user settings.","archived":false,"fork":false,"pushed_at":"2018-02-23T16:45:13.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T13:25:20.259Z","etag":null,"topics":["css","postcss"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/johnwatkins0.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":"2018-01-02T13:52:34.000Z","updated_at":"2018-02-23T16:45:14.000Z","dependencies_parsed_at":"2022-09-21T01:52:16.066Z","dependency_job_id":null,"html_url":"https://github.com/johnwatkins0/postcss-spacing-utils","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/johnwatkins0%2Fpostcss-spacing-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwatkins0%2Fpostcss-spacing-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwatkins0%2Fpostcss-spacing-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwatkins0%2Fpostcss-spacing-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnwatkins0","download_url":"https://codeload.github.com/johnwatkins0/postcss-spacing-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243451609,"owners_count":20293168,"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"],"created_at":"2024-09-24T20:53:52.840Z","updated_at":"2025-03-13T17:47:20.060Z","avatar_url":"https://github.com/johnwatkins0.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-spacing-utils\n\nGenerates spacing utility classes from user settings.\n\n## Install\n\n```\nnpm install --save-dev postcss-spacing-utils\n```\n\nOR\n\n```\nyarn add --dev postcss-spacing-utils\n```\n\n## Usage\n\nThe plugin requires a single configuration variable, `spacers`, an array of CSS sizes from which to generate spacing utils.\n\nAdd your settings to your postcss configuration, e.g.:\n\n```Javascript\nmodule.exports = {\n  plugins: {\n    'postcss-spacing-utils': {\n      // Your options, or empty to use the defaults.\n    },\n  },\n};\n```\n\n### Defaults\n\nLeave your settings empty to use the following defaults.\n\n```Javascript\n{\n    spacers: [\n        '0',\n        '.375rem',\n        '.75rem',\n        '1.5rem',\n        '2.25rem',\n        '3rem',\n        '4.5rem',\n        '6rem',\n    ],\n}\n```\n\n### Generated CSS classes\n\nThe generated classes are identical to those generated by Bootstrap 4. See [Bootstrap's documentation](https://getbootstrap.com/docs/4.0/utilities/spacing/) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnwatkins0%2Fpostcss-spacing-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnwatkins0%2Fpostcss-spacing-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnwatkins0%2Fpostcss-spacing-utils/lists"}