{"id":46638284,"url":"https://github.com/tetherto/pearpass-lib-ui-theme-provider","last_synced_at":"2026-03-08T02:13:23.704Z","repository":{"id":336815573,"uuid":"1113288447","full_name":"tetherto/pearpass-lib-ui-theme-provider","owner":"tetherto","description":"PearPass is an open-source, privacy-first password manager with peer-to-peer syncing and end-to-end encryption. This repository contains shared core components used across the PearPass apps.","archived":false,"fork":false,"pushed_at":"2026-02-06T08:21:53.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":7,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-06T16:30:55.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pass.pears.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tetherto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-09T19:15:17.000Z","updated_at":"2026-02-06T08:21:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tetherto/pearpass-lib-ui-theme-provider","commit_stats":null,"previous_names":["tetherto/pearpass-lib-ui-theme-provider"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tetherto/pearpass-lib-ui-theme-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-lib-ui-theme-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-lib-ui-theme-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-lib-ui-theme-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-lib-ui-theme-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tetherto","download_url":"https://codeload.github.com/tetherto/pearpass-lib-ui-theme-provider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-lib-ui-theme-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30242406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-03-08T02:13:23.030Z","updated_at":"2026-03-08T02:13:23.678Z","avatar_url":"https://github.com/tetherto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pearpass-lib-ui-theme-provider\n\nA React theme provider library for Pearpass applications that supplies consistent colors, themes and styling capabilities across both Desktop and React Native projects.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage Examples](#usage-examples)\n- [Dependencies](#dependencies)\n- [Related Projects](#related-projects)\n\n## Features\n\n- Support for both React and React Native applications\n- Easy-to-use ThemeProvider component\n- Color class with multiple variant support\n- Styled-components integration\n\n## Installation\n\n```bash\nnpm install pearpass-lib-ui-theme-provider\n```\n\n## Usage Examples\n\n### React Web\n```jsx\nimport React from 'react';\nimport { ThemeProvider } from 'pearpass-lib-ui-theme-provider';\nimport styled from 'styled-components';\n\nconst StyledComponent = styled.div`\n    background-color: ${props =\u003e props.theme.colors.primary400.mode1};\n    color: ${props =\u003e props.theme.colors.white.mode1};\n`;\n\nfunction App() {\n    return (\n        \u003cThemeProvider\u003e\n            \u003cStyledComponent\u003e\n                This component uses the theme colors\n            \u003c/StyledComponent\u003e\n        \u003c/ThemeProvider\u003e\n    );\n}\n```\n\n### React Native\n```jsx\nimport React from 'react';\nimport { ThemeProvider } from 'pearpass-lib-ui-theme-provider/native';\nimport styled from 'styled-components/native';\n\nconst StyledComponent = styled.View`\n    background-color: ${props =\u003e props.theme.colors.primary400.mode1};\n`;\n\nconst StyledText = styled.Text`\n    color: ${props =\u003e props.theme.colors.white.mode1};\n`;\n\nfunction App() {\n    return (\n        \u003cThemeProvider\u003e\n            \u003cStyledComponent\u003e\n                \u003cStyledText\u003eThis component uses the theme colors\u003c/StyledText\u003e\n            \u003c/StyledComponent\u003e\n        \u003c/ThemeProvider\u003e\n    );\n}\n```\n\n## Dependencies\n- [styled-components](https://www.npmjs.com/package/styled-components) - peer dependency\n\n## Depended Submodules\n\nThe following sibling submodules must be present in the workspace (they are not declared as npm dependencies):\n\n- [`tether-dev-docs`](../tether-dev-docs)\n\n## Related Projects\n\n- [pearpass-app-mobile](https://github.com/tetherto/pearpass-app-mobile) - A mobile app for PearPass, a password manager\n- [pearpass-app-desktop](https://github.com/tetherto/pearpass-app-desktop) - A desktop app for PearPass, a password\n- [pearpass-lib-ui-react-native-components](https://github.com/tetherto/pearpass-lib-ui-react-native-components) - A library of React Native UI components for PearPass\n- [pearpass-lib-ui-react-components](https://github.com/tetherto/pearpass-lib-ui-react-components) - A library of React UI components for PearPass\n- [tether-dev-docs](https://github.com/tetherto/tether-dev-docs) - Documentations and guides for developers\n\n## License\n\nThis project is licensed under the Apache License, Version 2.0. See the [LICENSE](./LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetherto%2Fpearpass-lib-ui-theme-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftetherto%2Fpearpass-lib-ui-theme-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetherto%2Fpearpass-lib-ui-theme-provider/lists"}