{"id":15292564,"url":"https://github.com/tone-row/tonami","last_synced_at":"2025-04-13T11:12:02.238Z","repository":{"id":46680271,"uuid":"377933399","full_name":"tone-row/tonami","owner":"tone-row","description":"CSS-in-JS library with a familiar API that uses CSS custom properties under the hood","archived":false,"fork":false,"pushed_at":"2021-09-30T13:35:16.000Z","size":874,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T01:13:31.468Z","etag":null,"topics":["css-in-js","css-in-react","react","styled-components"],"latest_commit_sha":null,"homepage":"https://tonami.dev","language":"TypeScript","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/tone-row.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["tone-row"],"open_collective":"tone-row"}},"created_at":"2021-06-17T18:57:48.000Z","updated_at":"2024-12-20T03:15:54.000Z","dependencies_parsed_at":"2022-09-10T15:20:33.649Z","dependency_job_id":null,"html_url":"https://github.com/tone-row/tonami","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Ftonami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Ftonami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Ftonami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Ftonami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tone-row","download_url":"https://codeload.github.com/tone-row/tonami/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248644325,"owners_count":21138579,"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-in-js","css-in-react","react","styled-components"],"created_at":"2024-09-30T16:18:47.794Z","updated_at":"2025-04-13T11:12:02.216Z","avatar_url":"https://github.com/tone-row.png","language":"TypeScript","funding_links":["https://github.com/sponsors/tone-row","https://opencollective.com/tone-row"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Tonami\n\nCSS-in-JS library with a familiar API that uses CSS custom properties under the hood\n\n[![version][version-badge]][package]\n![downloads per month][downloads]\n![gzipped size][size]\n![test coverage][coverage]\n\n\u003c/div\u003e\n\n\u003e 🚨 **Warning**\n\u003e\n\u003e Until we reach v1.0.0 the API still may change.\n\n## Get Started\n\n```bash\nyarn add tonami\n```\n\n## Documentation\n\nhttps://tonami.dev\n\n## Example\n\n```jsx\nimport { createTokens, styled, createGlobalStyle } from \"tonami\";\n\nconst theme = createTokens({\n  fontFamily: \"Helvetica\",\n  borderRadius: \"3px\",\n});\n\nconst Global = createGlobalStyle({\n  html: {\n    fontFamily: theme.fontFamily,\n  },\n});\n\nconst Banner = styled.div({\n  borderRadius: theme.borderRadius,\n  backgroundColor: ({ $color }) =\u003e $color,\n});\n\nconst { Tokens } = theme;\n\nfunction App() {\n  return (\n    \u003c\u003e\n      \u003cTokens /\u003e\n      \u003cGlobal /\u003e\n      \u003cBanner $color=\"lightgreen\"\u003eWelcome!\u003c/Banner\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n## Issues\n\nPlease file an issue for bugs or unexpected behavior.\n\n## Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍.\n\n## Publishing while \u003c 1.0.0\n\n- If on main, run `npm version 0.5.5`, otherwise run `npm version 0.5.5-beta.1`\n- **Don't forget** to run `yarn build`\n- If on main, run `git push \u0026\u0026 git push origin v0.5.5`, otherwise just push to your branch\n- If on main, run `npm publish`, otherwise run `npm publish --tag beta`\n\n## License\n\nMIT\n\n\u003c!-- prettier-ignore-start --\u003e\n[version-badge]: https://img.shields.io/npm/v/tonami?style=flat-square\n[package]: https://www.npmjs.com/package/tonami\n[downloads]: https://img.shields.io/npm/dm/tonami?style=flat-square\n[size]: https://img.shields.io/bundlephobia/minzip/tonami?style=flat-square\n[coverage]: https://img.shields.io/codecov/c/github/tone-row/tonami?style=flat-square\n\u003c!-- prettier-ignore-end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftone-row%2Ftonami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftone-row%2Ftonami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftone-row%2Ftonami/lists"}