{"id":27388602,"url":"https://github.com/builderhub-platform/mui-theme","last_synced_at":"2025-04-13T18:45:56.096Z","repository":{"id":65663823,"uuid":"596837703","full_name":"builderhub-platform/mui-theme","owner":"builderhub-platform","description":"Builderhub Platform Material UI Theme","archived":false,"fork":false,"pushed_at":"2025-04-11T18:10:08.000Z","size":106,"stargazers_count":0,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T19:29:22.262Z","etag":null,"topics":["material-ui","nextjs","react","theme-provider"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@builderhub/mui-theme","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/builderhub-platform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2023-02-03T02:57:30.000Z","updated_at":"2024-10-29T22:07:03.000Z","dependencies_parsed_at":"2023-10-16T04:10:34.600Z","dependency_job_id":"87933d4f-09c6-4187-8689-604179a5949c","html_url":"https://github.com/builderhub-platform/mui-theme","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"794bbfb5c0e2c4369ef1798e1232ec31d4752f75"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builderhub-platform%2Fmui-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builderhub-platform%2Fmui-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builderhub-platform%2Fmui-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builderhub-platform%2Fmui-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/builderhub-platform","download_url":"https://codeload.github.com/builderhub-platform/mui-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248765744,"owners_count":21158294,"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":["material-ui","nextjs","react","theme-provider"],"created_at":"2025-04-13T18:45:55.404Z","updated_at":"2025-04-13T18:45:56.089Z","avatar_url":"https://github.com/builderhub-platform.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @builderhub/mui-theme\n\n[![Publish Package to npmjs](https://github.com/eunchurn/mui-theme/actions/workflows/publish.yml/badge.svg)](https://github.com/eunchurn/mui-theme/actions/workflows/publish.yml) ![npm](https://img.shields.io/npm/dw/@builderhub%2Fmui-theme) ![npm](https://img.shields.io/npm/v/@builderhub/mui-theme?color=%2357C754\u0026label=npm%20version) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nBuilderhub Platform Material UI Theme\n\n- Custom colors\n- Custom breakpoint\n- Custom typography\n- Custom MuiCssBaseline\n\nReact.js 혹은 Next.js 프로젝트에서 Builderhub UI/UX 팀에서 정의한 Color scheme과 breakpoint 등을 정의한 Material UI `ThemeProvider`를 사용합니다.\n\n### Peer Dependencies\n\n- `react@^18`\n- `react-dom@^18`\n- `@mui/material^5`\n\n## Installation\n\n- npm\n\n```zsh\nnpm i @builderhub/mui-theme\n```\n\n- yarn\n\n```zsh\nyarn add @builderhub/mui-theme\n```\n\n- pnpm\n\n```zsh\npnpm add @builderhub/mui-theme\n```\n\n## Usage\n\n```tsx\nimport React from \"react\";\nimport { BuilderhubThemeProvider } from \"@builderhub/mui-theme\";\n\nexport function Wrapped() {\n  return (\n    \u003cBuilderhubThemeProvider\u003e\n      \u003cApp /\u003e\n    \u003c/BuilderhubThemeProvider\u003e\n  );\n}\n```\n\n### 기존 `colors`를 수정하는 방법\n\n```tsx\n- import { colors } from \"context\";\n+ import { useTheme } from \"@mui/material\";\n\n// ...omitted\nfunction Component() {\n  const { palette } = useTheme();\n\n  - const oldColor = colors.purple_10;\n  + const newColor = palette.purple_10;\n}\n```\n\n### `styled` 에서 사용\n\n```tsx\nimport { styled, Button } from \"@mui/material\";\n\nexport const CustomButton = styled(Button)(({ theme }) =\u003e ({\n  border: 0,\n  background: theme.palette.purple_10,\n  width: \"5rem\",\n  height: \"2rem\",\n  borderRadius: theme.shape.borderRadius,\n}));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuilderhub-platform%2Fmui-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuilderhub-platform%2Fmui-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuilderhub-platform%2Fmui-theme/lists"}