{"id":13469693,"url":"https://github.com/Shopify/restyle","last_synced_at":"2025-03-26T07:31:02.673Z","repository":{"id":37268416,"uuid":"206762288","full_name":"Shopify/restyle","owner":"Shopify","description":"A type-enforced system for building UI components in React Native with TypeScript.","archived":false,"fork":false,"pushed_at":"2024-10-01T13:52:10.000Z","size":3894,"stargazers_count":2945,"open_issues_count":26,"forks_count":133,"subscribers_count":269,"default_branch":"master","last_synced_at":"2024-10-06T14:11:21.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://shopify.github.io/restyle/","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/Shopify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-06T09:39:03.000Z","updated_at":"2024-10-05T21:45:28.000Z","dependencies_parsed_at":"2024-01-06T07:57:22.967Z","dependency_job_id":"8b1c94ef-d257-42b8-ba84-f0bf58d0123b","html_url":"https://github.com/Shopify/restyle","commit_stats":{"total_commits":225,"total_committers":44,"mean_commits":5.113636363636363,"dds":0.5911111111111111,"last_synced_commit":"9610aaced535ad82045aa4f6a9e8c825545f58b7"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Frestyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Frestyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Frestyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Frestyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shopify","download_url":"https://codeload.github.com/Shopify/restyle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222121829,"owners_count":16934973,"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-07-31T15:01:51.193Z","updated_at":"2024-10-29T22:31:24.309Z","avatar_url":"https://github.com/Shopify.png","language":"TypeScript","readme":"![Restyle Image](./Restyle.png)\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://shopify.github.io/restyle/\"\u003eGetting started\u003c/a\u003e •\n\u003ca href=\"https://shopify.github.io/restyle/#installation\"\u003eInstallation\u003c/a\u003e •\n\u003ca href=\"https://github.com/Shopify/restyle/tree/master/fixture\"\u003ePlayground\u003c/a\u003e •\n\u003ca href=\"https://discord.gg/k2gzABTfav\"\u003eDiscord\u003c/a\u003e\n\u003c/br\u003e\u003c/br\u003e\n\n**Build a consistent, themed UI in minutes.**\n\u003c/br\u003e\n\u003c/br\u003e\n\n![RestyleTheme 2020-02-25 17_43_51](https://user-images.githubusercontent.com/688415/75268245-91084b80-57f7-11ea-905b-2a9046aa5ca3.gif)\n\u003c/br\u003e\n\u003c/br\u003e\n\n\u003c/div\u003e\n\nThe Restyle library provides a type-enforced system for building UI components in React Native with TypeScript. It's a library for building UI libraries, with themability as the core focus.\n\nThis library assumes that the UI is built upon a design system that (at the very least) defines a set of colors and spacing constants that lays as a foundation. While the library acknowledges that there can be exceptions to the system by allowing any style to be overridden, it keeps the developer most productive when one-off values are kept to a minimum.\n\n## Installation\n\nAdd the package to your project using one of the following:\n\n```bash\nyarn add @shopify/restyle\n```\n\n```bash\nnpm install @shopify/restyle\n```\n\n```bash\nnpx expo install @shopify/restyle\n```\n\n## Usage\n\nSee [Usage](https://shopify.github.io/restyle/#usage) in the documentation, or see below for the fixture app.\n\n## App / Playground\n\nThe [fixture](https://github.com/Shopify/restyle/tree/master/fixture) is an example app to showcase the library's usage.\n\n## Running the Documentation site locally\n\nTo run the Documentation site locally, please follow the steps below:\n\n1. `cd documentation`\n2. `yarn`\n3. `yarn start`\n4. Go to http://localhost:3000/restyle/\n\n## Migrating to restyle v2\n\nRead more about migration to v2 [here](https://shopify.github.io/restyle/guides/migrating-to-v2)\n\n## Inspiration\n\nRestyle is heavily inspired by [https://styled-system.com](https://styled-system.com/).\n\n## Contributing\n\nFor help on setting up the repo locally, building, testing, and contributing\nplease see [CONTRIBUTING.md](https://github.com/Shopify/restyle/blob/master/CONTRIBUTING.md).\n\n## Code of Conduct\n\nAll developers who wish to contribute through code or issues, take a look at the\n[CODE_OF_CONDUCT.md](https://github.com/Shopify/restyle/blob/master/CODE_OF_CONDUCT.md).\n\n## License\n\nMIT, see [LICENSE.md](https://github.com/Shopify/restyle/blob/master/LICENSE.md) for details.\n\n\u003cimg src=\"https://cdn.shopify.com/shopify-marketing_assets/builds/19.0.0/shopify-full-color-black.svg\" width=\"200\" /\u003e\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShopify%2Frestyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FShopify%2Frestyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShopify%2Frestyle/lists"}