{"id":21721358,"url":"https://github.com/informaticsmatters/squonk-react-mui-theme","last_synced_at":"2025-04-12T21:33:50.463Z","repository":{"id":37789597,"uuid":"383188909","full_name":"InformaticsMatters/squonk-react-mui-theme","owner":"InformaticsMatters","description":"Material UI theme used in Squonk's React applications","archived":false,"fork":false,"pushed_at":"2025-01-20T22:13:44.000Z","size":564,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T15:47:59.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/InformaticsMatters.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2021-07-05T15:37:23.000Z","updated_at":"2025-01-20T22:13:47.000Z","dependencies_parsed_at":"2023-11-16T23:51:52.486Z","dependency_job_id":"eb9d1a1d-ca64-4cf3-abf6-db1083156a22","html_url":"https://github.com/InformaticsMatters/squonk-react-mui-theme","commit_stats":{"total_commits":61,"total_committers":1,"mean_commits":61.0,"dds":0.0,"last_synced_commit":"cab9edbbef0d6528130d322acd0e8db445239ab1"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fsquonk-react-mui-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fsquonk-react-mui-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fsquonk-react-mui-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fsquonk-react-mui-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InformaticsMatters","download_url":"https://codeload.github.com/InformaticsMatters/squonk-react-mui-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248636815,"owners_count":21137527,"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-11-26T02:16:01.410Z","updated_at":"2025-04-12T21:33:50.454Z","avatar_url":"https://github.com/InformaticsMatters.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Material-UI themes for Squonk applications. Can be used independently with just Material-UI or with Emotion of Styled-Components.\n\n## Examples\n\n### Material UI\n\nThe colour scheme provides both a light and a dark theme. Mui v6 will automatically switch between schemes via media queries, taking into account the users system preference.\n\n```tsx\nimport React from 'react';\n\nimport { CssBaseline } from '@material-ui/core';\nimport { StylesProvider, ThemeProvider as MuiThemeProvider } from '@material-ui/core/styles';\n\nimport theme from '@squonk/mui-theme';\n\nexport const App = () =\u003e {\n  return (\n    \u003cStylesProvider injectFirst\u003e\n      \u003cCssBaseline /\u003e\n      \u003cMuiThemeProvider theme={theme}\u003e\n        {...}\n      \u003c/MuiThemeProvider\u003e\n    \u003c/StylesProvider\u003e\n  );\n};\n```\n\n### Emotion\n\nWrap the previous example with the theme provider from emotion.\n\n```tsx\nimport { ThemeProvider } from '@emotion/react';\n\n\u003cThemeProvider theme={theme}\u003e{...}\u003c/ThemeProvider\u003e\n```\n\n### Styled Components\n\n```tsx\nimport { ThemeProvider } from 'styled-components';\n\n\u003cThemeProvider theme={theme}\u003e{...}\u003c/ThemeProvider\u003e\n```\n\n# Publishing a new Version\n\nWith made changes committed and pushed:\n\n1. Run `pnpm release`. This builds a `dist` with the `publishConfig` merged in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformaticsmatters%2Fsquonk-react-mui-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformaticsmatters%2Fsquonk-react-mui-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformaticsmatters%2Fsquonk-react-mui-theme/lists"}