{"id":19718966,"url":"https://github.com/r3-dev/brand","last_synced_at":"2025-10-13T02:05:57.172Z","repository":{"id":177339661,"uuid":"660177794","full_name":"r3-dev/brand","owner":"r3-dev","description":"r3-dev icons, badges and colors usage guidelines","archived":false,"fork":false,"pushed_at":"2023-07-05T09:04:12.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-27T23:16:33.509Z","etag":null,"topics":["brand","web-components"],"latest_commit_sha":null,"homepage":"https://r3-dev.github.io/brand/","language":"HTML","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/r3-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-06-29T12:19:01.000Z","updated_at":"2023-11-28T11:32:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb9b07f2-8e23-4497-82fe-80d93241a0d1","html_url":"https://github.com/r3-dev/brand","commit_stats":null,"previous_names":["crashmax-dev/r3dev-brand"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/r3-dev/brand","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3-dev%2Fbrand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3-dev%2Fbrand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3-dev%2Fbrand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3-dev%2Fbrand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r3-dev","download_url":"https://codeload.github.com/r3-dev/brand/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3-dev%2Fbrand/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014003,"owners_count":26085343,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["brand","web-components"],"created_at":"2024-11-11T23:05:15.489Z","updated_at":"2025-10-13T02:05:57.167Z","avatar_url":"https://github.com/r3-dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# R3 dev brand\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://www.upwork.com/o/companies/~01e5f1563365e3c1b5/\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://r3-dev.github.io/brand/badge-light.svg\"\u003e\n      \u003cimg src=\"https://r3-dev.github.io/brand/badge-dark.svg\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://www.npmjs.com/package/@r3-dev/badge\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/@r3-dev/badge\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/r3-dev/brand/actions\"\u003e\n    \u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/r3-dev/brand/gh-pages.yaml?branch=master\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\n```\nnpm install @r3-dev/badge\n```\n\n```\nyarn add @r3-dev/badge\n```\n\n```\npnpm add @r3-dev/badge\n```\n\n## Usage in React/Next.js\n\n[![Edit @r3-dev/badge](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/r3-dev-badge-z6f766?fontsize=14\u0026hidenavigation=1\u0026theme=dark)\n\n```tsx\n// components/badge.tsx\nimport '@r3-dev/badge'\n\ndeclare global {\n  namespace JSX {\n    interface IntrinsicElements {\n      'r3-badge': React.DetailedHTMLProps\u003c\n        React.AnchorHTMLAttributes\u003cHTMLAnchorElement\u003e,\n        HTMLAnchorElement\n      \u003e\n    }\n  }\n}\n\nexport default function Badge() {\n  return (\n    \u003cr3-badge\n      href=\"https://www.upwork.com/agencies/~01e5f1563365e3c1b5/\"\n      style={{ position: 'fixed', top: '1rem', right: '1rem' }}\n    /\u003e\n  )\n}\n\n// _app.tsx\nimport dynamic from 'next/dynamic'\nimport type { AppProps } from 'next/app'\n\nconst Badge = dynamic(() =\u003e import('../components/badge'), {\n  ssr: false\n})\n\nexport default function App({\n  Component,\n  pageProps: { ...pageProps }\n}: AppProps) {\n  return (\n    \u003c\u003e\n      \u003cBadge /\u003e\n      \u003cComponent {...pageProps} /\u003e\n    \u003c/\u003e\n  )\n}\n```\n\n# CDN\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003c!-- import badge from CDN --\u003e\n    \u003cscript src=\"https://cdn.jsdelivr.net/npm/@r3-dev/badge\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003c!-- render badge --\u003e\n    \u003cr3-badge\n      href=\"https://www.upwork.com/agencies/~01e5f1563365e3c1b5/\"\n      style=\"position: fixed; top: 1rem; right: 1rem;\"\n    \u003e\u003c/r3-badge\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Overriding styles\n\n```css\nr3-badge {\n  /* default colors */\n  /* --bg-badge: #000; */\n  --text-badge: #fff;\n  --bg-logo: #00a621;\n  --text-logo: #fff;\n\n  /* override */\n  --bg-badge: darkblue;\n\n  /* light shadow */\n  filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.5));\n\n  /* dark shadow */\n  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.5));\n}\n\n/* dark mode */\n@media (prefers-color-scheme: dark) {\n  r3-badge {\n    --bg-badge: #fff;\n    --text-badge: #000;\n  }\n}\n\n/* light mode */\n@media (prefers-color-scheme: light) {\n  r3-badge {\n    --bg-badge: #000;\n    --text-badge: #fff;\n  }\n}\n```\n\n## Markdown\n\n![Dark Badge](https://r3-dev.github.io/brand/badge-dark.svg)\n![Light Badge](https://r3-dev.github.io/brand/badge-light.svg)\n\n```markdown\n\u003ca href=\"https://www.upwork.com/o/companies/~01e5f1563365e3c1b5/\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://r3-dev.github.io/brand/badge-light.svg\"\u003e\n    \u003cimg src=\"https://r3-dev.github.io/brand/badge-dark.svg\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr3-dev%2Fbrand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr3-dev%2Fbrand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr3-dev%2Fbrand/lists"}