{"id":16295669,"url":"https://github.com/hamlim/postcss-plugin-initial","last_synced_at":"2025-03-20T04:31:06.449Z","repository":{"id":57328280,"uuid":"118520012","full_name":"hamlim/postcss-plugin-initial","owner":"hamlim","description":"PostCSS plugin to fallback initial keyword","archived":false,"fork":false,"pushed_at":"2018-01-24T02:58:29.000Z","size":107,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T14:48:58.295Z","etag":null,"topics":["css","postcss","postcss-plugins"],"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/hamlim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-01-22T21:51:20.000Z","updated_at":"2019-08-28T16:51:30.000Z","dependencies_parsed_at":"2022-09-18T17:00:50.914Z","dependency_job_id":null,"html_url":"https://github.com/hamlim/postcss-plugin-initial","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fpostcss-plugin-initial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fpostcss-plugin-initial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fpostcss-plugin-initial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fpostcss-plugin-initial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamlim","download_url":"https://codeload.github.com/hamlim/postcss-plugin-initial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244552277,"owners_count":20471044,"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-plugins"],"created_at":"2024-10-10T20:19:27.938Z","updated_at":"2025-03-20T04:31:05.881Z","avatar_url":"https://github.com/hamlim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostCSS Plugin Initial\n\n\u003cimg align=\"right\" width=\"135\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"http://postcss.github.io/postcss/logo-leftp.png\"\u003e\n\nPostCSS plugin to fallback `initial` keyword.\n\n## Installation\n\n```\nyarn add postcss-plugin-initial # or npm install postcss-plugin-initial\n```\n\n## Example\n\n```css\na {\n  animation: initial;\n  background: initial;\n  white-space: initial;\n}\np {\n  background: url(/img1.png), url(/img2.png);\n  background-repeat: initial no-repeat;\n}\n```\n\n```css\na {\n  animation: none 0s ease 0s 1 normal none running;\n  animation: initial;\n  background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n  background: initial;\n  white-space: normal;\n  white-space: initial;\n}\np {\n  background: url(/img1.png), url(/img2.png);\n  background-repeat: repeat no-repeat;\n}\n```\n\n## Options\n\n### replace\n\nTakes `boolean`.\nReplace the `initial` with the fallback instead of adding it.\nDefault value: `false`.\n\n### skipSupports\n\nTakes `boolean`.\nDoesn't change `initial` values when used within an `@supports` ruleset and the supports check includes the `initial` keyword:\n\n```css\n@supports (display: initial) {\n  .class {\n    /* Skipped if `skipSupports` is true */\n    background-color: initial;\n  }\n}\n```\n\nDefault value: `true`.\n\n## Usage\n\n```js\npostcss([\n  require('postcss-plugin-initial')({\n    replace: true,\n  }),\n])\n```\n\n## [Changelog](./CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Fpostcss-plugin-initial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamlim%2Fpostcss-plugin-initial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Fpostcss-plugin-initial/lists"}