{"id":15043376,"url":"https://github.com/zacanger/styled-reset","last_synced_at":"2025-04-08T09:12:53.541Z","repository":{"id":22616741,"uuid":"96843886","full_name":"zacanger/styled-reset","owner":"zacanger","description":"Eric Meyer's Reset CSS for styled-components","archived":false,"fork":false,"pushed_at":"2024-06-16T16:25:56.000Z","size":2358,"stargazers_count":392,"open_issues_count":0,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-07T11:02:02.429Z","etag":null,"topics":["css","css-reset","reset","reset-css","styled","styled-components"],"latest_commit_sha":null,"homepage":"http://npm.im/styled-reset","language":"TypeScript","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/zacanger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-11T02:53:50.000Z","updated_at":"2025-04-07T06:23:11.000Z","dependencies_parsed_at":"2024-06-18T12:32:38.392Z","dependency_job_id":null,"html_url":"https://github.com/zacanger/styled-reset","commit_stats":{"total_commits":233,"total_committers":9,"mean_commits":25.88888888888889,"dds":0.05579399141630903,"last_synced_commit":"6c717764098f051a058c2f972477e57170190ba8"},"previous_names":[],"tags_count":91,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacanger%2Fstyled-reset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacanger%2Fstyled-reset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacanger%2Fstyled-reset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacanger%2Fstyled-reset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacanger","download_url":"https://codeload.github.com/zacanger/styled-reset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"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","css-reset","reset","reset-css","styled","styled-components"],"created_at":"2024-09-24T20:48:56.519Z","updated_at":"2025-04-08T09:12:53.515Z","avatar_url":"https://github.com/zacanger.png","language":"TypeScript","readme":"# styled-reset\n\n[Donate](https://ko-fi.com/zacanger)\n\n[![npm version](https://img.shields.io/npm/v/styled-reset.svg)](https://npm.im/styled-reset) [![CircleCI](https://circleci.com/gh/zacanger/styled-reset.svg?style=svg)](https://circleci.com/gh/zacanger/styled-reset)\n\nEric Meyer's [Reset CSS](https://meyerweb.com/eric/tools/css/reset/) for [styled-components](https://github.com/styled-components/styled-components)\n\nAlso see [styled-normalize](https://www.npmjs.com/package/styled-normalize) from [Sergey Sova](https://github.com/sergeysova).\n\n--------\n\n## Installation:\n\n`npm i styled-reset`\n\n## Usage:\n\n### Styled Components 4+\n\n```jsx\nimport * as React from 'react'\nimport { Reset } from 'styled-reset'\n\nconst App = () =\u003e (\n  \u003cReact.Fragment\u003e\n    \u003cReset /\u003e\n    \u003cdiv\u003eHi, I'm an app!\u003c/div\u003e\n  \u003c/React.Fragment\u003e\n)\n```\n\nYou can also use the default export or named export (lowercase) in your own\nglobal style:\n\n```jsx\nimport * as React from 'react'\nimport { createGlobalStyle } from 'styled-components'\nimport reset from 'styled-reset'\n\nconst GlobalStyle = createGlobalStyle`\n  ${reset}\n  /* other styles */\n`\n\nconst App = () =\u003e (\n  \u003cReact.Fragment\u003e\n    \u003cGlobalStyle /\u003e\n    \u003cdiv\u003eHi, I'm an app!\u003c/div\u003e\n  \u003c/React.Fragment\u003e\n)\n\nexport default App\n```\n\n### Styled Components 3.x\n\nIf you're using Styled Components version 3.x or 2.x, you'll need to use the\n`injectGlobal` api instead (and install `styled-reset@1.7.1`):\n\n```javascript\nimport { injectGlobal } from 'styled-components'\nimport reset from 'styled-reset'\ninjectGlobal`\n  ${reset}\n`\n```\n\n`reset` is also available as a named export:\n\n```javascript\nimport { reset } from 'styled-reset'\n```\n\n## Credits\n\nAll credit goes to Eric Meyer for reset.css. reset.css is public domain (unlicensed).\n\n[LICENSE](./LICENSE.md)\n","funding_links":["https://ko-fi.com/zacanger"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacanger%2Fstyled-reset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacanger%2Fstyled-reset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacanger%2Fstyled-reset/lists"}